Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

timedependent error on 9870

Hello experts

 

I have a cRio 9014 with a 9870 serial module. I am using two of the ports with a gps and a gyrocompass.

The problem is that, after a certain amount of time, when i read on the ports, it shows the data in a "wierd" format.

For example a perfect receiving from the gyrocompass is "$C340.8P-4.3R-8.1T23.0*25". But after a while i receive "$C340.9P-4$C340.9P-4.2R-7.9T23.1*23".

The same error occurs with the gps-module attached to port1. The only difference is the baud rate. The gyro use 19200, and the gps 4800. And the time before the error occurs is, for the gyro aprox. 1 minute and for the gps 2 minutes.

I triede to change the size of the fifo, im using from 512 to 4000, but dosent make any difference.

I have attached two pictures of the VIs, one from the rt-controller and one from the fpga.

 

regards Anders

Message Edited by AndersKristensen on 12-01-2008 03:44 AM
Download All
0 Kudos
Message 1 of 2
(3,247 Views)

I know this is an old thread and the author may not be checking this anymore, but it's worth a try.

 

I am trying to do the same thing as the author (use a Garmin GPS with the NI 9870 serial module) and I am trying to figure out the best way to go about doing so. Using the serial port on my controller is not an option as it is being used by something else.

 

AndersKristens - if you could send me your code that you use to do this or anything I would really appreciate it. Thank you!

 

 

0 Kudos
Message 2 of 2
(2,748 Views)