C-SCPI Data
Types
162 HP E1415 Command Reference
[SENSe:]
FUNCtion
:RESistance <range>,(@<ch_list>)
:TEMPerature <sensor>[,<range>,](@<ch_list>)
:VOLTage[:DC] [<range>,](@<ch_list>)
Rather than send a complete SCPI command to set each function, you could send:
FUNC:RES 10000,(@100:107);TEMP RTD, 92,(@108:115);VOLT (@116,123)
This sets the first 8 channels to measure resistance, the next 8 channels to measure
temperature, and the next 8 channels to measure voltage.
Note
The command keywords following the semicolon must be from the same
command branch and level as the complete command preceding the
semicolon or a -113,"Undefined header" error will be generated.
The following table shows the allowable type and sizes of the C-SCPI parameter data
sent to the module and query data returned by the module. The parameter and returned
value type is necessary for programming and is documented in each command in
this chapter.
Data Types
float32
float64
int16
Signed 16-bit integer number.
int32
Signed 32-bit integer number.
uint16
Unsigned 16-bit integer number.
uint32
Unsigned 32-bit integer number.
32-bit floating point number.
64-bit floating point number.
string
String of characters (null terminated)
Description
Chapter 6