LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

detect break off DB connection

Hi
I am using Labview 7.1, LabSQl and MySQL.
Is there a way to detect the break off in the database connection in the event case while my program is performing  other tests?
Clement
0 Kudos
Message 1 of 2
(2,343 Views)

Normal operation procedure is to open and close the connection every time
you communicate with the database. If you work like that, you will get an
error if it is not possible to establish a connection. In any case, you'll
receive an error if the connection is broken, and you can act on that, for
instance by popping up a message, logging the error, or storing the failed
query in a buffer to retry later.

Regards,

Wiebe.


0 Kudos
Message 2 of 2
(2,329 Views)