Format#
SCPI Commands
- FORMat:BORDer
- FORMat:SREGister
- FORMat:[DATA]
Direct SCPI Members
- ByteOrderEnum Border#
// SCPI: FORMat:BORDer ByteOrderEnum value = driver.Format.Border; driver.Format.Border = ByteOrderEnum.NORMal;Determines the sequence of bytes within a binary block. This only affects blocks which use the IEEE754 format internally.
border: NORMal | SWAPped
NORMal: Expects/sends the least significant byte of each IEEE754 floating-point number first and the most significant byte last.
SWAPped: Expects/sends the most significant byte of each IEEE754 floating-point number first and the least significant byte last.
- FormStatRegEnum Sregister#
// SCPI: FORMat:SREGister FormStatRegEnum value = driver.Format.Sregister; driver.Format.Sregister = FormStatRegEnum.ASCii;Determines the numeric format for responses of the status register.
format: ASCii | BINary | HEXadecimal | OCTal
ASCii: Returns the register content as a decimal number.
BINary | HEXadecimal | OCTal: Returns the register content either as a binary, hexadecimal or octal number. According to the selected format, the number starts with #B (binary) , #H (hexadecimal) or #O (octal) .
- FormDataEnum Data#
// SCPI: FORMat:[DATA] FormDataEnum value = driver.Format.Data; driver.Format.Data = FormDataEnum.ASCii;Determines the data format the instrument uses to return data via the IEC/IEEE bus. The instrument automatically detects the data format used by the controller, and assigns it accordingly. Data format determined by this SCPI command is in this case irrelevant.
data: ASCii | PACKed
ASCii: Transfers numerical data as plain text separated by commas.
PACKed: Transfers numerical data as binary block data.The format within the binary data depends on the command. The various binary data formats are explained in the description of the parameter types.