ethernet
¶
The ethernet commands module.
These commands are used in the following models: MSO2
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- ETHERnet:DHCPbootp {ON|OFF}
- ETHERnet:DHCPbootp?
- ETHERnet:DNS:IPADDress <QString>
- ETHERnet:DNS:IPADDress?
- ETHERnet:DOMAINname <QString>
- ETHERnet:DOMAINname?
- ETHERnet:ENET:ADDress?
- ETHERnet:GATEWay:IPADDress <QString>
- ETHERnet:GATEWay:IPADDress?
- ETHERnet:IPADDress <QString>
- ETHERnet:IPADDress?
- ETHERnet:LXI:LAN:RESET
- ETHERnet:LXI:LAN:SERVICENAMe <QString>
- ETHERnet:LXI:LAN:SERVICENAMe?
- ETHERnet:LXI:LAN:STATus?
- ETHERnet:NAME <QString>
- ETHERnet:NAME?
- ETHERnet:NETWORKCONFig {AUTOmatic|MANual}
- ETHERnet:NETWORKCONFig?
- ETHERnet:PING EXECute
- ETHERnet:PING:STATus?
- ETHERnet:SUBNETMask <QString>
- ETHERnet:SUBNETMask?
Ethernet
¶
Bases: SCPICmdRead
The ETHERnet command tree.
Usage
- Using the
.query()method will send theETHERnet?query. - Using the
.verify(value)method will send theETHERnet?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.dhcpbootp: TheETHERnet:DHCPbootpcommand..dns: TheETHERnet:DNScommand tree..domainname: TheETHERnet:DOMAINnamecommand..enet: TheETHERnet:ENETcommand tree..gateway: TheETHERnet:GATEWaycommand tree..ipaddress: TheETHERnet:IPADDresscommand..lxi: TheETHERnet:LXIcommand tree..name: TheETHERnet:NAMEcommand..networkconfig: TheETHERnet:NETWORKCONFigcommand..ping: TheETHERnet:PINGcommand..subnetmask: TheETHERnet:SUBNETMaskcommand.
dhcpbootp
property
¶
dhcpbootp: EthernetDhcpbootp
Return the ETHERnet:DHCPbootp command.
Description
- This command sets the network configuration method to DHCP (that is ON) or static IP address (that is OFF).
Usage
- Using the
.query()method will send theETHERnet:DHCPbootp?query. - Using the
.verify(value)method will send theETHERnet:DHCPbootp?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:DHCPbootp valuecommand.
SCPI Syntax
- ETHERnet:DHCPbootp {ON|OFF}
- ETHERnet:DHCPbootp?
Info
ONenables the instrument to search the network for a DHCP server in order to automatically assign a dynamic IP address to the instrument.OFFdisables the instrument to search the network for a DHCP server.
dns
property
¶
dns: EthernetDns
Return the ETHERnet:DNS command tree.
Usage
- Using the
.query()method will send theETHERnet:DNS?query. - Using the
.verify(value)method will send theETHERnet:DNS?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.ipaddress: TheETHERnet:DNS:IPADDresscommand.
domainname
property
¶
domainname: EthernetDomainname
Return the ETHERnet:DOMAINname command.
Description
- This command specifies the network domain name.
Usage
- Using the
.query()method will send theETHERnet:DOMAINname?query. - Using the
.verify(value)method will send theETHERnet:DOMAINname?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:DOMAINname valuecommand.
SCPI Syntax
- ETHERnet:DOMAINname <QString>
- ETHERnet:DOMAINname?
Info
<QString>is the network domain name, enclosed in quotes.
enet
property
¶
enet: EthernetEnet
Return the ETHERnet:ENET command tree.
Usage
- Using the
.query()method will send theETHERnet:ENET?query. - Using the
.verify(value)method will send theETHERnet:ENET?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.address: TheETHERnet:ENET:ADDresscommand.
gateway
property
¶
gateway: EthernetGateway
Return the ETHERnet:GATEWay command tree.
Usage
- Using the
.query()method will send theETHERnet:GATEWay?query. - Using the
.verify(value)method will send theETHERnet:GATEWay?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.ipaddress: TheETHERnet:GATEWay:IPADDresscommand.
ipaddress
property
¶
ipaddress: EthernetIpaddress
Return the ETHERnet:IPADDress command.
Description
- This command sets the IP address assigned to the instrument.
Usage
- Using the
.query()method will send theETHERnet:IPADDress?query. - Using the
.verify(value)method will send theETHERnet:IPADDress?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:IPADDress valuecommand.
SCPI Syntax
- ETHERnet:IPADDress <QString>
- ETHERnet:IPADDress?
Info
<QString>is a standard IP address value, enclosed in quotes.
lxi
property
¶
lxi: EthernetLxi
Return the ETHERnet:LXI command tree.
Usage
- Using the
.query()method will send theETHERnet:LXI?query. - Using the
.verify(value)method will send theETHERnet:LXI?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.lan: TheETHERnet:LXI:LANcommand tree.
name
property
¶
name: EthernetName
Return the ETHERnet:NAME command.
Description
- This command sets or queries the instrument Ethernet hostname assigned to the instrument.
Usage
- Using the
.query()method will send theETHERnet:NAME?query. - Using the
.verify(value)method will send theETHERnet:NAME?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:NAME valuecommand.
SCPI Syntax
- ETHERnet:NAME <QString>
- ETHERnet:NAME?
Info
<QString>is the network name assigned to the instrument, enclosed in quotes.
networkconfig
property
¶
networkconfig: EthernetNetworkconfig
Return the ETHERnet:NETWORKCONFig command.
Description
- This command specifies the Ethernet network configuration setting.
Usage
- Using the
.query()method will send theETHERnet:NETWORKCONFig?query. - Using the
.verify(value)method will send theETHERnet:NETWORKCONFig?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:NETWORKCONFig valuecommand.
SCPI Syntax
- ETHERnet:NETWORKCONFig {AUTOmatic|MANual}
- ETHERnet:NETWORKCONFig?
Info
AUTOmaticspecifies that the instrument’s IP address, subnet mask and gateway settings will be received from a DHCP server on the local network.MANualspecifies that the Ethernet settings will be configured manually, usingETHERNET:IPADDRESS,ETHERNET:SUBNETMASK, andETHERNET:GATEWAY:IPADDRESS.
ping
property
¶
ping: EthernetPing
Return the ETHERnet:PING command.
Description
- Sends a ping packet to the instrument gateway and sets the status accordingly.
Usage
- Using the
.write(value)method will send theETHERnet:PING valuecommand.
SCPI Syntax
- ETHERnet:PING EXECute
Sub-properties
.status: TheETHERnet:PING:STATuscommand.
subnetmask
property
¶
subnetmask: EthernetSubnetmask
Return the ETHERnet:SUBNETMask command.
Description
- This command sets or queries the instrument subnet mask value.
Usage
- Using the
.query()method will send theETHERnet:SUBNETMask?query. - Using the
.verify(value)method will send theETHERnet:SUBNETMask?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:SUBNETMask valuecommand.
SCPI Syntax
- ETHERnet:SUBNETMask <QString>
- ETHERnet:SUBNETMask?
Info
<QString>is the subnet mask value, enclosed in quotes.
EthernetDhcpbootp
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:DHCPbootp command.
Description
- This command sets the network configuration method to DHCP (that is ON) or static IP address (that is OFF).
Usage
- Using the
.query()method will send theETHERnet:DHCPbootp?query. - Using the
.verify(value)method will send theETHERnet:DHCPbootp?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:DHCPbootp valuecommand.
SCPI Syntax
- ETHERnet:DHCPbootp {ON|OFF}
- ETHERnet:DHCPbootp?
Info
ONenables the instrument to search the network for a DHCP server in order to automatically assign a dynamic IP address to the instrument.OFFdisables the instrument to search the network for a DHCP server.
EthernetDns
¶
Bases: SCPICmdRead
The ETHERnet:DNS command tree.
Usage
- Using the
.query()method will send theETHERnet:DNS?query. - Using the
.verify(value)method will send theETHERnet:DNS?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.ipaddress: TheETHERnet:DNS:IPADDresscommand.
ipaddress
property
¶
ipaddress: EthernetDnsIpaddress
Return the ETHERnet:DNS:IPADDress command.
Description
- This command specifies the network Domain Name Server (DNS) IP address.
Usage
- Using the
.query()method will send theETHERnet:DNS:IPADDress?query. - Using the
.verify(value)method will send theETHERnet:DNS:IPADDress?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:DNS:IPADDress valuecommand.
SCPI Syntax
- ETHERnet:DNS:IPADDress <QString>
- ETHERnet:DNS:IPADDress?
Info
<QString>is a standard IP address value, enclosed in quotes.
EthernetDnsIpaddress
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:DNS:IPADDress command.
Description
- This command specifies the network Domain Name Server (DNS) IP address.
Usage
- Using the
.query()method will send theETHERnet:DNS:IPADDress?query. - Using the
.verify(value)method will send theETHERnet:DNS:IPADDress?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:DNS:IPADDress valuecommand.
SCPI Syntax
- ETHERnet:DNS:IPADDress <QString>
- ETHERnet:DNS:IPADDress?
Info
<QString>is a standard IP address value, enclosed in quotes.
EthernetDomainname
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:DOMAINname command.
Description
- This command specifies the network domain name.
Usage
- Using the
.query()method will send theETHERnet:DOMAINname?query. - Using the
.verify(value)method will send theETHERnet:DOMAINname?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:DOMAINname valuecommand.
SCPI Syntax
- ETHERnet:DOMAINname <QString>
- ETHERnet:DOMAINname?
Info
<QString>is the network domain name, enclosed in quotes.
EthernetEnet
¶
Bases: SCPICmdRead
The ETHERnet:ENET command tree.
Usage
- Using the
.query()method will send theETHERnet:ENET?query. - Using the
.verify(value)method will send theETHERnet:ENET?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.address: TheETHERnet:ENET:ADDresscommand.
address
property
¶
address: EthernetEnetAddress
Return the ETHERnet:ENET:ADDress command.
Description
- Returns the Ethernet address (MAC address) value assigned to the instrument. This is assigned at the factory and can not be changed.
Usage
- Using the
.query()method will send theETHERnet:ENET:ADDress?query. - Using the
.verify(value)method will send theETHERnet:ENET:ADDress?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ETHERnet:ENET:ADDress?
EthernetEnetAddress
¶
Bases: SCPICmdRead
The ETHERnet:ENET:ADDress command.
Description
- Returns the Ethernet address (MAC address) value assigned to the instrument. This is assigned at the factory and can not be changed.
Usage
- Using the
.query()method will send theETHERnet:ENET:ADDress?query. - Using the
.verify(value)method will send theETHERnet:ENET:ADDress?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ETHERnet:ENET:ADDress?
EthernetGateway
¶
Bases: SCPICmdRead
The ETHERnet:GATEWay command tree.
Usage
- Using the
.query()method will send theETHERnet:GATEWay?query. - Using the
.verify(value)method will send theETHERnet:GATEWay?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.ipaddress: TheETHERnet:GATEWay:IPADDresscommand.
ipaddress
property
¶
ipaddress: EthernetGatewayIpaddress
Return the ETHERnet:GATEWay:IPADDress command.
Description
- This command specifies the network gateway IP address.
Usage
- Using the
.query()method will send theETHERnet:GATEWay:IPADDress?query. - Using the
.verify(value)method will send theETHERnet:GATEWay:IPADDress?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:GATEWay:IPADDress valuecommand.
SCPI Syntax
- ETHERnet:GATEWay:IPADDress <QString>
- ETHERnet:GATEWay:IPADDress?
Info
<QString>is a standard IP address value, enclosed in quotes.
EthernetGatewayIpaddress
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:GATEWay:IPADDress command.
Description
- This command specifies the network gateway IP address.
Usage
- Using the
.query()method will send theETHERnet:GATEWay:IPADDress?query. - Using the
.verify(value)method will send theETHERnet:GATEWay:IPADDress?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:GATEWay:IPADDress valuecommand.
SCPI Syntax
- ETHERnet:GATEWay:IPADDress <QString>
- ETHERnet:GATEWay:IPADDress?
Info
<QString>is a standard IP address value, enclosed in quotes.
EthernetIpaddress
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:IPADDress command.
Description
- This command sets the IP address assigned to the instrument.
Usage
- Using the
.query()method will send theETHERnet:IPADDress?query. - Using the
.verify(value)method will send theETHERnet:IPADDress?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:IPADDress valuecommand.
SCPI Syntax
- ETHERnet:IPADDress <QString>
- ETHERnet:IPADDress?
Info
<QString>is a standard IP address value, enclosed in quotes.
EthernetLxi
¶
Bases: SCPICmdRead
The ETHERnet:LXI command tree.
Usage
- Using the
.query()method will send theETHERnet:LXI?query. - Using the
.verify(value)method will send theETHERnet:LXI?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.lan: TheETHERnet:LXI:LANcommand tree.
lan
property
¶
lan: EthernetLxiLan
Return the ETHERnet:LXI:LAN command tree.
Usage
- Using the
.query()method will send theETHERnet:LXI:LAN?query. - Using the
.verify(value)method will send theETHERnet:LXI:LAN?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.reset: TheETHERnet:LXI:LAN:RESETcommand..servicename: TheETHERnet:LXI:LAN:SERVICENAMecommand..status: TheETHERnet:LXI:LAN:STATuscommand.
EthernetLxiLan
¶
Bases: SCPICmdRead
The ETHERnet:LXI:LAN command tree.
Usage
- Using the
.query()method will send theETHERnet:LXI:LAN?query. - Using the
.verify(value)method will send theETHERnet:LXI:LAN?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.reset: TheETHERnet:LXI:LAN:RESETcommand..servicename: TheETHERnet:LXI:LAN:SERVICENAMecommand..status: TheETHERnet:LXI:LAN:STATuscommand.
reset
property
¶
reset: EthernetLxiLanReset
Return the ETHERnet:LXI:LAN:RESET command.
Description
- This command resets the LXI local area network.
Usage
- Using the
.write()method will send theETHERnet:LXI:LAN:RESETcommand.
SCPI Syntax
- ETHERnet:LXI:LAN:RESET
servicename
property
¶
servicename: EthernetLxiLanServicename
Return the ETHERnet:LXI:LAN:SERVICENAMe command.
Description
- This command sets or queries the service name used for the LXI interface.
Usage
- Using the
.query()method will send theETHERnet:LXI:LAN:SERVICENAMe?query. - Using the
.verify(value)method will send theETHERnet:LXI:LAN:SERVICENAMe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:LXI:LAN:SERVICENAMe valuecommand.
SCPI Syntax
- ETHERnet:LXI:LAN:SERVICENAMe <QString>
- ETHERnet:LXI:LAN:SERVICENAMe?
Info
<QString>is a quoted string of up to 64 characters that specifies the mDNS service name used for the LXI interface.
status
property
¶
status: EthernetLxiLanStatus
Return the ETHERnet:LXI:LAN:STATus command.
Description
- This query returns the LXI network status: one of OK, FAULT, or IDENTIFY. IDENTIFY indicates that the device identify mode is enabled.
Usage
- Using the
.query()method will send theETHERnet:LXI:LAN:STATus?query. - Using the
.verify(value)method will send theETHERnet:LXI:LAN:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ETHERnet:LXI:LAN:STATus?
EthernetLxiLanReset
¶
Bases: SCPICmdWriteNoArguments
The ETHERnet:LXI:LAN:RESET command.
Description
- This command resets the LXI local area network.
Usage
- Using the
.write()method will send theETHERnet:LXI:LAN:RESETcommand.
SCPI Syntax
- ETHERnet:LXI:LAN:RESET
EthernetLxiLanServicename
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:LXI:LAN:SERVICENAMe command.
Description
- This command sets or queries the service name used for the LXI interface.
Usage
- Using the
.query()method will send theETHERnet:LXI:LAN:SERVICENAMe?query. - Using the
.verify(value)method will send theETHERnet:LXI:LAN:SERVICENAMe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:LXI:LAN:SERVICENAMe valuecommand.
SCPI Syntax
- ETHERnet:LXI:LAN:SERVICENAMe <QString>
- ETHERnet:LXI:LAN:SERVICENAMe?
Info
<QString>is a quoted string of up to 64 characters that specifies the mDNS service name used for the LXI interface.
EthernetLxiLanStatus
¶
Bases: SCPICmdRead
The ETHERnet:LXI:LAN:STATus command.
Description
- This query returns the LXI network status: one of OK, FAULT, or IDENTIFY. IDENTIFY indicates that the device identify mode is enabled.
Usage
- Using the
.query()method will send theETHERnet:LXI:LAN:STATus?query. - Using the
.verify(value)method will send theETHERnet:LXI:LAN:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ETHERnet:LXI:LAN:STATus?
EthernetName
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:NAME command.
Description
- This command sets or queries the instrument Ethernet hostname assigned to the instrument.
Usage
- Using the
.query()method will send theETHERnet:NAME?query. - Using the
.verify(value)method will send theETHERnet:NAME?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:NAME valuecommand.
SCPI Syntax
- ETHERnet:NAME <QString>
- ETHERnet:NAME?
Info
<QString>is the network name assigned to the instrument, enclosed in quotes.
EthernetNetworkconfig
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:NETWORKCONFig command.
Description
- This command specifies the Ethernet network configuration setting.
Usage
- Using the
.query()method will send theETHERnet:NETWORKCONFig?query. - Using the
.verify(value)method will send theETHERnet:NETWORKCONFig?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:NETWORKCONFig valuecommand.
SCPI Syntax
- ETHERnet:NETWORKCONFig {AUTOmatic|MANual}
- ETHERnet:NETWORKCONFig?
Info
AUTOmaticspecifies that the instrument’s IP address, subnet mask and gateway settings will be received from a DHCP server on the local network.MANualspecifies that the Ethernet settings will be configured manually, usingETHERNET:IPADDRESS,ETHERNET:SUBNETMASK, andETHERNET:GATEWAY:IPADDRESS.
EthernetPing
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:PING command.
Description
- Sends a ping packet to the instrument gateway and sets the status accordingly.
Usage
- Using the
.write(value)method will send theETHERnet:PING valuecommand.
SCPI Syntax
- ETHERnet:PING EXECute
Properties
.status: TheETHERnet:PING:STATuscommand.
status
property
¶
status: EthernetPingStatus
Return the ETHERnet:PING:STATus command.
Description
- Returns the results of sending the
ETHERNET:PINGcommand to ping the gateway IP address.
Usage
- Using the
.query()method will send theETHERnet:PING:STATus?query. - Using the
.verify(value)method will send theETHERnet:PING:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ETHERnet:PING:STATus?
EthernetPingStatus
¶
Bases: SCPICmdRead
The ETHERnet:PING:STATus command.
Description
- Returns the results of sending the
ETHERNET:PINGcommand to ping the gateway IP address.
Usage
- Using the
.query()method will send theETHERnet:PING:STATus?query. - Using the
.verify(value)method will send theETHERnet:PING:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- ETHERnet:PING:STATus?
EthernetSubnetmask
¶
Bases: SCPICmdWrite, SCPICmdRead
The ETHERnet:SUBNETMask command.
Description
- This command sets or queries the instrument subnet mask value.
Usage
- Using the
.query()method will send theETHERnet:SUBNETMask?query. - Using the
.verify(value)method will send theETHERnet:SUBNETMask?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theETHERnet:SUBNETMask valuecommand.
SCPI Syntax
- ETHERnet:SUBNETMask <QString>
- ETHERnet:SUBNETMask?
Info
<QString>is the subnet mask value, enclosed in quotes.