
Programmer’s Guide Page 55 of 64
In digitizers with trigger pattern capabilities, several trigger bits could be set simultaneously. However, no trigger
pattern capabilities between different modules can be coded, i.e. only a single module in a MultiInstrument can be the
trigger source, although the source in the single module might be a pattern. For these reasons, the module number
must be coded explicitly.
To translate a trigger channel number trigChan into a trigger source pattern, use the following code:
if (trigChan > 0) // Internal Trigger
{
long moduleNbr = (trigChan - 1) / nbrIntTrigsPerModule;
long inputNbr = (trigChan - 1) % nbrIntTrigsPerModule;
srcPattern = (moduleNbr<<16) + (0x1<<inputNbr);
}
else if (trigChan < 0) // External Trigger
{
trigChan = -trigChan;
long moduleNbr = (trigChan - 1) / nbrExtTrigsPerModule;
long inputNbr = (trigChan - 1) % nbrExtTrigsPerModule;
srcPattern = (moduleNbr<<16) + (0x80000000>>inputNbr);
}
else
PROBLEM!
Note that moduleNbr and inputNbr start from 0. An 'industrial strength' implementation should contain some
checks on the range of trigChan and/or inputNbr.
3.18. Special Operating Modes
Some Acqiris digitizers offer alternative operating modes, which are controlled with the function
AcqrsD1_configMode. The default state of any digitizer is mode = 0 and flags = 0, corresponding to the normal
digitizer operation, as described in the other sections of this manual. Please refer to the Programmers Reference for
details on this function.
The available modes are model and option dependent; please refer to the specific model data sheet or user manual for
more information. The table below gives a summary of all modes, and the following sub-sections provide details on
these modes.
Mode
Name Description Available on models
Normal (digitizer) acquisition mode.
SC2x0, AC2x0 Data Streamers only.
AP235, AP240, AP100, AP200, U1084A only.
5 Peak TDC Peak detection and Time-to-Digital
Conversion and Analysis mode.
Peak TDC Analysers (AP240, U1084A) only.
Sustained Sequential Recording mode
AP235/240, or U1084A-DGS only.
Digital Down-Converter mode.
M9202A with –DDC option only.
(Please contact Agilent Sales for further information)
Note: After switching between modes it is recommended to perform an internal calibration to ensure that the
instrument is performing within specification.
Comentarios a estos manuales