NMEA outputs

Expert

The essentials

The NMEA Outputs pageThe NMEA Outputs page

NavimetriX can also send NMEA 0183 to the instruments: the device’s position for a plotter without GPS, navigation sentences for the autopilot, performance data for NKE or PIXEL displays. Outputs go out over the configured NMEA link: they therefore require the Premium subscription and an active link.

  1. Set up reception first (see NMEA 0183 connection).
  2. In “Settings”, “GPS & NMEA”, tap “NMEA Outputs”, at the bottom of the page.
  3. Turn on the sentences you want.
  4. Check the output in the “Incoming NMEA sentences” console: the sentences sent appear there in orange.
  5. With an NKE box, initialize it once so that the displays receive this data: see Initializing the NKE box.

Going further

When and where outputs go

  • Sentences are sent once per second, as soon as an NMEA link is active. They are spread across the second so as not to saturate slow gateways (such as the NKE Wi-Fi box).
  • They go out over the instruments link. If there are no instruments (a boat with only a GPS and an AIS), they go out over the first active link.
  • In UDP, they are sent to the “Server IP address” and the port of the link. After a scan, “Apply settings” writes the address of the gateway found there. If you set up the link by hand, make sure this is the gateway’s address: otherwise the sentences show in orange in the console but reach nothing.
  • Waypoints and routes (WPL, RTE) preferably go out over the dedicated GPS link when it is active: a plotter often only accepts these transfers on its own link.
  • Without a valid boat position, only the barometer pressure is sent, so as never to send false values to the autopilot. Nothing is sent either during a track replay or while following another boat.

Internal sensors to NMEA

The “Internal Sensors to NMEA” block sends the boat’s position (generally that of the device’s GPS) to the instruments:

SentenceContent
RMCposition, course, speed
GLLposition only
GGAposition, fix quality, satellites
VTGcourse and speed
XDR / MDAdevice barometer, pressure (only on a device that has a barometer)

RMC and VTG carry undamped speed and course: the plotter or autopilot does its own damping. The pressure goes out every 5 seconds, corrected by the “Device sensor offset”. Only the device’s barometer is sent: an NMEA barometer is already on the network.

Autopilot

Warning: when these boxes are ticked and an autopilot receives these NMEA sentences, it changes the boat’s course. This is very convenient, but must be used with the greatest caution.

The “Auto Pilot” block sends the navigation sentences toward a waypoint. They only go out when a destination is active: a “Goto” to a POI or a route being followed (see Navigating to a POI and following a route).

SentenceContent
APBautopilot: bearing, cross-track error, steering
BODbearing from origin to waypoint
BWCbearing and distance to the waypoint
RMBwaypoint, cross-track error, VMG
XTEcross-track error
WPLwaypoint position
RTEroute: list of waypoints

The cross-track error (XTE) is the distance between the boat and the line joining the previous waypoint to the next. Waypoint names are sent in capitals and limited to 10 characters, without accents or commas: a name that is too long makes some instruments reject the whole sentence. Check your autopilot’s manual to see which sentences it expects; APB and RMB are the most common.

NKE outputs

“NKE Outputs” sends proprietary NKE sentences:

  • “Gyrographic”, “Performance data”: the polar’s target speed, the target VMG angle and the speed efficiency;
  • “Multigraphic”, “Dynamic data”: up to eight values, one per “Channel 1” to “Channel 8”.

For each channel: “–” (nothing), STW_TGT (target speed), STW_EFF (speed efficiency), VMG, VMG_TGT (target VMG), VMG_TGT_ANG (target VMG angle), VMG_EFF (VMG efficiency), BTW (bearing to waypoint), DTW (distance to waypoint), VMC (velocity made good to the waypoint), TTG (time to go), D2LL and T2LL (distance and time to the layline).

These headings do not reserve the data for Gyrographic and Multigraphic displays. NavimetriX sends its sentences to the NKE box (Wi-Fi Box or USB Box), which converts them into channels on the Topline bus, the network of NKE instruments. The displays on the bus then read these channels, in particular Multigraphic and Multidisplay units, first generation and II alike. The “Auto Pilot” block sentences follow the same path:

Turn on in NavimetriXData available on NKE displays
BWC or RMBdistance and bearing to the waypoint (“Distance to Waypoint”, “Bearing to Waypoint”)
APB, RMB or XTEcross-track error (“Cross-Track Error”)
“Dynamic data”channels 1 to 8
“Performance data”target speed, optimum wind angle and efficiency, depending on the display

To show this data on the display:

  • Multigraphic II and Multidisplay II: choose the value in the “GPS” group for distance, bearing and cross-track error, and in the “Customs” group (dynamic channels) for channels 1 to 8. The Waypoint and XTE pages are available when a waypoint is active on the bus.
  • First-generation Multigraphic and Multidisplay: channels 1 to 8 are named DYN1 to DYN8. They appear on the 4+4 page of the Multigraphic and on the 4/4 and 1/1 pages of the Multidisplay.

“Channel 1” in NavimetriX corresponds to DYN1, and so on up to “Channel 8”.

The NKE autopilot uses the same data in its GPS mode (XTE, with BWC or RMB): the warning in the “Autopilot” section above applies.

Initializing the NKE box

The box has to learn which sentences it receives: it only passes on to the bus the channels created during an initialization. Without this step, the sentences leave NavimetriX but do not reach the displays. It only needs to be done once.

  1. Connect the device to the box and set up the link with “Scan NMEA devices” (see NMEA 0183 connection): the scan also fills in the address the outputs are sent to. For a Wi-Fi Box set up by hand: “TCP”, address 192.168.56.1, port 50000.
  2. In “NMEA Outputs”, turn on the sentences and channels you want, then start a destination (a “Goto” to a POI or a route being followed): without a destination, the waypoint data is not sent.
  3. In the “Incoming NMEA sentences” console, check that everything goes out, in orange: BWC or RMB for the waypoint, PNKEP for the performance data and one PNKEA line per active channel ($PNKEA,AA,1, for “Channel 1”). The box only creates the channels whose sentences it sees, and NavimetriX does not send a value that is unavailable: targets need a polar and wind, the time to go (TTG) needs a boat getting closer to the destination.
  4. Press and hold the INIT button of the box:
    • 3 seconds (3 beeps) for a first initialization: the list of NMEA channels is created anew;
    • 6 seconds if the box already has NMEA channels to keep, for example those of a wired GPS: the new ones are added to the existing ones.
  5. The box listens for 10 seconds while beeping, ends with a long beep, then gives one beep per channel created. If no beep follows the long one, it has not received any NMEA sentences: check the link and start again.

The channels created stay in the box’s memory and come back at each start-up. Repeat the 6-second initialization only if you later turn on another sentence or channel.

Data already supplied by an instrument on the bus, such as a Topline GPS, keeps priority: the equivalent NMEA channel is not created.

If NavimetriX is connected to the wired NMEA input of a Multigraphic II or Multidisplay II rather than to a box, the initialization is started from the display: parameters, maintenance, external devices, NMEA input.

PIXEL outputs

“PIXEL Outputs” sends data to PIXEL EXOCET displays, over UDP to the display’s “IP address” (192.168.100.251 by default):

  • “Performance”: polar speed and percentage achieved, polar VMG and percentage achieved, target VMG angle and speed;
  • “Waypoint”: bearing, distance and time remaining to the active waypoint;
  • “Current”: the current forecast at the boat’s position, taken from the displayed current GRIB, otherwise from the current atlases, multiplied by the percentage set beside it (80 to 150%, 100% by default).

Relay on local network

Three relays make data available to the other devices on board, without Internet, as a UDP broadcast on the local Wi-Fi network. The relay port is 10111 by default; it must not be a port that one of the device’s links listens on.

  • “Relay device GPS on local network” (visible when “GPS source” is “Internal”): the phone sends its position. A computer without GPS listens to it as an NMEA link over UDP on this port (in advanced mode, as the dedicated GPS link).
  • “Relay device barometer on local network” (“Barometer” block, on a device that has a barometer): the device’s pressure, for a computer or instruments without a barometer.
  • “Relay on local network” (advanced mode, for a UDP, TCP or SERIAL link): what the link receives is re-sent for the other devices. A computer connected to the instruments by USB, or that takes up a gateway’s only TCP slot, can thus feed the whole boat. With UDP, the relay is for devices that only send their data to a single IP address, the device’s own: without it, the other devices on the network would not receive it. Demo data is never relayed. When it is on, the sentences NavimetriX computes for its NMEA and NKE outputs are also broadcast on the local network, on the same port as the received stream; nothing is broadcast in demo mode.

Both devices must be on the same Wi-Fi network; some routers isolate their clients from one another. The app must stay open on the device that relays.

Sharing without a local network

To follow the boat from ashore, the remote cockpit goes through the Internet: see Remote cockpit.

See also