LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use RS422 serial port communication in LabView.???

Solved!
Go to solution

I found many articles about serial port but all of them are Regarding about RS232 and Rs485 , But i cant found any articles about RS422 serial communication with Labview

By The way  i followed the same way and create a VI in LabView But while Executing That VI it shows an error like 

 

"" 

Possible reason(s):

LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.""

 

can any one please help me .???

0 Kudos
Message 1 of 48
(8,585 Views)

Hi arun,

 

create a VI in LabView But while Executing That VI it shows an error like

Ok, so there is an error in YOUR VI.

As long as you hide your VI from us you will have to debug it on your own!

 

Can we use RS422 serial port communication

As long as you get a COM port in the device manager you will be able to use VISA functions with it…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 48
(8,576 Views)

Thank you for responding , i dont have any problem to show my code please take a look on the following attachment 

 

i installed all the drivers and NI-visa also , And in the NI-MAX  detect my port as COM23

0 Kudos
Message 3 of 48
(8,567 Views)

Regarding RS-422, as long as it shows up as a COM port, it will code exactly the same as RS-232.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 48
(8,565 Views)

Yeah , it detected as COM port, Thats why i followed the procedure but at the end while executing the code it shows errors as i mentioned in the code 

The attachment consist of my VI please take a look

0 Kudos
Message 5 of 48
(8,557 Views)