08-15-2024 06:12 AM
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?
08-15-2024 07:32 AM
@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.
08-15-2024 07:43 AM - edited 08-15-2024 07:44 AM
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?
08-15-2024 07:51 AM