Monochromator: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
 
No edit summary
Line 1: Line 1:
== Device class programming ==
=== Go home ===
The button "Go home" should be used to bring a monochromator to its home position. It only works if the device class has a function "go_home". In this case, the following functions are called:
# connect
# go_home
# disconnect
The function "go_home" should provide all necessary commands to go back to the home position, including [[initialize]] and [[deinitialize]] if needed.
[[Category:Modules]]
[[Category:Modules]]
[[Category:Device Modules]]
[[Category:Device Modules]]

Revision as of 17:19, 15 June 2020

Device class programming

Go home

The button "Go home" should be used to bring a monochromator to its home position. It only works if the device class has a function "go_home". In this case, the following functions are called:

  1. connect
  2. go_home
  3. disconnect

The function "go_home" should provide all necessary commands to go back to the home position, including initialize and deinitialize if needed.