Initialize(): Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
(Created page with "use the function 'initialize' to make your instrument ready for the entire measurement, e.g. use it to reset parameters to default values. Do not set any parameter that can ch...")
 
No edit summary
Line 1: Line 1:
use the function 'initialize' to make your instrument ready for the entire measurement, e.g. use it to reset parameters to default values. Do not set any parameter that can change during a measurement as these things have to be defined during [[configure]].
The function 'initialize' is called once at the beginning of the entire run for all modules in the sequencer. Use the function 'initialize' to make your instrument ready for the entire measurement, e.g. use it to reset parameters to default values or check whether the identification is ok. It can also be used to set parameters like the power line frequency of an instrument as this is expected to not change later on again.
 
Do not set any parameter that can change during a measurement as these things have to be defined during [[configure]].

Revision as of 12:48, 15 November 2022

The function 'initialize' is called once at the beginning of the entire run for all modules in the sequencer. Use the function 'initialize' to make your instrument ready for the entire measurement, e.g. use it to reset parameters to default values or check whether the identification is ok. It can also be used to set parameters like the power line frequency of an instrument as this is expected to not change later on again.

Do not set any parameter that can change during a measurement as these things have to be defined during configure.