NAME
samplePort - trigger acquisition and display data sample from instrument on specified port of specified MOOS node
SYNOPSIS
samplePort nodeHost portName(s)
DESCRIPTION
The samplePort utility triggers acquisition of a data sample from the instrument on the specified port(s) of the specified MOOS node; samplePort then displays the resulting data sample.  The packet display has the following format:
 
devid=12345, t=1048118400498
<data bytes>
where "devid" is the unique ISI ID of the instrument, and t is the timestamp of the data in milliseconds since epoch (January 1, 1970).

Multiple ports may be specified, e.g.

% samplePort sidearm6 /dev/ttySX1 /dev/ttySX2 /dev/ttySX3
The portName(s) can be abbreviated as an integer, i.e. "/dev/ttySX1" can be abbreviated as simply "1". Thus the above example is equivalent to
% samplePort sidearm6 1 2 3

This utility may be run on the same host as the node, or on any networked host from which the node host is accessible. If run on the node's host, then nodeHost should be specified as "localhost".


ENVIRONMENT
The following environment variables must be set:


SEE ALSO

 listPorts