LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading GPS through COM port on cFP 2120

Hi everybody!
 
I'm quite new on Labview, so I got troubles every 5 minutes, but this one I really can't understand.
 
I wrote a VI which reads a GPS signal through the COM port on a cFP 2120.
It contains all that's needed, port configuration, etc, and in fact since yesterday it worked well.
 
Today, however, it seems that the COM port fails reading, since I can't get any signal from it.
But if I connect the GPS to the PC I can read the signal with the same VI.
 
What could have happened?
What shall I do?
 
Pleas help me!!!!!!!!!!
 
thanks
Francesca
0 Kudos
Message 1 of 2
(2,302 Views)

Hi Francesca,

since your application was working fine until yesterday, I think the COM port might be damaged.

I would suggest you to make an easy test to see if there's some problem on the COM port of the controller. Configure the COM port in the loopback configuration, connecting pin 2 and 3 together. Here's a tutorial that explains how to make a loopback test:

How to Do a Serial Loopback Test

http://zone.ni.com/devzone/cda/tut/p/id/3450#toc0

Then add a new VI to your Field Point project and write an easy code with VISA functions. I'm attaching the one I used for this test.

Basically you write the string "prova" and the VISA read sends out the same command, so you'll see "prova" in the Read buffer indicator. You just have to select the COM port in the VISA Resource Name control.

If this test fails, it means that the COM port is damaged, so just contact us at National Instruments Italy (02-413091) and we will procede with the raparation of the controller.

Ragards,

Andrea N.


 

Andrea N.
Principal Applications Engineer - Semiconductor EMEA
National Instruments Italy
Certified LabVIEW Architect - Certified TestStand Architect
0 Kudos
Message 2 of 2
(2,277 Views)