LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i control RS-422 to receive data in Labwindows/CVI programing?

Is there any difference in controlling RS422 and RS232 in CVI programing?
There are some function library for RS232, but no for RS422.
And how to control RS422 in Labwindows/CVI programing?
0 Kudos
Message 1 of 3
(3,502 Views)
Hello,

There are a couple possiblities I think:

1. If you have an RS-422 interface on your computer, they likely provided a dll from which you can make calls from CVI.
2. If the 422 interface on your computer shows up in Measurement and Automation explorer, then it is likely that it populates as a COM port just as most serial interfaces do, and you can try using NI-VISA calls. NI-VISA will call into the appropriate driver for multiple interfaces, such as serial, gpib, etc.

Repost with any further questions or updated information!

Thank you,

JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 3
(3,493 Views)
Thank you very much!
And I've got the solution too. In cvi to contol the 422 port is as same as the 232 port. Just to use the RS232 library that's ok!
0 Kudos
Message 3 of 3
(3,472 Views)