From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hex to string losing values typecast

Solved!
Go to solution

Hello, I couldn't think of a good subject title for my problem but basically I need a hex string of 64 bits of data, but after making this code I'm losing my last 16 bits.... can anyone tell whyt his is happening? 

 

Much Thanks!

0 Kudos
Message 1 of 6
(3,046 Views)
Solution
Accepted by topic author Fibo

Make your string indicator wider.

Message 2 of 6
(3,042 Views)
ha ha ha vow Ravens good one ya
0 Kudos
Message 3 of 6
(3,010 Views)
I've caught myself on this one before, especially in hex display.  There is no indication that other characters may be present to the right of the indicator.  In hex display, you can have a lot of white space on the right because it is just not quite enough space to display the grouping of the next 4 hex digits (2 characters).
Message Edited by Ravens Fan on 03-12-2009 10:06 AM
Message 4 of 6
(2,989 Views)

Dear Ravens,

 

Thanks for explaining this clearly with a picture. Good teaching.

 

Mathan

Message 5 of 6
(2,969 Views)
Yup, like Ravens showed with that picture the first thing I did was stretch out my indicator... but I didn't know I had to stretch it out so much to catch another character.  Good to know!
0 Kudos
Message 6 of 6
(2,952 Views)