Disconnect
SCPI Command :
MMEMory:NETWork:DISConnect
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class DisconnectStruct[source]
Response structure. Fields:
1 Drive: str: String containing the drive name.
2 State: bool: 1 | 0 | ON | OFF Optional: determines whether disconnection is forced or not 1 | ON Disconnection is forced. 0 | OFF Disconnect only if not in use.
- get() DisconnectStruct[source]
# MMEMory:NETWork:DISConnect value: DisconnectStruct = driver.massMemory.network.disconnect.get()
This command disconnects a network drive.
- Returns:
structure: for return value, see the help for DisconnectStruct structure arguments.
- set(drive: str, state: bool = None) None[source]
# MMEMory:NETWork:DISConnect driver.massMemory.network.disconnect.set(drive = 'abc', state = False)
This command disconnects a network drive.
- Parameters:
drive – String containing the drive name.
state – 1 | 0 | ON | OFF Optional: determines whether disconnection is forced or not 1 | ON Disconnection is forced. 0 | OFF Disconnect only if not in use.