— 34 —
VIII. Recording of Diagnostics Data
With the command
YDNU DIAG
(sent in the same way as mode operation commands, see chapter V)
you can start recording diagnostics data.
The Device confirms the command
YDNU DIAG
by a three-second green signal from the LED, saves
a copy of current settings (including filters) to a diagnostic record, and after 3 seconds starts recording
all data traffic on the NMEA 2000 and USB interfaces. Data are saved to the EEPROM buffer of 1 MB size.
One second of recording usually takes 2 – 10 KB and the buffer is enough for 2-10 minutes of recording.
To stop recording, you can send a
YDNU MODE SERVICE
command. Recording also stops when free space
in the EEPROM buffer is finished. The Device informs you with three-second red signal from the LED
when stops recording.
Example of starting and stopping of recording in Microsoft Windows (please, see explanation of command
syntax in the chapter V):
C:\>echo YDNU DIAG > COM3
C:\>echo YDNU MODE SERVICE > COM3
Note that the buffer stores only one diagnostics record, and starting a new recording overwrites
the previous diagnostics record.
To save the recorded diagnostics data to a file, you can print the diagnostics data with the
DIAG ALL
command in the service menu (see VII.5) with session logging turned on in your terminal application.
All diagnostics data will be saved to a session log file.
In Mac OS X and Linux, you can turn on session logging with the –L key of the screen command:
Serial ports are not intended for simultaneous use in multiple applications. You must close your
marine application (or turn off the Device’s port in the application settings) before sending
the command to Device.