B+K precision 4075B User Manual page 106

Arbitrary/function waveform generator
Table of Contents

Advertisement

0000
The definite form <preamble> consists of two fields. The first is a single byte representing the number
of digits in the byte count. The byte count is the second field in the preamble, and consists of decimal
bytes (0-9), which, when taken together, give the byte count.
Example of definite form (sending values 0,1,2 decimal):
:ARB:DATA #16\x0\x0\x0\x1\x0\x2
means that the byte count consists of 1 byte only, and the number of bytes is 6. (Note: '\x' refers to
Hexadecimal) The indefinite form preamble consists of a 0 character alone.
Example of indefinite form (same data as above):
:ARB:DATA #0\x0\x0\x0\x1\x0\x2\x0A
Since it does not contain a byte count, the indefinite form command must be terminated with EOI if
using GPIB or CR and/or LF when using RS232 interface. (Note: '\x0A' is the hexadecimal value for LF)
Since each arbitrary data point consists of two bytes, an even number of bytes must be sent. In the
following examples, the data is specified in Hex format with each byte being preceded by ' \x', in order
to show this.
Example of definite form:
:ARB:DATA #16\x8\x0\x8\x1\x8\x2
Here, the byte count consists of one byte only, and the value is 6.
Example to definite form:
:ARB:DATA #0\x8\x0\x8\x1\x8\x2\x0A
The '\x0A' represents the Linefeed character. EOI must be sent with this character. Arbitrary data read
from the instrument in binary form, as opposed to ASCII, are returned in indefinite form. Before
sending your data enable all errors to be reported, using
:STAT:QUEUE:ENABLE ALL.
Then, if the arb data command causes an error, the error message may be read from the queue using
the query.
:SYST:ERR?
1.800.544.2843
93
www.calcert.com
15
10
20
5
25
0
30
sales@calcert.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

4076b4077b4078b4079b4080b

Table of Contents