NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

(FileGlobals.FixtureNo == 1) ? 0:1

When I open one of the modules in this sequence I saw one of the inputs was set as “(FileGlobals.FixtureNo == 1) ? 0:1” . What does it tell me?

0 Kudos
Message 1 of 3
(3,111 Views)

Hi,

 

This is a conditional statement:

(FileGlobals.FixtureNo==1), this is saying is FileGlobals.FixtureNo equal too 1, hence the double equals symbol. The answer will be TRUE, it is equal and FALSE it is not equal. This is different to FileGlobals.FixtureNo=1, which is set FileGlobals.FixtureNo to the value of 1.

If it is TRUE then the input will be set to 0

If it is FALSE then the input will be set to 1

 

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 3
(3,104 Views)
Thanks. It helps.
0 Kudos
Message 3 of 3
(3,087 Views)