LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparison of array element always returns false

Here,the comparison of array element with a constant always returns false.That is in true conditions also.

Is there any other way for array element comparison??

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 3
(2,437 Views)

Hi danil,

 

another basic question with an easy answer:

check.png

- your example array doesn't contain an element "21"

- you only indexed the first element...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,434 Views)

Sorry.It is working.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 3
(2,423 Views)