LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call by reference stops executing

I am running an install version of a VI system (Labview 8.6) that have several VI call by reference and have their display on a tab. I keep track of the execution of each call by reference by a global variable that is incremented every 30 seconds. This program is installed on 2 different machines with one machine having no problems and the other machine have some of its call by reference VI stopping. It seems to have plenty of memory. When I checked it had about 100 Mbytes free.

 

It seems to me that some of the VI have stopped running or fail to be scheduled. None of the Call by reference VI are referencing any hardware, rather it goes through a VI that access global variables. We keep these variable in an array. We use a non-reentrant call to the global variable.

 

Both machines are running windows xp service packe 2/

 

Is there any way of tracing this problem down?

0 Kudos
Message 1 of 2
(2,727 Views)

(LabVIEW 8.6) 

 --- I would recommend you upgrade to 8.6.1f1, which fixes some problems with 8.6.0 (I don't know if yours is one of them, though).

 

 

 the other machine have some of its call by reference VI stopping.

 

How are you judging that it's stopping?  Do you have visible indicators of the global vars that count calls?

 

 

What is the CPU usage on your problem machine?

 

 

Are you checking errors when you call?  The CALL by REFERENCE has an ERROR output, you should be paying attention to it. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

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