Download User Manual - Cronologic
Transcript
its output after the specified delay. To send this pulse to the trigger block, the gating block must be enabled in the trigger block’s AND matrix and the ONE trigger source must be selected. 2.4.4 Auto Triggering Function Generator Some applications require periodic or random triggering. Ndigo250M’s function generator provides this functionality. The delay between two trigger pulses of this trigger generator is the sum of two components: A fixed value M and a pseudo random value given by the exponent N. The period is T = 1 + M + [1...2N ] (2.1) samples. This allows to monitor input signals at times the current trigger configuration does not trigger, e. g. to get base line information in mass spectrometry applications. It can also be used to determine a suitable threshold level for the trigger by first getting random statistics on the input signal. Auto Triggering Example 2: Continuous Data Retrieval With the Ndigo250M it is possible to sample and process data continuously. For that, one defines the length of the packet and configures the auto trigger accordingly. Choosing the length of a packet is always a tradeoff between having to process headers for short packets (see further down and 4.0.2) and increasing the latency for long packets. The latter is due to the fact, that the driver only returns complete packets. The length of the data is set in words (maximum 4093) which contain 4 samples of length 4ns each. The packet thus includes a header (see 4.0.2), the timestamp of the last word in the packet and the data. Using pointer arithmetics one can directly access the data in the packet, ignoring header and timestamp. Setting the auto trigger analogously to equation 2.1 to M = S − 1 and N = 0, with S the number of samples in each packet, one obtains a closed cycle of triggering and data recording. To enable the auto trigger one has to configure the trigger block of the current channel with length = S and sources = NDIGO TRIGGER SOURCE AUTO and enable it. cronologic GmbH & Co. KG 16 Ndigo250M-14 User Guide