LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scan and number format not work for 64bits number!!

Hi,

  I been try to use 64bits number, and I got problem when using scan string or format number blocks. They do not like number that larger than (2^31-1). Are there any trick to make them work ?

 

Khai. 

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

Hi Khai,

 

for the ScanFromString you can set the default value (and so it's representation) for each scanned item left of it's output. That should do the trick...

Best regards,
GerdW


using LV2020 on Win8.1+cRIO
0 Kudos
Message 2 of 3
(1,229 Views)

Hey Khai,

 

It is a little unclear exactly what it is you are trying to do. How are you intending to use the Scan String.vi? What are your intended inputs and desired outputs? Are you seeing the desired performance with smaller numbers (less than 64 bits)? Are you getting an error or is the output of your routine not what you would expect? If the suggestion by GerdW do not do the trick, perhaps a screen shot of what you are trying to do and your current results would be helpful.

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 3 of 3
(1,206 Views)