8250A Optical Power Meter Operation Manual
4.6 Remote Command
4-17
4.6
Remote Command
4.6.1
How to Set the Remote Command
1. Remote command syntax
•
A command which consists of a header and no arguments
<Example> *TRG (Measurement start)
ZR (ZERO correction execution)
•
A command which consists of a header and an argument
<Example> R4 (Setting to 20 nW)
CF0.25 (CF coefficient setting)
An argument can be set as integer, floating point, or fixed point.
However, the number of characters must be less than or equal to 23.
•
Query command
<Example> M? (Inquiry of the trigger mode)
The device setting conditions are output by executing the data reading command, which follows
the query command.
CAUTION:
When transmitting the query command on USB, set a wait time of 20 ms after the last com-
mand.
2. Linking a header to an argument
The following two methods can be used to link a header with its argument, the rest cause an error.
•
Inserting no space between the header and the argument
<Example> DW0 (Setting the unit display to dBm)
•
Inserting a space between the header and the argument
<Example> DW 1 (Setting the unit display to W)
3. Command separator
The following four methods can be used, other methods cause an error.
•
Inserting no space between commands
<Example> DW1R11 (Setting the unit display to W and the measurement range to 200 mW)
•
Inserting a space between commands
<Example> WL405 SM1 (Setting the measurement wavelength to 405 nm and the smoothing
calculation to ON)
•
Inserting a comma between each command
<Example> CF1.5,CFS1 (Setting the CF coefficient to 1.5 and the CF calculation to ON)
•
Inserting a semicolon between each command
<Example> RT1;MAX1 (Setting the RATIO calculation to ON and the MAX calculation to ON)
4. Rules of command execution
•
Because all commands are executed according to the program order, if a command is transmit-