10-16-2006 04:24 PM
10-16-2006 04:43 PM
How are you sending the hex? Is your string control set for hex display or normal? If it's set for normal, then if you send something like 'AD', then you aer sending the ASCII characters 'A' and 'D' and that's not the same thing. I don't believe the I/O assistant can send hex but you can modify the basic serial write and read to do so. Just right click on the string control and select 'Hex Display'. You can also enter the data in a numeric control (set for dex display) and use a type cast or an array of U8's and use the Byte Array to String function. Hex data usually doesn't use any kind of termination characters such as CR/LF.
If communication is working with another app, then as you said, the hardware is okay and it's not a problem with differential signaling.
10-16-2006 05:53 PM
Thanks for the reply. I did tried the basic serial write and read modules and used HEX DISPLAY to write to COM1. The result was the same.
Is RS485 (modbus) protocal used by the device made all theses difficulties?
DOes VISA serial module support RS485?
Thanks for the help in advance.
10-17-2006 02:53 AM
10-17-2006 12:31 PM