beeper

The beeper commands module.

These commands are used in the following models: SMU2601B, SMU2602B, SMU2604B, SMU2606B, SMU2611B, SMU2612B, SMU2614B, SMU2634B, SMU2635B, SMU2636B, SMU2651A, SMU2657A

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

Please report an issue if one is found.

Attributes and Functions
- beeper.beep()
- beeper.enable

Beeper

Bases: BaseTSPCmd

The beeper command tree.

Constants
  • .OFF: This command turns the beeper off.
  • .ON: This command turns the beeper on.
Properties and methods
  • .beep(): The beeper.beep() function.
  • .enable: The beeper.enable attribute.

OFF class-attribute instance-attribute

OFF = 'beeper.OFF'

ON class-attribute instance-attribute

ON = 'beeper.ON'

enable property writable

enable: str

Access the beeper.enable attribute.

Description
  • This command allows you to turn the beeper on or off.
Usage
  • Accessing this property will send the print(beeper.enable) query.
  • Setting this property to a value will send the beeper.enable = value command.
TSP Syntax
- beeper.enable = value
- print(beeper.enable)
Raises:

beep

beep(duration: float, frequency: float) -> None

Run the beeper.beep() function.

Description
  • This function generates an audible tone.
TSP Syntax
- beeper.beep()
Parameters:
  • duration (float) –

    The amount of time to play the tone (0.001 s to 100 s).

  • frequency (float) –

    The frequency of the tone in Hertz (Hz).

Raises: