Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Myrio GPS - Change Frequency

I am using the Pmod GPS module and a Myrio and am able to sucessfull read NMEA sentences using the following example:

 

http://www.youtube.com/watch?v=SebcpkbYBd4

 

I would now like to change the refresh rate to 10Hz from the default 1Hz setting. I am not familiar with VISA functions but the GPS data sheet outlines the procedure of writing a command to change the baud rate then change the frequency.

 

http://www.digilentinc.com/Data/Products/PMOD-GPS/PmodGPS_rm.pdf

 

Can some please help me by pointing me in the right direction to accomplish this. Thank you!

0 Kudos
Message 1 of 4
(6,051 Views)

Hey,

 

To change that setting, it looks like you need to put down a VISA write, and connect the wire coming out of the VISA configuration VI to it. Then wire the string “$PMTK226,3,30*4<CR><LF>" into the write buffer.

Britton C.
Senior Software Engineer
National Instruments
0 Kudos
Message 2 of 4
(6,030 Views)

Thanks for the reply,

 

So I should just add the VISA right in series after the configure and outside the loop. I do not need to change any baud rate settings and re configure or anything?

 

I'll try this when I get home tonight.

0 Kudos
Message 3 of 4
(6,026 Views)

Hey,

 

Exactly, the configuration should apply for all communication to the device, whether you're reading or writing.

Britton C.
Senior Software Engineer
National Instruments
0 Kudos
Message 4 of 4
(6,012 Views)