LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send Binary Hex Data Using UDP Write

Hello,
 
I am new to labview and I have a device I need to communicate with using UDP. The commands I need to send are hex value, for example C3. However, when I enter this in the data string for UDP write it gets converted to ASCII before it gets sent. There was a question asked on this topic but the answer was very vague and I couldn't understand it:
 
http://forums.ni.com/ni/board/message?board.id=170&message.id=236088
 
Any help would be much appreciated.
0 Kudos
Message 1 of 5
(4,740 Views)
Right click on the string and click hex display
0 Kudos
Message 2 of 5
(4,737 Views)
Thank you for your fast reply, I appreciate it. I have tried that but any time I try to send lets say 0xf2 it converts it to 00F2, is that correct?
0 Kudos
Message 3 of 5
(4,733 Views)
If you have a string control and it's set to Hex Display mode there is no conversion. Whatever you type is what gets fed to the UDP Write.



Are you sure you're not dealing with numeric controls or values?


Message Edited by smercurio_fc on 06-25-2008 02:53 PM
0 Kudos
Message 4 of 5
(4,729 Views)
I just did a packet trace and you are absolutely right, the issue seems to be with my hardware. Labview is sending out the right information. Thank you both, I really appreciate the quick help.
0 Kudos
Message 5 of 5
(4,724 Views)