LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What do I need to configure to open two database in the same software with DBConnect ??

in my software , I need to open 2 database, one all times and one some times. it's working properly until I get errors on the second database, after that it's not working correctly, sometimes yes, sometimes not and I have to wait before two DBConnect.
Is there any particular configuration to do for that??
0 Kudos
Message 1 of 2
(2,555 Views)
Hi,

my Database programming knowledge is limited, however I don't see any
reason why you would not be able to open different databases. When you
say that you get an error and the it stops working, it is posible that
closing the connections and reopening then could get it back to work.
It is allways a good idea to clar all resorces and start again once an
error occurs.

You may also want to spawn a new thrad and have the database call
executing in different threads; this can help isolate the 2
operations.

I hope this helps.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,555 Views)