69
Communication Command Forwarding Function
8.6 Communication Command Forwarding Function
The communication command forwarding function forwards commands sent from the host to the
communication interface (RS-232C) of the instrument without making any change.
•
It is possible to control both the device and instrument using one communication port.
•
Commands are sent to the instrument in synchronization with the completion of channel switching
operation.
Data received from the instrument can also be forwarded in addition to sent data.
Number of devices to which
data can be forwarded
1
Forwarding method
After the forward command “
:A
”, add a transmit character string as a
parameter.
(use double quotation marks for the transmit character string.)
Example:
*
RST
is sent to the instrument.
:A "
*
RST"
Or
“
:A
”
can also be added to the start of the transmit character string.
(In this case, do not insert a space after “
:A
”)
Example:
*
RST
is sent to the instrument.
:A
*
RST
Example:
:FUNC RV
is sent to the instrument.
:A:FUNC RV
Receiving method
Specify a query by adding “
?
” to the forward command’s “
:A
” string.
(use double quotation marks for the transmit character string.)
Example:
Send the query
:READ?
to the instrument and receive a
response.
:A ":READ?"
Or “
:A
” can also be added to the start of the query character string.
Example:
Send the query
:READ?
to the instrument and receive a
response.
:A:READ?
Commands to the device and to the instrument can be mixed.
Example:
With CH101 selected, the query
:READ?
is sent to the instrument and the measured
value is received.
CLOSE 101
:A ":READ?"
After the last command execution of the device is completed, command (or query) forward to the
instrument is executed.
When the power is turned on, the first data received from the instrument using this function
may include undefined values at the beginning (for example, undefined data accompanying the
activation of the instrument’s power supply).
Before receiving data for the first time, send the
:A
*
IDN?
query and receive the response in order
to clear the device’s receive buffer.
Transferring is done by row unit and buffer is approx. 128 byte of both sending and receiving.
Binary data is incompatible.
8
Communication Function
HIOKI SW1001A961-04
Summary of Contents for SW9001
Page 2: ...HIOKI SW1001A961 04...
Page 42: ...38 Channel Delay Function HIOKI SW1001A961 04...
Page 48: ...44 Scan Measurement Example HIOKI SW1001A961 04...
Page 50: ...46 Checking the Device Status HIOKI SW1001A961 04...
Page 52: ...48 Initialization Settings HIOKI SW1001A961 04...
Page 118: ...114 Sample Programs 3 Select FILE Save All HIOKI SW1001A961 04...
Page 160: ...156 Outline Drawings 12 4 Outline Drawings SW1001 Unit mm Tolerance 0 2 HIOKI SW1001A961 04...
Page 161: ...157 Outline Drawings SW1002 Unit mm Tolerance 0 2 12 Appendix HIOKI SW1001A961 04...
Page 162: ...158 Outline Drawings HIOKI SW1001A961 04...
Page 164: ...160 HIOKI SW1001A961 04...
Page 167: ...HIOKI SW1001A961 04...
Page 168: ...HIOKI SW1001A961 04...
Page 169: ...HIOKI SW1001A961 04...