Remote Operation Command Details | Remote Operation |
4-3 Remote Operation Command Details
Each command needs to be followed by a Line Feed (0x0A, ASCII 10) termination character. Response from the sensor will have a Line Feed (0x0A, ASCII 10) termination character attached at the end.
START
Description: Puts the power sensor in measurement mode. Syntax: START + LF
Return Value: None for the first time, OK for any subsequent command sent.
Remarks: This command does not return anything when sent the first time. For any subsequent START commands, the sensor will return OK. This is helpful, if the user wants to know if the sensor is in measurement mode.
STOP
Description: Stops the measurement mode and puts the sensor in idle mode.
Syntax: STOP + LF
Return Value: OK or ERR
Remarks: This command should be sent before exiting the user application.
IDN?
Description: Gets identification information from the sensor.
Syntax: IDN? + LF
Return Value: ANRITSU, Model #, Serial #, Module Serial #, firmware version
PWR?
Description: Gets the power reading from the power sensor. Syntax: PWR? + LF
Return Value: Power value in dBm
Remarks: If an error condition exists, the returned power reading values are
NPWR?
Description: Gets a new power reading from the power sensor. Syntax: NPWR? + LF
Return Value: Current Power value in dBm
Remarks: After receiving this command, the power sensor discards the existing data that is stored in the sensor’s buffer. A new measurement of the current power is initiated to get a new power reading.
If an error condition exists, the returned power reading values are
Note: This command is only available in sensor firmware versions 1.01 and later.
MA24106A UG |