Using the Solar Array Simulator 4
Series E4360 User’s Guide 79
Format and Fetch the Measurements
Data transferring can be accomplished in the following formats:
ASCII - Numeric data is transferred as ASCII bytes in <NR1>, <NR2>, or
<NR3> format as appropriate. The numbers are separated by commas.
REAL - Data is transferred in a definite-length block as floating point
numbers of 32 bits.
For binary data format, you can also specify how this data is transferred.
NORMal - normal order (little-endian) or SWAPped - swapped-byte
order (big-endian).
Use the following commands to select the transferred data format:
Front Panel:
SCPI Command:
Not available.
To specify ASCII data format on output 1:
FORM ACII,(@1)
To specify real data format on output 1:
FORM REAL,(@1)
To specify normal binary transfer on
output 1:
FORM:BORD NORM,(@1)
To specify swapped binary transfer on
output 1:
Use the following command to retrieve the data. Specify the desired
number of measurement records to return.
Front Panel:
SCPI Command:
Not available.
To return 12 records from output 1:
Data is returned in the following order:
<meas_volt>,<meas_curr>[,<meas_volt>,<meas_curr>]
The data type for <meas_volt> and <meas_curr> are float32 and the
ASCii response is in NR3 format.
Multi-channel queries are not supported in ASCii mode. A separate
transaction must be used to get data from each channel.
If there are fewer than n records available, all available records will be
returned. Reading buffered measurements can occur while new
measurements are being buffered. Doing this clears up buffer space for
new measurements. This allows continuous acquisition to be
implemented.