Programming
EPM2000/EPM2000e Reference Guide
37
OUTPUT DUMP
Query the EPM2000 data buffer contents, but only when out cont is off. Upon receiving an out
dump command, the EPM2000 immediately flushes the contents of its buffer out the selected
communications port. out form dictates the nature of the data that is transmitted. Pulse information
received by the instrument during the execution of an out dump is stored within the data buffer.
Command Form
OUTput DUMP
Example
Input Instrument Reply
out dump <
listing of data
>
OUTPUT FORMAT
Set or query the format which the EPM2000 uses to transmit data. Ordinary device queries are
always answered by the EPM2000 in ASCII -- this command determines the format of pulse data
only. The three forms are Binary, ASCII, and ASCII+.
Binary
The most compact form of data storage. In this mode, the EPM2000 transmits 8-bit values, which
decode to one of the following four types of data: Status Byte, Data High Byte, Data Low Byte, or
Timestamp Bytes.
Status Bytes determine such qualities as channel, range, units, and type of data. Status Bytes only
appear in the data stream when one or more of those data properties changes or at the beginning of
the data transmission. Status Bytes will always be followed by other Status Bytes or by a Data High
Byte. Bit 7 of a Status Byte will always be 0.
Status Bytes decode as follows:
Bit 7 Always 0
Bit 6 Channel
0 = Channel A
1 = Channel B
Bit 5 Information Type
0 = Range Information
1 = Unit Information
Bit 76543210
Mnemonic 0 ChanTyped4d3d2d1d0
Table 3: Status Byte Map.