Map

SCPI Command :

MMEMory:NETWork:MAP
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class MapStruct[source]

Response structure. Fields:

  • 1 File_Path: str: String containing the drive name or path of the directory you want to map.

  • 2 Ip: str: String containing the host name of the computer or the IP address and the share name of the drive. ‘/host name or IP address/share name’

  • 3 User_Name: str: String containing a user name in the network. The user name is optional.

  • 4 Password: str: String containing the password corresponding to the UserName. The password is optional.

  • 5 State: bool: ON | OFF | 1 | 0 ON | 1 Reconnects at logon with the same user name. OFF | 0 Does not reconnect at logon.

get() MapStruct[source]
# MMEMory:NETWork:MAP
value: MapStruct = driver.massMemory.network.map.get()

This command maps a drive to a server or server directory of the network. Note that you have to allow sharing for a server or folder in Microsoft networks first.

Returns:

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

set(file_path: str, ip: str, user_name: str = None, password: str = None, state: bool = None) None[source]
# MMEMory:NETWork:MAP
driver.massMemory.network.map.set(file_path = 'abc', ip = 'abc', user_name = 'abc', password = 'abc', state = False)

This command maps a drive to a server or server directory of the network. Note that you have to allow sharing for a server or folder in Microsoft networks first.

Parameters:
  • file_path – String containing the drive name or path of the directory you want to map.

  • ip – String containing the host name of the computer or the IP address and the share name of the drive. ‘/host name or IP address/share name’

  • user_name – String containing a user name in the network. The user name is optional.

  • password – String containing the password corresponding to the UserName. The password is optional.

  • state – ON | OFF | 1 | 0 ON | 1 Reconnects at logon with the same user name. OFF | 0 Does not reconnect at logon.