Jump to content

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

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 102: Line 102:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsoleHandle'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsoleHandle'''
|-
|-
Line 116: Line 116:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InitialiseInjector'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InitialiseInjector'''
|-
|-
Line 135: Line 135:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxByte'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxByte'''
|-
|-
Line 149: Line 149:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxByteCount'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxByteCount'''
|-
|-

Revision as of 14:17, 13 July 2026

Author Matrix Ltd
Version 1.0
Category


Injector (GPS NMEA) component

Comms data injector to allow simulation of NMEA style GPS messages

Component Source Code

Please click here to download the component source project: FC_Comp_Source_InjectorGPS.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_InjectorGPS.fcfx

Detailed description

No detailed description exists yet for this component

Examples

GPS Example File 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.


Example data provided by the GPS NMEA injector component






Macro reference

GetConsoleHandle

GetConsoleHandle
Gets the handle to the console allowing data displaying on the panel etc. 
- HANDLE Return


InitialiseInjector

InitialiseInjector
Sets up the injector ready to receive commands or send data 
- STRING InjectorName
Name of the console that will be created 
- BYTE Return


RxByte

RxByte
Attempt to receive a byte back from the injector 0 - 255 = Valid data 256 = RX timeout no data available 
- UINT Return


RxByteCount

RxByteCount
Returns the number of bytes currently sat in the receive buffer. 
- UINT Return


Property reference

Properties
GPS Injector Settings
Data Period (ms)
Amount of time in milliseconds to wait between each GPS NMEA packet is sent. Default 1000. 
Circular Buffer Size
Max number of bytes the receive queue can hold. Default 1000. 
GPS Location Settings
Data Valid
Injected GPS data validity 
Altitude
Injected GPS Altitude 
Course Over Ground
Injected GPS course over ground (COG) 
Dilution Of Precision
Injected GPS dilution of precision (DOP) 
Ground Speed
Injected GPS ground speed (Knotts) 
HDOP
Injected GPS horizontal dilution of precision (HDOP) 
Latitude
Injected GPS lattitude 
Longitude
Injected GPS longitude 
Number Of Satellites
Injected GPS number of active satellites 
VDOP
Injected GPS vertical dilution of precision (VDOP) 
Time & Date Settings
Data Source
Injected GPS source for UTC time and date