Example Code

Streaming GPS satellite signals for a Google Earth trajectory file

Code and Documents

Attachment

The GPS toolkit has a custom script file with 4 different commands to simulate the receiver trajectory. Since it would take some time to create some real-life complex receiver trajectories, It would be better if we could use a real life scenario for the motion of the receiver by creating a path between any 2 points on the globe using Google Earth and saving the path in a trajectory file (KMZ or a KML file). The Google Earth trajectory file is an XML file which contains the intermediate waypoints along the path. This example creates the custom GPS script file by extracting the waypoints from the KMZ file and simulates the GPS signals for this trajectory of the receiver.

Software Requirements:

NI GPS Simulation Toolkit 2.0

Hardware Requirements:

NI PXIe-5672/5673 RF Vector Signal Generator.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors