Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Unknown GPS Instruction for CR1000


FCarotenuto May 8, 2018 10:01 AM

Dear all,

I am trying to log a GARMIN GPS19x NMEA 0183 with a CR1000. In the software I'm writing with CRBasic I've, of course, inserted the instruction to log the GPS data, namely:

 

'Main Program
BeginProg
  'SetStatus("BaudrateCOM1",4800)'Se si usa il resistore di configurazione
  Scan (IntervEsecSec,Sec,0,0)
    PanelTemp (PTemp,250)
    Battery (batt_volt)
    '***** Istruzioni di misura *****
    'GPS
     GPS (dati_gps(),Com1,Offset_ora_locale*3600,100,frase_NMEA())
	'Call Output Tables
    'Example:
    CallTable dati
    CallTable Diagn
  NextScan
EndProg

 

 When I compile it locally (i.e.: on the computer without sending it to the datalogger everything's fine), but when I send it to the CR1000 I receive this error

ine 99: Unknown instruction GPS (dati_gps(),Com1,Offset_ora_locale*3600,100,frase_NMEA())
.

OS Version: CR1000.Std.15

Like if the datalogger didn't know the GPS instruction at all. As far as I can tell is a CRBasic native function (I've inserted through the drop-down menu), so I'm guessing the error is somewhere else? Or is the .OS version too old? 

Thank you for the help!


GaryTRoberts May 8, 2018 02:39 PM

Yes, you will need a newer operating system as version CR1000.Std.15 did not have the GPS instruction.

Log in or register to post/reply in the forum.