...
Result | Description |
---|---|
d | Detector data. The number of rows (first dimension) is determined by the number of samples captured into detector memory by the sequencer, all captured data is always returned. The number of columns (second dimension) is determined by the number of active detectors, with one column per active detector. Data is as complex numbers with delay phase compensation already applied. |
s | This is the frequency scale in units of cycles per turn, and is a column vector of the same height as d . |
t | This is a timebase scale in units of turns and is the same dimensions as s . |
Tune PLL capture
result = mbf_read_tune_pll(mbf, [, axis], count, [, 'debug'] [, 'no_bar' | 'no_progress'] [, 'fresh'])
The axis
argument is mandatory when mbf
is in TMBF mode, must not be given when in LMBF mode.
This function captures live data from the Tune PLL system, which must be running.
Argument | Description |
---|---|
mbf | This names the MBF server from which data will be captured, not including the axis part of the name. |
axis | In longitudinal mode this argument must be omitted, otherwise should be the name of the axis to be captured (typically 'X' or 'Y' ), or can name both axes (eg 'XY' ) to select simultaneous capture of data from both axes. |
count | This identifies how many samples of data are to be captured. In practice, data will be returned in multiples of the Tune PLL buffer length |
'debug' | By default the Tune PLL offset data (PV :PLL:NCO:OFFSETWF ) is captured. If this optional argument then debug IQ data is captured and returned instead. |
| By default a graphical progress bar is shown during capture. If 'no_bar' is specified (or if Matlab is in non graphical mode) progress is shown on the command line, or 'no_progress' can be specified to suppress progress reporting altogether. |
'fresh' | This optional argument forces the first buffer of data to be discarded to ensure that the captured data is not stale. |