Adapt ready()

From SweepMe! Wiki
Jump to navigation Jump to search

The function 'adapt_ready' is called at each measurement point after adapt() has been called for all modules of the branch, and before trigger_ready().

Use it to wait until an instrument has finished adapting to the new conditions that were started in adapt(). Because 'adapt' is first called for all modules, several instruments can adapt at the same time, and 'adapt_ready' then waits for each of them.