LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-485 with LabView via B-Con development

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.

0 Kudos
Message 1 of 4
(2,629 Views)

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

0 Kudos
Message 2 of 4
(2,616 Views)

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

0 Kudos
Message 3 of 4
(2,613 Views)

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

0 Kudos
Message 4 of 4
(2,608 Views)