07-14-2014 10:44 AM
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!
07-15-2014 11:28 AM
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.
07-15-2014 12:04 PM
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.
07-16-2014 09:47 AM
Hey,
Exactly, the configuration should apply for all communication to the device, whether you're reading or writing.