localnode

The localnode commands module.

These commands are used in the following models: DMM7510

THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.

Please report an issue if one is found.

Attributes and Functions
- localnode.access
- localnode.gettime()
- localnode.internaltemp
- localnode.linefreq
- localnode.model
- localnode.password
- localnode.prompts
- localnode.prompts4882
- localnode.serialno
- localnode.settime()
- localnode.showevents
- localnode.version

Localnode

Bases: BaseTSPCmd

The localnode command tree.

Constants
  • .ACCESS_EXCLUSIVE: Allows access by one remote interface at a time with logins required from other interfaces.
  • .ACCESS_FULL: Full access for all users from all interfaces.
  • .ACCESS_LOCKOUT: Allows access by one interface (including the front panel) at a time with passwords required on all interfaces.
  • .ACCESS_PROTECTED: Allows access by one remote interface at a time with passwords required on all interfaces.
  • .DISABLE: Do not generate prompts in response to command messages.
  • .ENABLE: Generate prompts in response to command messages.
Properties and methods
  • .access: The localnode.access attribute.
  • .gettime(): The localnode.gettime() function.
  • .internaltemp: The localnode.internaltemp attribute.
  • .linefreq: The localnode.linefreq attribute.
  • .model: The localnode.model attribute.
  • .password: The localnode.password attribute.
  • .prompts: The localnode.prompts attribute.
  • .prompts4882: The localnode.prompts4882 attribute.
  • .serialno: The localnode.serialno attribute.
  • .settime(): The localnode.settime() function.
  • .showevents: The localnode.showevents attribute.
  • .version: The localnode.version attribute.

ACCESS_EXCLUSIVE class-attribute instance-attribute

ACCESS_EXCLUSIVE = 'localnode.ACCESS_EXCLUSIVE'

ACCESS_FULL class-attribute instance-attribute

ACCESS_FULL = 'localnode.ACCESS_FULL'

ACCESS_LOCKOUT class-attribute instance-attribute

ACCESS_LOCKOUT = 'localnode.ACCESS_LOCKOUT'

ACCESS_PROTECTED class-attribute instance-attribute

ACCESS_PROTECTED = 'localnode.ACCESS_PROTECTED'

DISABLE class-attribute instance-attribute

DISABLE = 'localnode.DISABLE'

ENABLE class-attribute instance-attribute

ENABLE = 'localnode.ENABLE'

access property writable

access: str

Access the localnode.access attribute.

Description
  • This attribute contains the type of access users have to the instrument through different interfaces.
Usage
  • Accessing this property will send the print(localnode.access) query.
  • Setting this property to a value will send the localnode.access = value command.
TSP Syntax
- localnode.access = value
- print(localnode.access)
Raises:

internaltemp property

internaltemp: str

Access the localnode.internaltemp attribute.

Description
  • This attribute returns the internal temperature of the instrument.
Usage
  • Accessing this property will send the print(localnode.internaltemp) query.
TSP Syntax
- print(localnode.internaltemp)
Raises:

linefreq property

linefreq: str

Access the localnode.linefreq attribute.

Description
  • This attribute contains the power line frequency setting that is used for NPLC calculations.
Usage
  • Accessing this property will send the print(localnode.linefreq) query.
TSP Syntax
- print(localnode.linefreq)
Raises:

model property

model: str

Access the localnode.model attribute.

Description
  • This attribute stores the model number.
Usage
  • Accessing this property will send the print(localnode.model) query.
TSP Syntax
- print(localnode.model)
Raises:

password property writable

password: str

Access the localnode.password attribute.

Description
  • This attribute stores the instrument password.
Usage
  • Setting this property to a value will send the localnode.password = value command.
TSP Syntax
- localnode.password = value
Raises:

prompts property writable

prompts: str

Access the localnode.prompts attribute.

Description
  • This attribute determines if the instrument generates prompts in response to command messages.
Usage
  • Accessing this property will send the print(localnode.prompts) query.
  • Setting this property to a value will send the localnode.prompts = value command.
TSP Syntax
- localnode.prompts = value
- print(localnode.prompts)
Raises:

prompts4882 property writable

prompts4882: str

Access the localnode.prompts4882 attribute.

Description
  • This attribute enables and disables the generation of prompts for IEEE Std 488.2 common commands.
Usage
  • Accessing this property will send the print(localnode.prompts4882) query.
  • Setting this property to a value will send the localnode.prompts4882 = value command.
TSP Syntax
- localnode.prompts4882 = value
- print(localnode.prompts4882)
Raises:

serialno property

serialno: str

Access the localnode.serialno attribute.

Description
  • This attribute stores the serial number of the instrument.
Usage
  • Accessing this property will send the print(localnode.serialno) query.
TSP Syntax
- print(localnode.serialno)
Raises:

showevents property writable

showevents: str

Access the localnode.showevents attribute.

Description
  • This attribute sets whether or not the instrument automatically outputs generated events to the remote interface.
Usage
  • Accessing this property will send the print(localnode.showevents) query.
  • Setting this property to a value will send the localnode.showevents = value command.
TSP Syntax
- localnode.showevents = value
- print(localnode.showevents)
Raises:

version property

version: str

Access the localnode.version attribute.

Description
  • This attribute stores the firmware version of the instrument.
Usage
  • Accessing this property will send the print(localnode.version) query.
TSP Syntax
- print(localnode.version)
Raises:

gettime

gettime() -> None

Run the localnode.gettime() function.

Description
  • This function retrieves the instrument date and time.
TSP Syntax
- localnode.gettime()
Raises:

settime

settime(
    year: str | None = None,
    month: int | None = None,
    day: int | None = None,
    hour: int | None = None,
    minute: int | None = None,
    second: int | None = None,
) -> None

Run the localnode.settime() function.

Description
  • This function sets the date and time of the instrument.
TSP Syntax
- localnode.settime()
Parameters:
  • year (optional, default: None ) –

    Year; must be more than 1970.

  • month (optional, default: None ) –

    Month (1 to 12).

  • day (optional, default: None ) –

    Day (1 to 31).

  • hour (optional, default: None ) –

    Hour in 24-hour time format (0 to 23).

  • minute (optional, default: None ) –

    Minute (0 to 59).

  • second (optional, default: None ) –

    Second (0 to 59).

Raises: