Net

SCPI Command :

SYSTem:COMMunicate:NET[:HOSTname]
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get_hostname() str[source]
# SYSTem:COMMunicate:NET[:HOSTname]
value: str = driver.system.communicate.net.get_hostname()

Sets the host name of the instrument, which is required when configuring a network. After changing the host name, you have to reboot the instrument. The query SYSTem:COMMunicate:NET:HOSTname? returns the currently defined host name.

Returns:

hostname: String parameter

set_hostname(hostname: str) None[source]
# SYSTem:COMMunicate:NET[:HOSTname]
driver.system.communicate.net.set_hostname(hostname = 'abc')

Sets the host name of the instrument, which is required when configuring a network. After changing the host name, you have to reboot the instrument. The query SYSTem:COMMunicate:NET:HOSTname? returns the currently defined host name.

Parameters:

hostname – String parameter