I want to communicate a RS485/2-wire device through COM1. I tried Instrument I/O Assistance to write to COM1(hex string with or without end bye:0D0A), something happened on the bus, but is not defirrential signal, and device didn't recognised them.

I am new to LabView, so please bear with me...
I tried to communicate with an RS485/2-wire device through COM1.  I used Instrument I/O Assistant (and Advanced/Basic Serial Write and Read examples) to write command (HEX string) to COM1,  
tried writing HEX strings with and withour end bye (is 0D0A the correct end signal for HEX string?).  Both didn't get device's responce.  Looks like the device didn't recognize the command.
I monitored the transmitted signals on the bus, they were not differential as supposed to be.....
What is the possible reason to cause this? Please help...
The hardware connection is OK, because I am able to communicate with the device through COM1 (with the same command) using different software application.

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.

Similar Messages

Maybe you are looking for

  • How to use Action interface?

    Hello, I haven't been programming in JAVA for very long, just over a month. I understand that intefaces are just method signatures and variables that can be used by a class wich implements them and redefines the methods and/or variables. I know that

  • Using an Apple Keyboard in Windows

    So it's a pretty commonly known issue that the function keys on the Apple Wireless keyboard don't do a thing in Windows. Is there some way. I'm using Windows 8.1 on an Windows PC, not a Mac, so I don't have access to the Boot Camp drivers. Is there s

  • N97 mini can't recognize m4a file?

    I had my n97 mini updated to the lastest software. I used nero to make a m4a music file (the encodec is eaac+, that is, HE-ACC v2) and transfered it to my n97 mini, via ovi suite sync. Then I found that I can't play it in the music application: It ju

  • Issues implementing a simple waterfall in Java3D

    I am currently implementing a waterfall display using Java3D. I have some questions about design, and also one about performance difficulties. The overall design structure is as follows: * The display is made up of a 2 dimensional grid, with each cel

  • Exception occurred - help me please

    Hi, I am compiling some applets from Eclipse, I arrived to my last applet and I tested it in another PC with a MSVM ver 1.1.4 after sign it with my security certificate. These applets work with Sun VM but when I open just my last applet with the vers