Download Programmer`s Manual PIXIE-4
Transcript
the trigger polarity setting, i.e., bit 5 of the channel control and status register A (ChanCSRA). For very low and very big DAC values the ADC will be driven out of range and an unpredictable, but constant response is seen. From the sloped parts a user program can find the DAC value that is necessary for a desired ADC offset. It is recommended, that for unipolar signals an ADC offset of 1638 units is chosen. For bipolar signals, like the induced waveforms from a segmented detector, the ADC offset would be 8192 units, i.e., midway between 0 and 16384. A user program would use the result from the calibration task to find, set and program the correct offset DAC values. Since the offset measurement has to take the preamplifier offset into account, this measurement must be made with the preamplifier connected to the PIXIE-4 input. The control task makes 16 measurements at each DAC step and uses the last computed DC-offset value to enter into the data buffer. Due to electronic noise, it may occasionally happen that none of the sixteen attempts at a base line measurement is successful, in which case a zero is returned. The user software must be able to cope with an occasional deviation from the expected straight line. On exit, the task restores the offset DAC values to the values they had on entry. ControlTask 4: Untriggered Traces This task provides ADC values measured on all four channels and gives the user an idea of what the noise and the DC-levels in the system are. This function samples 8192 ADC words for the channel specified in CHANNUM. The XWAIT variable determines the time between successive ADC samples (samples are XWAIT * 13.3ns apart). In the PIXIE-4 Viewer XWAIT can be adjusted through the dT variable in the Oscilloscope panel. The results are written to the 8192 words long I/O buffer. Use this function to check if the offset adjustment was successful. From the PIXIE-4 Viewer this function is available through the Oscilloscope Panel. Hit the Refresh button to start four consecutive runs with ControlTask 4 in the selected module, one for each channel. ControlTask 5: ProgramFiPPI This task writes all relevant data to the FiPPI control registers. ControlTask 6: Measure Baselines This routine is used to collect baseline values. Currently, DSP collects 49 PIXIE-4 Programmer’s Manual V1.41 XIA 2007. All rights reserved.