11-01-2012 12:54 PM
Hi support,
I am running a LabView project developed from B-CON and it is using a legacy RS232 port (COMM1). It does not work with a USB-485 interface. What do I need to tell my developer to use the USB-485 interface (half duplex)? I have other applications (not LabView) that can use either RS232 or USB-485 interfaces. I presume the programmer needs to do something to tell the interface to switch between transmit and receive or do the drivers do that automatically?
Bruce at Solar.
11-02-2012 10:05 AM
Hi,
If you plug-in your USB device you can within the Windows (?) device manager or in MAX see which COM port is attached to this USB-RS485 interface.
A USB-RS485 has an automatic Tx enable / Rx Disable. If your USB device can handle 485 and 422 it is possible that you have to configure it for automatic Tx enable.
Kees
11-02-2012 12:09 PM
Hi,
I figured out that much. What do I tell my programmer to do differently in LabView between talking to a true RS232 port and a USB-485 simulated COMM Port. Is there any sample code available or configuration settings in LabView or does LabView need different drivers other than what comes with the USB-485 interface?
Bruce
11-02-2012 01:40 PM
If you use Windows you should see your USB device within the device manager. You also see there which COM port number the USB-RS485 interface got from Windows.
Your application should able to use and select different COM port.
Kees