Skip to main content
Open topic with navigation CAPL Functions » 1939 » GNSS Node Layer

GNSS Node Layer

Valid for: CANoe DE • CANoe4SW DE

J1939

  • Only available with J1939.
  • To use the CAPL functions, the node layer via the module description file GNSS_NL.vmodule must be included.
  • You can include the node layer by using the configuration dialog of the node on page Components or via the node attribute NodeLayerModules in the database.

ON THIS PAGE:

Events

FunctionShort Description
GNSSAppAddrClaimedIdentifies an Address Claiming procedure that was performed successfully.
GNSSAppCmdAddrIndicationIndicates that a new address has been assigned to the node.
GNSSAppErrorIndicationIdentifies errors.
GNSSOnLastWpReachedIs called when the last waypoint of the waypoint list has been reached.
GNSSOnSetSpeedIs called if the speed of the simulation has been changed.
GNSSOnWpBeforeLastReachedIs called when the next-to-last waypoint of the waypoint list has been reached.

Node Control

FunctionShort Description
GNSSGetAddressReturns a network address.
GNSSGetNameReturns the J1939 device name of a control device.
GNSSMakeNameGenerates a J1939 device name.
GNSSShutDownRemoves the node from the network.
GNSSStartUpSets up a logical node within a CANoe network node.
GNSSUpdateTableUpdates the network table.

Other Functions

FunctionShort Description
GNSSGetAbsFilePathGets the absolute path of a file.
GNSSGetLastErrorReturns the error status of the last executed function.

Settings

FunctionShort Description
GNSSSetCOGSOGValChanges the value of the parameter group COG&SOG, Rapid Update.
GNSSSetJitterAltSets the jitter by which the altitude deviates from its nominal value.
GNSSSetJitterLatLonSets the jitter by which the longitudinal and latitudinal degree deviates from the respective nominal value.
GNSSSetPGSettingsChanges the values of individual parameter groups.
GNSSSetPosDataValChanges the value of the parameter group GNSS Position Data.
GNSSSetUnitsDetermines the system of measurement units.

Simulation

FunctionShort Description
GNSSContinueSpeedRestores an old speed.
GNSSGetCurCourseReturns the current course of the GNSS receiver.
GNSSGetCurGradientReturns the current gradient of the GNSS receiver.
GNSSGetCurSpeedReturns the current speed at which the GNSS receiver is moving.
GNSSPauseSpeedSets the speed to zero, temporarily.
GNSSSetCourseDetermines a new course and a new gradient for the GNSS receiver.
GNSSSetSpeedSets the speed at which the GNSS receiver moves.
GNSSStartSimulationStarts the simulation.
GNSSStopSimulationStops the simulation.

Waypoints

FunctionShort Description
GNSSAddWpInserts a new waypoint at the end of the waypoint list.
GNSSAddWpFileInserts the GNSS positions of a file into the waypoint list.
GNSSAddWpLineDescribes a line.
GNSSAddWpMeanderDescribes a meander with rounded off corners.
GNSSAddWpRectDescribes a rectangle with rounded off corners.
GNSSAddWpRefInserts a new waypoint at the end of the waypoint list.
GNSSAddWpRefSInserts a new waypoint at a given speed at the end of the waypoint list.
GNSSAddWpRelInserts a new waypoint at the end of the waypoint list.
GNSSAddWpRelSInserts a new waypoint at a given speed at the end of the waypoint list.
GNSSAddWpSInserts a new waypoint at a given speed at the end of the waypoint list.
GNSSGetCurAltReturns the current altitude at which the receiver is located.
GNSSGetCurLatReturns the current latitude at which the receiver is located.
GNSSGetCurLonReturns the current longitude at which the receiver is located.
GNSSRemoveWpDeletes all waypoints of the waypoint list.
GNSSSetRefPointDefines reference points.
Error Codes GNSSAppErrorIndicationError Codes GNSSGetLastError