Spanish Acquisition v1.0.3 documentation

Data capture

«  Action   ::   Contents   ::   Smooth reset  »

Data capture

Data capture panel

The data capture panel controls the verification of the setup, as well as the export of the acquired data.

Data capture panel.
  1. Begin the sweep as defined in the rest of the application. If there are any setup errors, pressing this button will generate messages about the errors rather than beginning the sweep.
  2. If the “Continuous” checkbox is enabled, the sweep will restart from the beginning as soon as it gets to the end.
  3. If the “Export” checkbox is enabled, the sweep values (of both input and output variables) will be exported; otherwise, they will be discarded.
  4. The location of the directory to which the values should be exported.
  5. The location of the file to which the last set of values was exported.

Data capture dialog

The data capture dialog controls the sweep itself.

Data capture dialog in continuous mode.
  1. The overall progress of the sweep.

  2. The currently executing stage of the sweep.

  3. The last values set to the output variables.

  4. The last values obtained from the measurements.

  5. The total elapsed time for the sweep. In non-continuous mode, this is accompanied by a rough estimate for the remaining time.

  6. Checkbox controlling the termination of a sweep in continuous mode. At the end of a sweep in continuous mode, if this checkbox is enabled, the sweep terminates; otherwise, it restarts.

  7. Prematurely terminate a sweep.

    Tip

    To avoid leaving the system in an inconsistent state, pressing the “Cancel” button first allows whichever stage is currently running to finish running gracefully. Then, if any variables were configured to be set smoothly from their final values to their constant values, they are set smoothly from wherever the sweep was ended. Thus, it is safe to cancel the sweep at any time.

The sweep consists of the following stages:

Initializing
Internal setup.
Getting next values
The next set of values to write to any resources is determined based on the variable configuration.
Smooth setting
A smooth transition occurs for all resources requiring one.
Writing to devices
All variables with changed values have those values written to their resources.
Waiting for resources to settle
A delay occurs for the variable with the longest wait time.
Running pulse program
If one is configured, a pulse program is run.
Taking measurements
All measurements are read from their resources.
Smooth setting
A smooth transition occurs from the last value to the variables’ constant values, as required.
Finishing
Internal cleanup.

Export format

The export is done to a regular comma-separated values (CSV) file. The first row contains the column headings (potentially with units) as gathered from the variable and measurement names. The first column is always titled “Time (s)” and contains the approximate time of acquisition for each row, relative to the first row of values.

For example, an exported file may begin thusly:

Time (s),field (mT),port out (V),Pulses (V),port in (V)
0,1.0,-5.0,"[(0.0, -0.078469520103761514), ...]",-0.0100000004
0.25141787529,1.0,-4.375,"[(0.0, -0.11684596017395288), ...]",-0.0100000008

Note that the “Pulses” column contains list data and most of it has been elided for clarity.

«  Action   ::   Contents   ::   Smooth reset  »