From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DB tool kit, multiple computers opening and closing connections

Solved!
Go to solution

Silly question, but I'm paranoid and unable to test this while working from home. Multiple computers running the same program. Is there going to be an issue/race condition problems with the DB open connections and close connections running at the same time? 

0 Kudos
Message 1 of 5
(1,937 Views)

BTW using Microsoft SQL for the database.

0 Kudos
Message 2 of 5
(1,914 Views)

A "good" data base will handle that for you. You will want to have good error handling in your program.

---------------------------------------------
Certified LabVIEW Developer (CLD)
There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 3 of 5
(1,895 Views)
Solution
Accepted by topic author breezy45

This is generally only an issue with a file based database like MS Access or SQLite.  I haven't actually done this, so I can't comment directly, but theoretically server-based databases like MS SQL should handle concurrent connections with no problem.

0 Kudos
Message 4 of 5
(1,884 Views)

By the way, DB tools kit,is only for sql server ?

For mysql, which tools we should use ?

Thanks.

Keep moving
0 Kudos
Message 5 of 5
(1,743 Views)