LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA Crio encoder SSI protocol

Solved!
Go to solution

I've one more question dear. I'm planning to use muiltple sensors. Some using RS485 and some RS422.

If If I use RS485 to USB and RS422 to USB converters. Like in my case I've two devices with RS485 and one with RS422. If I connect all these three devices with USB Hub and finally with myRIO via USB. Will it work on a single USB?

How will I Identify each one in LabVIEW?

0 Kudos
Message 21 of 24
(99 Views)

@Michael_Smith wrote:

I've one more question dear. I'm planning to use muiltple sensors. Some using RS485 and some RS422.

If If I use RS485 to USB and RS422 to USB converters. Like in my case I've two devices with RS485 and one with RS422. If I connect all these three devices with USB Hub and finally with myRIO via USB. Will it work on a single USB?

How will I Identify each one in LabVIEW?


All serial ports will be assigned a unique COM port. You can use NI-VISA Interactive Control to figure out which port each USB-Serial converter is assigned to. See Getting Started with Instrument Control Hardware and LabVIEW

 

When connected via USB device port, the USB port works like an Ethernet port. The myRIO is detected under Remote System in NI MAX.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 22 of 24
(94 Views)

All good and what will be its effect on data because ultimately, I've USB Hub (having three 3 sensors) connected to myRIO and myRIO connected to PC via separate Type A to Type B USB. 

 

1) Sensor 1 (RS485-USB) -> USB Hub -> myRIO
2) Sensor 2 (RS422-USB) -> USB Hub -> myRIO
3) Sensor 3 (RS485-USB) -> USB Hub -> myRIO

myRIO however will be receiving three readings from three different sensors but is there any chance of data collision or data loss because of slow data rate that is usually at a baud rate of 9600?


0 Kudos
Message 23 of 24
(89 Views)