LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus communication with PXI RT 8840

Hi all, 

 

I have a third party hardware ( RS 485 ) that will read the temperature from the field. So from the Host PC, I am using the RS 485 to RS 232 converter and reading the temperatures ( Modbus )  . No issues in this. I am also having the PXI 8840 controller ( RT )  and PXI 1071 chassis. In the 8840 Controller, I am having the RS 232 port. so what were the steps to read a temperature ( Modbus ) through this (8840) ? ? 

0 Kudos
Message 1 of 7
(2,883 Views)

Hi willcan,

 

connect your RS485-to-232 converter to the RS232 port of your PXI-RT card.

Then use the same VIs with the serial port of the PXI-RT instead of the host PC port - ofcourse running the VIs in the RT target…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,860 Views)

Hi gerdw , 

 

Already i tried that and failed. The same program when I run from the host PC means I am getting output. That's why I posted here 

0 Kudos
Message 3 of 7
(2,852 Views)

Hi willcan,

 

what about posting your VI (or a stripped-down version of it)?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(2,849 Views)

hi gerdw, 

 

15.0 labview

 

0 Kudos
Message 5 of 7
(2,845 Views)

Ok.

And where's the VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(2,840 Views)

How does it fail?  Are you getting an error message?

0 Kudos
Message 7 of 7
(2,833 Views)