get_lan_config
Read the complete LAN configuration of a Rigol MHO98 oscilloscope, returning IP, subnet mask, gateway, DNS, DHCP, MAC, mode switches, hostname, link status, and VISA resource string.
Instructions
Read the full LAN configuration.
Returns IP address, subnet mask, gateway, DNS, DHCP server, MAC, the DHCP/Auto-IP/Static(mANual)/mDNS mode switches (as booleans), hostname, description, link status and the VISA resource string.
visa_type: USB|LXI|SOCKet — address type for :LAN:VISA? (default LXI). Link status values: UNLINK, CONNECTED, INIT, IPCONFLICT, BUSY, CONFIGURED, DHCPFAILED, INVALIDIP, IPLOSE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visa_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |