NwAdapter<NwAdapter>

RepCap Settings

# Range: Adapter1 .. Adapter5
rc = driver.configure.ipSet.nwAdapter.repcap_nwAdapter_get()
driver.configure.ipSet.nwAdapter.repcap_nwAdapter_set(repcap.NwAdapter.Adapter1)

SCPI Command :

CONFigure:BASE:IPSet:NWADapter<n>
class NwAdapterCls[source]

NwAdapter commands group definition. 1 total commands, 0 Subgroups, 1 group commands Repeated Capability: NwAdapter, default value after init: NwAdapter.Adapter1

class GetStruct[source]

Response structure. Fields:

  • Nw_Adapter_Name: str: string Name of the network adapter, e.g. ‘LAN Remote’ for n = 1 A returned OFF indicates that the selected value n is not assigned to a network adapter.

  • Set_Subnet_Conform: bool: ON | OFF | 1 | 0 To assign a subnet conform IP address, set 1 or ON. To try again, set first 0 or OFF, then again 1 or ON. A query returns whether the last set value was 0 or 1.

  • Ip_Address: str: string IP address (to be) assigned, see Status.

  • Status: enums.AdjustStatus: NADJust | ADJust State indicating whether the returned IP address has been successfully assigned to the network adapter (ADJust) or not (NADJust) .

get(nwAdapter=NwAdapter.Default) GetStruct[source]
# SCPI: CONFigure:BASE:IPSet:NWADapter<n>
value: GetStruct = driver.configure.ipSet.nwAdapter.get(nwAdapter = repcap.NwAdapter.Default)

Assigns a subnet conform IP address to a network adapter of the instrument, selected via index <n> or returns information about this network adapter. A query returns <NWAdapterName>, <SetSubnetConform>, <IPAddress>, <Status>.

param nwAdapter:

optional repeated capability selector. Default value: Adapter1 (settable in the interface ‘NwAdapter’)

return:

structure: for return value, see the help for GetStruct structure arguments.

set(set_subnet_conform: bool, nwAdapter=NwAdapter.Default) None[source]
# SCPI: CONFigure:BASE:IPSet:NWADapter<n>
driver.configure.ipSet.nwAdapter.set(set_subnet_conform = False, nwAdapter = repcap.NwAdapter.Default)

Assigns a subnet conform IP address to a network adapter of the instrument, selected via index <n> or returns information about this network adapter. A query returns <NWAdapterName>, <SetSubnetConform>, <IPAddress>, <Status>.

param set_subnet_conform:

ON | OFF | 1 | 0 To assign a subnet conform IP address, set 1 or ON. To try again, set first 0 or OFF, then again 1 or ON. A query returns whether the last set value was 0 or 1.

param nwAdapter:

optional repeated capability selector. Default value: Adapter1 (settable in the interface ‘NwAdapter’)

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.configure.ipSet.nwAdapter.clone()