05.03.2014 Views

Nanometrics Data Formats Reference Guide

Nanometrics Data Formats Reference Guide

Nanometrics Data Formats Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2<br />

NMX Alert Format<br />

2.1 Overview<br />

<strong>Nanometrics</strong> Janus, Europa, and Libra family instruments can be enabled to send Alert<br />

frames to notify users of certain important state changes. These frames are send via<br />

either unicast or multicast UDP to an alert handler which forwards appropriate messages<br />

to a list of subscribers via email or other transport. Currently, the only alert handler<br />

which has been implemented by <strong>Nanometrics</strong> is AlertMailer, which forwards alert<br />

messages via email. For further information, see the AlertMailer reference manual.<br />

Each Alert frame is issued in response to an important state change on the instrument,<br />

such as loss of contact with a VSat remote instrument, or supply voltage leaving the<br />

acceptable range. A corresponding message is issued when the condition is corrected.<br />

Alert frames are sent via UDP to the alert destination address and port defined in the<br />

internet section of the instrument configuration. These packets are not acknowledged<br />

by the alert receiver, and there is no mechanism for requesting retransmission of an<br />

Alert frame.<br />

2.2 Alert frame format<br />

Each message contains information identifying the message source, error class and<br />

severity, and time of occurrence. It also contains a format string and a string of arguments<br />

describing the error condition in detail. The arguments and format string are sent<br />

separately to allow reformatting of the message by the alert forwarding software.<br />

Details of this argument replacement method are provided below.<br />

The frame format is as follows:<br />

4 byte int packet identifier = 0x7ABCDE0F<br />

4 byte int message type = 320<br />

4 byte int message content length = 20 + sum of string lengths<br />

4 byte int Message severity<br />

8 byte int Message time (UT, milliseconds)<br />

String sourceID = name of the module which generated the alert<br />

String classID = type name of the alert message<br />

14602R4<br />

<strong>Nanometrics</strong> <strong>Data</strong> <strong>Formats</strong><br />

2003-11-07 <strong>Reference</strong> <strong>Guide</strong><br />

23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!