10-03-2013 05:01 PM
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!
10-04-2013 03:12 PM
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?
10-04-2013 04:37 PM
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
10-07-2013 05:41 PM
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,
10-07-2013 05:58 PM
Bryan,
Thank you, this looks exactly like what I needed!
Andy