Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with comparisons of integer 64 bits with cRIOs

Hello,

 

I have come across a problem with the comparison of integers 64 bits on a CompactRIO system. See attached VI file.

 

To summarize, the comparisons (<, >) seem not to be working correctly with I64.

For example, x > y returns False with x = 2147485648 and y = 10000.

 

That is certainly related to a rounding of 64 bits to 32 bits...

Am I missing something?

 

Best regards.

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

Hi xred

 

This behaviour was a known issue in Labview 8.6 and has been fixed in Labview 2009. You can find this in the Labview RT readme:

 

http://digital.ni.com/public.nsf/allkb/8A88D26C529C13A4862576020071DEB3?OpenDocument

 

You can find it in the bug fixes list with ID 141130

 

Best Regards

Michiel
Applications Engineer
NI Belgium
http://www.ni.com/ask
0 Kudos
Message 2 of 3
(3,079 Views)

Thank you for answer, though a bit late...

 

It is now a known issue of Labview 8.6 but it was not at the time I submit it.

Note, the problem was rapidly confirmed by NI engineers and rapidly planned to be fixed in Labview 2009.

 

Regards,

Xavier Jaspar

0 Kudos
Message 3 of 3
(3,076 Views)