photons.equipment.shutter_ksc101 module

Communicate with a Thorlabs KSC101 controller to control a shutter.

class photons.equipment.shutter_ksc101.KSC101Shutter(record, **kwargs)[source]

Bases: Shutter

Communicate with a Thorlabs KSC101 controller to control a shutter.

Parameters:
  • record (EquipmentRecord) – The equipment record.

  • **kwargs – Keyword arguments. Can be specified as attributes of an XML element in a configuration file (with the tag of the element equal to the alias of record).

connection: KCubeSolenoid
is_open()[source]

Query whether the shutter is open (True) or closed (False).

Return type:

bool

open()[source]

Open the shutter.

Return type:

None

close()[source]

Close the shutter.

Return type:

None