Sequencer: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
m (Removed duplicate links.)
Line 10: Line 10:
'''[[Serial arrangement]]:''' Items only have either one parent item of higher hierarchy, one child item of lower hierarchy, or both.
'''[[Serial arrangement]]:''' Items only have either one parent item of higher hierarchy, one child item of lower hierarchy, or both.


'''[[Parallel arrangment]]:''' Multiple items are placed at the same level of hierarchy.
'''[[Parallel arrangement]]:''' Multiple items are placed at the same level of hierarchy.


In general, a full measurement sequence can be represented by various [[serial arrangement]]s and [[parallel arrangement]]s.
In general, a full measurement sequence can be represented by various serial arrangements and parallel arrangements.
Whenever a [[parallel arrangement]] is created, the tree gets new branches which are individually processed.
Whenever a parallel arrangement is created, the tree gets new branches which are individually processed.
For simple measurements, we recommend to avoid [[parallel arrangement]]s and solely create [[serial arrangments]]
For simple measurements, we recommend to avoid parallel arrangements and solely create serial arrangements




Line 33: Line 33:
Whenever the end of a branch of the tree is reached, reading of the device parameters is started.  
Whenever the end of a branch of the tree is reached, reading of the device parameters is started.  
Standardized SweepMe! functions are called in order to apply, measure, and call the parameters of all items of the current branch of the tree.
Standardized SweepMe! functions are called in order to apply, measure, and call the parameters of all items of the current branch of the tree.
Thus, independent of the exact [[serial arrangement]] in the current branch, all items are read out.
Thus, independent of the exact serial arrangement in the current branch, all items are read out.
The major difference is the order in which the device are called, the order in which the data is saved in to file, and the order in which items appear in the boxes to control the plot.
The major difference is the order in which the device are called, the order in which the data is saved in to file, and the order in which items appear in the boxes to control the plot.


If only one item has multiple values and a purely [[serial arrangement]] is used, the position of each item, except of [[MakeFile]] and [[PlotData]], can nicely be used to adjust the order of setting and reading parameters.
If only one item has multiple values and a purely serial arrangement is used, the position of each item, except of [[MakeFile]] and [[PlotData]], can nicely be used to adjust the order of setting and reading parameters.


==Use of [[MakeFile]]==
==Use of MakeFile==


==Use of [[PlotData]]==
==Use of PlotData==


[[Category:Manual]]
[[Category:Manual]]

Revision as of 16:52, 29 September 2017

The sequencer is a SweepMe! tool to create your own sequence of measurements. Items can be placed by drag&drop from a list of all available items/measurements and deleted by selecting them folowed by pressing 'Del(ete)' on the keyboard. Each item represents either a measurement communicating with an external device or a certain internal procedure doing some operation like MakeFile, or PlotData.


The sequencer presents all measurements in a tree like hierarchy. The more they are shifted to the right side, the lower the level of hierarchy. The structure of the tree allows for serial and parallel arrangement of the items. Thus, very complex measurement scenarios can be created.

Serial arrangement: Items only have either one parent item of higher hierarchy, one child item of lower hierarchy, or both.

Parallel arrangement: Multiple items are placed at the same level of hierarchy.

In general, a full measurement sequence can be represented by various serial arrangements and parallel arrangements. Whenever a parallel arrangement is created, the tree gets new branches which are individually processed. For simple measurements, we recommend to avoid parallel arrangements and solely create serial arrangements


Setting and reading

All items have at least one value which will used to indicate its presence in the tree, and to make it participating in the read out of the sequence. Some items, however, have multiple values, e.g. a Source-Measure-Unit SMU typically has several values in order realize a current-voltage curve.

When reading out the sequence represented by the tree, the values of each item are iterated, and for each value of one item, the prior procedure is again done for the children items which are below in the hierarchy of the tree.

There is a crucial difference between setting a value and reading a value!

Setting a value: Whenever values of an item are iterated, they are forwarded to their MeasurementClasses. As a consequence, the sequence of items, has a crucial impact on the measurement procedure, i.e. in which order parameters are applied to your devices.

Reading a value: Whenever the end of a branch of the tree is reached, reading of the device parameters is started. Standardized SweepMe! functions are called in order to apply, measure, and call the parameters of all items of the current branch of the tree. Thus, independent of the exact serial arrangement in the current branch, all items are read out. The major difference is the order in which the device are called, the order in which the data is saved in to file, and the order in which items appear in the boxes to control the plot.

If only one item has multiple values and a purely serial arrangement is used, the position of each item, except of MakeFile and PlotData, can nicely be used to adjust the order of setting and reading parameters.

Use of MakeFile

Use of PlotData