07-16-2018 05:44 PM
I need to send HEX values to an instrument. In the VISA test panel I can send \AA and send the hex values. I have tried to send them in NXG but it always converts them to ASCI characters. I have searched and for older versions of labview there is an option (right click) to select the string as HEX, but I can't find this option (right click) in NGX.
I need to send AA 55 00 020801 F4 to the serial port.
Solved! Go to Solution.
07-17-2018 04:59 AM - edited 07-17-2018 05:00 AM
Hi,
So if you send ascii do you get any errors? what exactly you want to do ? Can you please post a picture and give some more info.
07-17-2018 09:36 AM
It doesn't look like NXG 2.1 (the version I have) has the option to display string constants or controls in hexadecimal format. However, you can display integers in hex, so you could get a similar result with an array of U8 set for hex display.
07-17-2018 11:20 AM
Thank you, this worked. The VI Write accepted the array of Hex Bytes and I was able to send the correct data.