Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Collecting GPS data using digital I/O

Hello,

 

I would like to know if it's possible to extract GPS data using the digital I/O (P2, P3,P4, orP5) on sbRIO-9632.

I have been using the serial port to collect the time data. However, for the project I am working on, it would be really helpful if I could extract the GPS data in FPGA VI and chug 'em in FIFO along with the other data collected through analog input. (Precise time-stamp is crucial)

 

I would be thankful for any insight!

 

0 Kudos
Message 1 of 5
(5,521 Views)

yoon62,

 

Can you tell us some more about your hardware setup? What kind of devices are you hooking up to your sbRIO? Also, can you elaborate on the format of this GPS data you'd like to read with your sbRIO?

Message 2 of 5
(5,501 Views)

Bryan,

 

I am using two analog channels for a GPS second pulse (5V square pulse that happens every second) and a sinusoidal voltage waveform.

Also I am using a serial port to read the GPS data (date and time). Under puTTY, the data is shown as seen in the picture I have attached. I am not sure, however, how the "raw" data looks.

 

To give you a sense of the project, the GPS pulse is used to sync the time data and the voltage data.

 

Thank you very much for your help, and if it's still not clear, please let me know! 🙂

 

Andy

0 Kudos
Message 3 of 5
(5,496 Views)

yoon62,

 

If I understand you, you'd like to read serial data through the FPGA, is that correct? Here are a few links and examples on implementing RS232 communication with the FPGA.

 

http://www.ni.com/white-paper/5385/en/

http://zone.ni.com/devzone/cda/epd/p/id/2164

http://sine.ni.com/nips/cds/view/p/lang/en/nid/209123

 

Best,

Message 4 of 5
(5,471 Views)

Bryan,

 

Thank you, this looks exactly like what I needed!

 

Andy

0 Kudos
Message 5 of 5
(5,466 Views)