DRS4 Evaluation Board User’s Manual
Page 22 of 43
Waveforms can be saved in ASCII and binary formats by pressing the “Save” button. After
opening a file, each trigger will write the waveform of the active channel(s) to that file. Note
that when running for some time, the file will grow very quickly. If the file has the extension
“.xml” it will be written in ASCII form using XML encoding, otherwise a raw binary file will
be written. Here is a snipped of such an XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- created by MXML on Fri Dec 13 16:11:35 2013 -->
<DRSOSC>
<Event>
<Serial>1</Serial>
<Time>2013/12/13 16:11:35.341</Time>
<HUnit>ns</HUnit>
<VUnit>mV</VUnit>
<Board_2345>
<Trigger_Cell>121</Trigger_Cell>
<Scaler1>1234</Scaler1>
<CHN1>
<Data>-1.546,-472.3</Data>
<Data>-1.320,-428.3</Data>
...
<Data>198.020,-499.9</Data>
<Data>198.267,-475.3</Data>
</Data>
<Scaler2>1234</Scaler2>
<CHN2>
<Data>-1.568,-439.0</Data>
<Data>-1.335,-388.7</Data>
...
<Data>198.000,-481.6</Data>
<Data>198.261,-448.3</Data>
</CHN2>
</Board_2345>
</Event>
<Event>
<Serial>2</Serial>
<Time>2013/12/13 16:11:35.343</Time>
<HUnit>ns</HUnit>
<VUnit>mV</VUnit>
<Board_2345>
<Trigger_Cell>101</Trigger_Cell>
<Scaler1>4321</Scaler1>
<CHN1>
<Data>-1.653,-516.0</Data>
<Data>-1.437,-462.9</Data>
...
Each individual event contains a header with the serial number of that event (starting with 1),
and the date/time it has been recorded. This is followed by the evaluation board serial number.
In case of a multi-board configuration (starting with software version 4.1) there might be
more than one board recorded, which can be distinguished by their board serial numbers.
After the board serial number there is an entry of the Trigger Cell. This is the DRS4 memory
cell which received the trigger, which can normally be ignored.
Then there is the channel data with pairs of time (in ns) and voltage (in mV), where time zero
is at the trigger point. The number of channels depend on which channel was on when the