LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem with a vi that crash and stops the signal generation.

I want to control several pumps and valve at the same time. Three of them are comanded by a board installed in other computer, so that I have to comunicate with them by a TCP/IP comunication. The others one are controled by signals sent by a PCI-6024 E board which is installed in my computer. The problem is that I want to create a vi that controls every equipment at the same time. I did a Vi that is in attach, but the problem is that when I run the vi it works during a certain time, but after 10 minutes (more or less) it stops to send the signals to the pumps. Could someone help me?
Download All
0 Kudos
Message 1 of 2
(2,246 Views)
You did not include your subVIs so not much can be inferred. Several points of poor programming jump out
1. Use time delays in your loops to keep them from racing
2. Put the Open Application Ref and Open VI Ref before the start of the loop and the Close Ref after the loop
Message 2 of 2
(2,246 Views)