Difference between revisions of "Switch"

From SweepMe! Wiki
Jump to: navigation, search
(Device class programming)
(Typical instruments =)
Line 1: Line 1:
 
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.  
 
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 ==
  
 
Typical instruments are ones where the main task is to apply a value rather than reading values.
 
Typical instruments are ones where the main task is to apply a value rather than reading values.

Revision as of 08:13, 16 April 2021

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
  • 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.