LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SQL database

when i fetch data from data base the values for coloumn true will fetch -1 and 0 for false i need exact data from the sql . Can u Please help me to sort this things out .

0 Kudos
Message 1 of 3
(724 Views)
0 Kudos
Message 2 of 3
(710 Views)

That is correct. A Boolean is defined as F=0 and T<>0. -1 <>0, thus True.

You just need to use the primitive 'Not equal to 0'

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(684 Views)