Disconnect

SCPI Command :

MMEMory:NETWork:DISConnect
class DisconnectCls[source]

Disconnect commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class DisconnectStruct[source]

Response structure. Fields:

  • Drive: str: String containing the drive name.

  • 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]
# SCPI: MMEMory:NETWork:DISConnect
value: DisconnectStruct = driver.massMemory.network.disconnect.get()

This command disconnects a network drive.

return

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

set(drive: str, state: Optional[bool] = None) None[source]
# SCPI: MMEMory:NETWork:DISConnect
driver.massMemory.network.disconnect.set(drive = 'abc', state = False)

This command disconnects a network drive.

param drive

String containing the drive name.

param 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.