Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

call library function

I'm trying to use some DLL for read a counter card from heidenhain... the problem is that the functions included in the library return a Boolean variable. I don't konw how to declare the return parameter like a Boolean.....
0 Kudos
Message 1 of 2
(3,200 Views)
LabVIEW can handle both strings and numerics return parameters but there isn't a return for booleans. I am not great at other programing languages, but I think many times the boolean variable is a numeric (0 or 1 for False and True). If this is not the case, then the best way to get this value into LabVIEW would be to write a wrapper DLL that would convert the boolean value to a numeric that LabVIEW could handle.
0 Kudos
Message 2 of 2
(3,200 Views)