Adapt(): Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
(Created page with "The function 'adapt' is where the new Sweep value (i.e. set value) should be send to a measurement device. The latest Sweep value is simply available in each Device Class as '...")
 
No edit summary
 
Line 1: Line 1:
The function 'adapt' is where the new Sweep value (i.e. set value) should be send to a measurement device. The latest Sweep value is simply available in each Device Class as 'self.value' and is automatically actualized once a new Sweep value is available.
The function 'adapt' can be used to make sure that an instrument has time to adapt to a new situation. If another instrument changed to a new sweep value during [[apply]], it might be needed to adapt other instruments.
 
=== Example ===
 
A monochromator goes to a new wavelength. A LockIn has now to adapt to this situation by waiting a settling time to make sure the signal is taken for the new situation.

Latest revision as of 09:07, 30 July 2020

The function 'adapt' can be used to make sure that an instrument has time to adapt to a new situation. If another instrument changed to a new sweep value during apply, it might be needed to adapt other instruments.

Example

A monochromator goes to a new wavelength. A LockIn has now to adapt to this situation by waiting a settling time to make sure the signal is taken for the new situation.