Difference between revisions of "Component: Injector (GPS NMEA) ()"

From Flowcode Help
Jump to navigationJump to search
Line 14: Line 14:
 
==Injector (GPS NMEA) component==
 
==Injector (GPS NMEA) component==
 
Comms data injector to allow simulation of NMEA style GPS messages
 
Comms data injector to allow simulation of NMEA style GPS messages
 +
 +
==Component Pack==
 +
 +
COMMSB
  
 
==Detailed description==
 
==Detailed description==
 +
 +
  
  
Line 28: Line 34:
  
 
==Examples==
 
==Examples==
 +
 +
  
  

Revision as of 16:20, 7 January 2022

Author Matrix Ltd
Version 1.0
Category


Injector (GPS NMEA) component

Comms data injector to allow simulation of NMEA style GPS messages

Component Pack

COMMSB

Detailed description

No detailed description exists yet for this component

Examples

GPS Example File FC6 Icon.png GPS Example Example should show the Latitude generated by the GPS injector as well as the system time in simulation or UTC time on hardware.

GPS.jpg


Example data provided by the GPS NMEA injector component

GPSCon.jpg

Downloadable macro reference

Fc9-comp-macro.png InitialiseInjector
Sets up the injector ready to receive commands or send data 
Fc9-string-icon.png - STRING InjectorName
Name of the console that will be created 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png RxByteCount
Returns the number of bytes currently sat in the receive buffer. 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png RxByte
Attempt to receive a byte back from the injector 0 - 255 = Valid data 256 = RX timeout no data available 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png GetConsoleHandle
Gets the handle to the console allowing data displaying on the panel etc. 
Fc9-h32-icon.png - HANDLE Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-21-icon.png Data Period (ms)
Amount of time in milliseconds to wait between each GPS NMEA packet is sent. Default 1000. 
Fc9-type-21-icon.png Circular Buffer Size
Max number of bytes the receive queue can hold. Default 1000. 
Fc9-type-7-icon.png Data Valid
Injected GPS data validity 
Fc9-type-15-icon.png Altitude
Injected GPS Altitude 
Fc9-type-15-icon.png Course Over Ground
Injected GPS course over ground (COG) 
Fc9-type-15-icon.png Dilution Of Precision
Injected GPS dilution of precision (DOP) 
Fc9-type-15-icon.png Ground Speed
Injected GPS ground speed (Knotts) 
Fc9-type-15-icon.png HDOP
Injected GPS horizontal dilution of precision (HDOP) 
Fc9-type-15-icon.png Latitude
Injected GPS lattitude 
Fc9-type-15-icon.png Longitude
Injected GPS longitude 
Fc9-type-21-icon.png Number Of Satellites
Injected GPS number of active satellites 
Fc9-type-15-icon.png VDOP
Injected GPS vertical dilution of precision (VDOP) 
Fc9-type-16-icon.png Data Source
Injected GPS source for UTC time and date 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations