Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible way to use Baud-rate 1Mbps for RS-485 using cRIO?

Hello. I'm using cRIO with RS-485 interface and had hard time translating it to 1 Mbps baud-rate interface.

<Hardware>

- cRIO-9048

- Labview 2020, CompactRIO 21.0, FPGA 20.0

 

<Problem>

I have used RS-485 port of cRIO-9048 with 115,200 bps baud rate. And would like to change the baud rate to 1Mbps.

As the max. allowable baud rate of cRIO-9048 is 115,200 bps, I bought NI-9871 which is RS-485 C series module with max. baud rate of 3.6864 Mbps.

But it seems although the Max. baud rate of NI-9871 is above 1 Mbps, the allowable baud rate should satisfy the rule below:

 

BaudRate = 3.6864 Mbps / (Prescaler * Divider)
Prescaler can be (4..65535).
Divider can be 1 or 4.

(https://www.ni.com/pdf/manuals/373170f.pdf)

 

I tried to use 921,600 bps with 4 divider and 1 prescaler which is closest to 1 Mbps. But the actual baud rate exceed allowable error and cannot communicate with 1 Mbps device.

snopyy_0-1648637100221.png

 

Is there a way to use 1 Mbps RS-485 interface with cRIO?

0 Kudos
Message 1 of 2
(2,246 Views)

Hi snopyy

Did you try to set Actual Band rate (bps) larger value to see if you can achieve your desired value?

 

Regards

0 Kudos
Message 2 of 2
(1,978 Views)