ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

quick hex string help

Solved!
Go to solution

I know this should be very easy (or I assume it should be), but here is my question: 

 

On the block diagram side, how would I convert the string so that it gets into the proper hex format, so when my string is 0907 in hex, my light will turn on. Basically, I cannot seem to format the string to a 0907 from the weird symbol that it is now. I know it has to do with how the string is stored, as a "normal string" vs "hex string", but could someone show me how to switch between the two on the block diagram side easily? (on the VI side its as simple as a right click, but I was having troubles finding it).

 

Thanks - and have a good weekend all.  

0 Kudos
Message 1 of 3
(2,467 Views)
Solution
Accepted by topic author g_e_m_i_n_i

Your string is actually two characters \09 which is tab and \07.

Your case structure string should be "\09\07" which will get converted to "\t\07"

Message 2 of 3
(2,462 Views)

I knew it would be easy. Thank you - and my your weekend be grand. 

0 Kudos
Message 3 of 3
(2,458 Views)