6 General Programming
248 Keysight M8195A Revision 2 – Arbitrary Waveform Generator User’s Guide
TXT
One file contains waveform samples for one M8195A channel as normalized values (-
1.0 .. +1.0) and optionally marker values separated by ‘,’ or ‘;’ or ‘\t’. Not given
marker values are just set to 0. Space ‘ ‘ and ‘\t’ are ignored. Line end can be \r or
\r\n. The waveform samples can be imported to any of the four M8195A channels.
Example (US locale)
0.7,0,1
0.9,1
Example (German locale):
0,7;0;1
0,9;1
In German locale it is recommended (but not required) to use ‘;’ or ‘\t’ as separator.
But it must then be ensured that the double really has a decimal point (‘,’) or there is
some space inserted to ensure correct parsing:
0,7,0,1
0 ,0,1
BIN
One file contains waveform samples and marker bits for one channel. Samples
consist of binary int16 values in little endian byte order.
The waveform samples can be imported to any of the four M8195A channels. The
MSBs DB13 to DB6 are used as 8-bit sample values. The LSBs DB5 to DB0 are
ignored. The marker SMPM is loaded into channel 3 and SYNM into channel 4.
BIN8
BIN8 is the most memory efficient file format for the M8195A without digital markers.
As a result, the fastest file download can be achieved
One file contains waveform samples for one channel. The waveform samples can be
imported to any of the four M8195A channels. Samples consist of binary int8 values:
IQBIN
One file contains I/Q sample pairs and two markers (in little endian byte order). The
marker SMPM is loaded into channel 3 and SYNM into channel 4.