LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Read from RS-232 on cRIO-9012

Solved!
Go to solution

Hello everyone,

 

I'm trying to read a GPS signal through the RS-232 port on a cRIO-9012. I have attached the simplified code. GPS Simple.png

 

The same code works when I run it on my PC (after changing the port) and input the GPS signal through a USB port using a serial-to-USB converter. However, when I plug it into the RS-232 port on the cRIO and run it on my cRIO, the read buffer seems to be in a wrong format, i.e. some information is read, but it is showing some weired characters. Does anyone have any idea on how to fix this? 

 

Thanks

0 Kudos
Message 1 of 3
(3,061 Views)

Hi SoheyIV,

 

Just to ask, have you set the VISA Configure Serial Port.vi settings correctly? Have you tried the below?

new2.JPG

 

What is the GPS you're using to connect to the cRIO which you're reading it via serial port? If possible can you send a screenshot of what you mean by giving strange characters?

 

Thanks

 

Warmest regards,

Lennard.C

 

Learning new things everyday...
0 Kudos
Message 2 of 3
(3,027 Views)
Solution
Accepted by topic author SoheylV

It seemed that it was a hardware issue. Probably the cRIO-9012 was too old/weak/slow to handle the communications. Switched to 9022 and it works!

0 Kudos
Message 3 of 3
(2,919 Views)