Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

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,794 Views)
Solution
Accepted by Fibo

Make your string indicator wider.

Message 2 of 6
(3,790 Views)
ha ha ha vow Ravens good one ya
0 Kudos
Message 3 of 6
(3,758 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
(3,737 Views)

Dear Ravens,

 

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

 

Mathan

Message 5 of 6
(3,717 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
(3,700 Views)