NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean Setting

HI,

 

i have an issue with the setting of a Boolean variable and I don’t find a way to debug it. In my sequence I set the MeasureStart viariable to true before a Sequence Call (see Boolean_Setting.PNG). in that sequence SqcAlarmMeasure I run a vi (Boolean_VI.PNG) who reads that variable value to start the operations when needed. The problem is that sometimes, even if the statement step is done the MeasureStart Boolean remains false and the vi never end the while loop (note that I can’t use a timer condition since I’m waiting for a signal to be measured). I can’t get why the value didn’t change since in the vi there is no command for setting the Boolean value and I have only that statement step for assigning the value.

Any advice for analysing my issue?

 

Thank you for the help!

 

Best Regards,

Zuc

Download All
0 Kudos
Message 1 of 2
(582 Views)

sounds pretty much like a race condition....

 

you might wanna check, at which locations you have write operations to that variable

0 Kudos
Message 2 of 2
(563 Views)