From SweepMe! Wiki
Jump to navigation Jump to search

The Switch module is generic one that can be used to create and load instrument drivers that do not match to any of the more specific device modules.

Typical instruments

Typical instruments are ones where the main task is to apply a value rather than reading values.

  • Motor
  • Relais or switching matrix
  • Lamp
  • Digital or analog outputs
  • Filter wheel

Device class programming

The module Switch has the standard fields 'Label', 'Device', 'Port', and 'Channel'. Further parameters can be arbitrarily chosen and will be presented in the field 'Paremeters'. How to creaete drivers and define custom user input fields is described on the page Device Class Programming.