05-18-2006 04:22 PM
05-18-2006 05:55 PM
05-19-2006 09:25 AM
Hi,
as Dave said use the string convertion VI of Labview, see link below:
http://forums.ni.com/ni/board/message?board.id=170&message.id=185734
05-31-2011 12:18 PM
Hello
I want to convert a string "02 sRN LMDsacandata 03" from ASCII to HEX to communicate via TCP/IP with a device(LMS111). I've tried to split the string in 3 parts and then concatenate it, but i don't get the right convertion (02 73 52 4E 20 4C 4D 44 73 63 61 6E 64 61 74 61 03). Can anybody help me with this problem?
Thanks.
05-31-2011 12:29 PM
Your conversion of STX to an I32 (4 bytes) is all wrong. If the control is set for hex display, you don't need to convert anything at all.
05-31-2011 12:29 PM - edited 05-31-2011 12:30 PM
You're overdoing it. All you need to do is to concatenate the strings. Just make sure the strings are in hex display mode.
Edit: What he said.