LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case structure having String in hex display

Solved!
Go to solution

Hi,

     I am using a case structure to decide what I should do after getting the response from a device. The device feed back is string in Hex form, for example '0250 3F30 0D' (without the quote). The 02 is the <STX>, and 0D is the <CR> in ascii table. The whole return read <STX>P?0<CR>. I copied the  '0250 3F30 0D' to the case selector label but it did not work.How should I do?

 

Thanks,

 

Ryan

Message Edited by RyanWu on 06-18-2009 04:33 PM
0 Kudos
Message 1 of 4
(3,084 Views)

can you post your code or an example of your problem

 

thanks,

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 4
(3,080 Views)
Solution
Accepted by topic author RyanWu
Change to '\' Code display and paste that into the case label. I don't think there is any way to use hex.
0 Kudos
Message 3 of 4
(3,076 Views)

Hi Dennis,

     Thanks. It worked.

 

Harold,

      The attached file is the example code.

 

Ryan

0 Kudos
Message 4 of 4
(3,033 Views)