acal

The acal 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
- acal.count
- acal.lastrun.internaltemp
- acal.lastrun.tempdiff
- acal.lastrun.time
- acal.nextrun.time
- acal.revert()
- acal.run()
- acal.schedule()

Acal

Bases: BaseTSPCmd

The acal command tree.

Properties and methods
  • .count: The acal.count attribute.
  • .lastrun: The acal.lastrun command tree.
  • .nextrun: The acal.nextrun command tree.
  • .revert(): The acal.revert() function.
  • .run(): The acal.run() function.
  • .schedule(): The acal.schedule() function.

count property

count: str

Access the acal.count attribute.

Description
  • This attribute returns the number of times autocalibration has been run.
Usage
  • Accessing this property will send the print(acal.count) query.
TSP Syntax
- print(acal.count)
Raises:

lastrun property

lastrun: AcalLastrun

Return the acal.lastrun command tree.

Sub-properties and sub-methods
  • .internaltemp: The acal.lastrun.internaltemp attribute.
  • .tempdiff: The acal.lastrun.tempdiff attribute.
  • .time: The acal.lastrun.time attribute.

nextrun property

nextrun: AcalNextrun

Return the acal.nextrun command tree.

Sub-properties and sub-methods
  • .time: The acal.nextrun.time attribute.

revert

revert() -> str

Run the acal.revert() function.

Description
  • This function returns autocalibration constants to the previous constants.
TSP Syntax
- acal.revert()
Returns:
  • str

    The result of the function call.

Raises:

run

run() -> None

Run the acal.run() function.

Description
  • This function immediately runs autocalibration and stores the constants.
TSP Syntax
- acal.run()
Raises:

schedule

schedule(action: str | None = None, interval: str | None = None, hour: int | None = None) -> str

Run the acal.schedule() function.

Description
  • This function sets how often autocalibration occurs or prompts you to run it.
TSP Syntax
- acal.schedule()
Parameters:
  • action (optional, default: None ) –

    Determines when and if the instrument automatically runs autocalibration.

  • interval (optional, default: None ) –

    Determines how often autocalibration should be run or notification should occur.

  • hour (optional, default: None ) –

    Specify when the autocalibration should occur; specify in 24-hour time format (0 to 23; default is 0); not available for the 8-hour or 16-hour interval.

Returns:
  • str

    The result of the function call.

Raises:

AcalLastrun

Bases: BaseTSPCmd

The acal.lastrun command tree.

Properties and methods
  • .internaltemp: The acal.lastrun.internaltemp attribute.
  • .tempdiff: The acal.lastrun.tempdiff attribute.
  • .time: The acal.lastrun.time attribute.

internaltemp property

internaltemp: str

Access the acal.lastrun.internaltemp attribute.

Description
  • This attribute returns the internal temperature of the instrument when autocalibration was run.
Usage
  • Accessing this property will send the print(acal.lastrun.internaltemp) query.
TSP Syntax
- print(acal.lastrun.internaltemp)
Raises:

tempdiff property

tempdiff: str

Access the acal.lastrun.tempdiff attribute.

Description
  • This attribute returns the difference between the internal temperature and the temperature when autocalibration was last run.
Usage
  • Accessing this property will send the print(acal.lastrun.tempdiff) query.
TSP Syntax
- print(acal.lastrun.tempdiff)
Raises:

time property

time: str

Access the acal.lastrun.time attribute.

Description
  • This attribute returns the date and time when autocalibration was last run.
Usage
  • Accessing this property will send the print(acal.lastrun.time) query.
TSP Syntax
- print(acal.lastrun.time)
Raises:

AcalNextrun

Bases: BaseTSPCmd

The acal.nextrun command tree.

Properties and methods
  • .time: The acal.nextrun.time attribute.

time property

time: str

Access the acal.nextrun.time attribute.

Description
  • This attribute returns the date and time when the next autocalibration is scheduled to be run.
Usage
  • Accessing this property will send the print(acal.nextrun.time) query.
TSP Syntax
- print(acal.nextrun.time)
Raises: