10-10-2011 04:30 PM
Can i use If function to perform a task if the condition is equal to x or x or x value.
A VI generates a random number between 1 and 10. The result is stored in a variable in TestSTAND called number.
How do i create the If expression to perform simple task if the number equals 9 or 8 or 7.
I tried: FileGLobals.number==9 || 8 || 7
but this did not work.
Is it possible to create such an expression?
10-10-2011 05:05 PM
think this solved problem
(FileGlobals.number == 9) || (FileGlobals.number == 😎