valon驱动

如何通过Quatm控制valon。

quatm.drivers.valon package

Submodules

[quatm.drivers.valon.VSerialPort3 module]

class quatm.drivers.valon.VSerialPort3.VSerialPort

Bases: serial.serialposix.Serial

  • lineGet()

  • Attributes:

    • portLineCount = 0
    • portLineIndex = 0
    • portLines = []
    • readAll()
    • writeline(text)

[quatm.drivers.valon.valon_quatm module]

class quatm.drivers.valon.valon_quatm.Valon_Driver

Bases: object

  • Attributes:
    • cwPanel = None
    • menuBar = None
    • sp = None
    • sendCommand(source, command, value)
      • Send command to valon
    • sendRaw(cmd)
    • set_frequency(freq=500, source=1)
      • Source: 1 or 2
      • Freq: Frequency in Hz

[quatm.drivers.valon.valon_prog module]

A separately running driver for the Valon, allows the (slow) Valon to receive commands without delaying the rest.

class quatm.drivers.valon.valon_prog.Valon_Standalone(name='Valon')

Bases: object

  • Standalone driver for the Valon frequency generator. Commands can be sent via the Commandhub and are processed in parallel to the experiment, thereby the experiment is not delayed by the Valon.

    • run()
  • function quatm.drivers.valon.valon_prog.run()