Apply(): Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
(Created page with "The function 'apply' 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 'apply' 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 updated once a new Sweep value is available.
The function 'apply' 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 updated once a new Sweep value is available.


The functions 'apply' and '[[reach]' are only called if the sweep value has changed.
The functions 'apply' and '[[reach]]' are only called if the sweep value has changed.

Revision as of 10:04, 30 July 2020

The function 'apply' 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 updated once a new Sweep value is available.

The functions 'apply' and 'reach' are only called if the sweep value has changed.