I am trying to connect a NAVman xNAV650 to a CR1000X utalising the GPS() command to syncronise the clock on the datalogger to the GPS clock, using the PPS and NMEA outputs form the GPS. I am recieving all 0/NAN values except for the PPS parameter
The wiring is as follows:
PPS wire -> C1
Tx wire -> C2
Ground wire -> G
The GPS outputs at a set baudrate of 9600 so I have configured that with SetStatus("Baudrate(COMC1)",9600). The rest of the script I have copied from the example in CRBasic.
1. Relating to the OS, what OS version is required in order to run the command on a CR1000X?
2. The example provided in CRBasic sets up the gps_data() array but then passes latitude_a to the GPS() command "GPS(latitude_a,COMC1,LOCAL_TIME_OFFSET*3600,100,nmea_sentence(1))", is this simply a typo?
3. By entering COMC1 as the comport variable does the GPS() command assume that the NMEA data is coming in through C2 and read that data? Do i also need to set the baud rate of C2 to 9600?
4. The GPS outputs a PPS of 3.3V NOT 5V, I have seen somewhere that the CR1000X can understand that fine, is that correct?
The PortPairConfig() instruction will set C1 to accomodate the 3.3V PPS signal.
Connected to C2 should be the RS232 Tx line from the GPS.
If settings and wiring are correct, you should see values populate in nmea_sentence(). Some values will only populate when the GPS is outside and has a fix.