LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 485 communication via PXIe

Solved!
Go to solution

Hello,

 

i have a PXIe system with certain DAQ-modules in it. In order to communicate with another unit i have to implement the RS485-standard. Is it possible to communicate via Labview or Veristand and the DAQ-modules with this unit? Which program would be more useful and simpler in this case?

 

Thank you

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

Hi mihamm,

 


@mihamm wrote:

i have a PXIe system with certain DAQ-modules in it. In order to communicate with another unit i have to implement the RS485-standard. Is it possible to communicate via Labview or Veristand and the DAQ-modules with this unit? Which program would be more useful and simpler in this case?


Which (DAQ) modules do you have available for your PXIe chassis?

NI offerse several PXIe cards for RS485, like this one. This would be the "simple" way…

 

Which PXIe system do you use? Does it offer a serial port? Then you might use a simple RS232-RS485 converter with that port in case it does not offer a builtin RS485 mode…

Best regards,
GerdW


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

Hi, GerdW,

thank you for your answer!

I use the following hardware, which you can see in the screenshot:

 

mihamm_0-1589182416467.png

 

It is only a small application i have to realize with RS485 so i think it is not appropriate to purchase a several card, but thank you for that information. 

 

Regards

Michael 

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

A quick google on those part numbers seem to show me that none of them have an RS485 port like GerdW suggested.

 

The next easiest way would be to use a USB to RS485 adaptor like this....https://uk.farnell.com/ftdi/usb-com485-plus1/mod-usb-fs-to-rs485-1-port-ft232r/dp/1817177?gclid=CjwK...

 

This will just show up as a COM port which, you should then be able to communicate with this using NI VISA.

0 Kudos
Message 4 of 7
(2,917 Views)

Thank you for your answer!

 

I would have such an adapter available. 

Just for my information,  because i never used NI VISA, where should i plugin the USB cable?

Is it possible to connect the RS 485 to the PXI controller?

 

Regards,
Michael

0 Kudos
Message 5 of 7
(2,914 Views)
Solution
Accepted by topic author mihamm

I am not sure I understand your question.

 

You can just plug the USB adaptor into one of the USB ports on the PXI.

 

Unless you purchase a card like GerdW suggested you can't connect an RS485 cable directly into the PXI.

 

If you type 'Serial' into the NI Find Examples wizards a few examples will come up (One specifically for RS485) (Help/Find Examples)

0 Kudos
Message 6 of 7
(2,910 Views)

Thank you very much, that was the answer to my question. 

Yes, I think I have found a suitable example.

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