11-28-2006 04:09 PM
11-28-2006 04:24 PM
11-28-2006 04:57 PM - edited 11-28-2006 04:57 PM
Message Edited by smercurio_fc on 11-28-2006 04:58 PM
11-28-2006 05:06 PM
11-28-2006 05:07 PM
11-29-2006 09:16 AM
Thanks to everybody who responded this thread.
OK, here is my situation: I want to monitor a device through a serial port. This device is using Modbus RTU as communication protocol.
In the LV8.2 code, I use "VISA Read" (Functions panel\Instrument I/O\Serial\Read) to read income data.(through VISA Read's read buffer). This read buffer is in string type.
I have to set the string indicator (destination of the read buffer) in hexadecimal display style, because the data off the comport is in hexadecimal format (Modbus protocol). If I set the string indicator in normal display, all the income data shown in the indicator just garbage.
Now I want go one step further to cast the income data in hexadecimal format to decimal format for easy read, and got the conversion problem I posted before.
Is it possible to convert the data naturally in hexadecimal format to decimal display?
Thanks again.
11-29-2006 09:29 AM
11-29-2006 09:41 AM
11-29-2006 12:20 PM
11-29-2006 03:47 PM