B&K Precision 4078 - Manual User Manual

Page 45

Advertising
background image


or numeric. A numeric value is rounded to an integer. A non-zero result is interpreted as 1 (ON), and a zero result as
0 (OFF).

Queries return the values 0 or 1.


iii) NRf


This is a decimal numeric data type, where

NR1 indicates an integer number,

NR2 indicates a fixed point real number, and

NR3 indicates a floating point real number.


iv) Expression data

An expression is contained in parentheses (...). This data type is used only with the
STATus:QUEue:ENABle command.


v) Numeric value program data

This data type defines numeric values, as well as special cases of Character Data. Numeric values may be
specified in any of Integer, Fixed Point or Floating Point format. All parameters which have associated
units accept a suffix, which may be specified using upper or lower-case characters. When the suffix is not
specified, the numeric value is accepted in the default units, which are Hertz for frequency, Seconds for
time, and Volts for voltage. To set the frequency to 1 KHz we can send one of the following commands:


FREQ 1000

FREQ 1E3


The special forms of character data accepted as numbers are


MAXimum: sets the parameter to its maximum value.

MINimum: sets the parameter to its minimum value.


For example, to set the frequency to its maximum value we can send the command


FREQ MAX


vi) Arbitrary Block Data

The Arbitrary block data type is used to send arbitrary waveform data to the instrument. In this data type,
the waveform points are specified in binary format, and each point consists of two bytes. Two types of
arbitrary block data are defined (by IEEE 488.2):


Definite Form


The Definite Form has the structure


ִ

-#-Byte Count Length - Byte Count - 8-bit byte

The Byte Count Length consists of a single ASCII digit from 1 to 9. It tells the parser how many digits are
in the Byte Count.

The Byte Count is a decimal integer made up of the number of digits specified in the Byte Count Length. It
tells the parser how many 8-bit bytes are being sent.


Indefinite Form


The Indefinite Form has the structure

Advertising
This manual is related to the following products: