ML2439A USB Power Meter User Guide : SCPI Commands : SYSTem Subsystem
 
SYSTem Subsystem
The SYSTem group of commands is used to control system-level functions not directly related to instrument measurement performance. SYSTem commands are used to return error codes or messages from the power meter error queue, control hardware features (backlight and key beep), access the internal clock/calendar, and configure communication parameters for the GPIB and LAN interfaces.
SYSTem:BEEP[:ENABle]
Description:
Set or return the status of the audible keyboard beeper. Syntax: SYSTem:BEEP[:ENABle] <Boolean>
Argument:
<Boolean> = { 0, 1, OFF, ON }
Valid Modes:
Any
 
SYSTem:COMMunicate:GPIB:ADDRess
Description:
Set or return the GPIB bus address.
Syntax:
SYSTem:COMMunicate:GPIB:ADDRess <numeric_value>
Argument:
<numeric_value> = 1 to 30
Valid Modes:
Any
 
SYSTem:COMMunicate:LAN:ADDRess
Description:
Set or return the IP address for the Ethernet port.
Syntax:
SYSTem:COMMunicate:LAN:ADDRess <character data>
Argument:
<character data> = instrument IP address in nnn.nnn.nnn.nnn (“dot decimal”) format
Valid Modes:
Any for queries. DHCP/AutoIP must be disabled (OFF) to set the instrument IP address.
 
SYSTem:COMMunicate:LAN:DHCP
Description:
Set or return the state of DHCP/AutoIP system for the Ethernet port. If DHCP/AutoIP is enabled (1 | ON), the instrument will attempt to obtain its IP Address, Subnet Mask, and Default Gateway from a DHCP (dynamic host configuration protocol) server on the network. If no DHCP server is found, the instrument will select its own IP Address, Subnet Mask, and Default Gateway values using the “AutoIP” protocol. If DHCP/AutoIP is disabled (0 | OFF), the instrument will use the IP Address, Subnet Mask, and Default Gateway values that have been entered by the user.
Syntax:
SYSTem:COMMunicate:LAN:DHCP <Boolean>
Argument:
<Boolean> = { 0, 1, OFF, ON }
Valid Modes:
Any
 
SYSTem:ERRor[:NEXT]?
Description:
Returns the next queued error code number followed by a quoted ASCII text string describing the error. Note that errors are stored in a “first-in-first-out” queue, so if more than one error has occurred, repeating this command will report the errors in the sequence they happened. The action of reading an error removes that error from the queue, so once the most recent error has been read, further queries will report a code of zero, and “No Error”
Syntax:
SYSTem:ERRor[:NEXT]?
Returns:
<numeric error code>, “QUOTED ERROR DESCRIPTION”
Valid Modes:
Any
 
SYSTem:ERRor:CODE?
Description:
Returns the next queued error code number. Note that errors are stored in a “first-in- first-out” queue, so if more than one error has occurred, repeating this command will report the error codes in the sequence they happened. The action of reading an error removes that error from the queue, so once the most recent error has been read, any more queries will report a code of zero.
Syntax:
SYSTem:ERRor:CODE?
Returns:
<numeric error code>
Valid Modes:
Any
 
SYSTem:ERRor:COUNt?
Description:
Returns the number of errors that currently exist in the error queue. A value of 0 means that there are no errors in the queue. Therefore, either no errors have occurred, or all errors have been read.
Syntax:
SYSTem:ERRor:COUNt?
Returns:
<numeric error code>
Valid Modes:
Any
 
SYSTem:PRESet
Description:
Set ML2439A default parameters. Equivalent to selecting “Initialize” from Measure > Meas. Settings on the ML2439A meter.
Syntax:
SYSTem:PRESet
Argument:
None
Valid Modes:
Any
 
SYSTem:VERSion?
Description:
Return the SCPI version compliance claimed.
Syntax:
SYSTem:VERSion?
Returns:
<character data> = Version Code as <year.version> YYYY.V (will return 1999.0)
Valid Modes:
Any