M2i enhancement details


The following enhancements are included with each card purchase to increase the versatility of the M2i.20xx, M2i.46xx and M2i.47xx series of signal capture cards. Please contact DataQuest Solutions should you require any further information.


ABA mode

Diagram showing ABA mode operation

ABA mode this allows changing from long-term slow and continuous data logging (through a process of sample decimation), to ultra-fast acquisition on a trigger event. This is handled by the hardware. This is more efficient than having to write code in a post-process program and helps isolate in detail interesting events from reams of data.

In the above diagram the decimated data capture points are shown as blue lines. When a trigger is applied the data is recorded at the full clock speed, here depicted by the green lines in section B. Data is captured for a user definable numbers of times. Pre and post trigger data can be recorded at the full rate if required so that analysis of the signal leading up to the trigger, as well as that following can be performed.

ABA mode significantly reduces stored file sizes. At the sort of rates these ultra high-speed cards can operate, this is a big advantage. The level of decimation can be set in the driver code or the SBench software. The trigger point can be external an TTL pulse, or from the amplitude of the analogue input signal.


Multiple Recording / Replay

Image showing signal data transfer following rapidly repeating triggers

Multiple Recording allows the capture of signal data associated with each of several trigger events, without having to restart the hardware. Trigger events which repeat at a very high rate could thus be recognised with this option without risk of any being missed. A trigger re-arm period is required immediately after each capture event, however for the M2i series of boards this is less than 4 samples in length. Should the user intentionally wish for an extended delay between trigger arrival and each recording this is software programmable too. Note than the M2i.70xx digital I/O boards, being also capable of providing output signals, can use a similar mechanism in the opposite direction to rapidly play sequences of bit patterns in response to very rapid repeat triggers.

The memory of the board will be divided into several segments of the same size. Each segment will be filled with data (or played from) when a trigger event occurs.

When using boards of the M2i.xxxx series, Multiple Recording/Replay may be combined with the Time stamp option to very usefully record the start time of a segment.


Gated Sampling / Relay

Gated sampling. Signal data transfer period controlled trigger signals period

The option Gated Sampling allows recording of a signal controlled by an external gate signal. Data is only recorded if the external gate signal is equal to a programmed level (TTL HIGH or TTL LOW). As with the Multiple-Recording option (see above) a delay of a few samples between trigger and recording occurs, but again easily compensated for by pre-trigger samples.

As an option to all M2i signal capture boards, the start and end sample of a gate interval may be marked in memory by combining with the Time stamp option to record start and end of a gate interval.


Time stamp

Image showing each successive time stamp relative to triggers The time stamp function allows recording of trigger moments relative to the start of recording or synchronised to an external radio clock. The time stamp function is designed as an enhancement to the Multiple Recording and the Gated Sampling mode but could also be used without any of these options. The memory of the time stamp function is a FIFO buffer and this allows continuous signal recording with time stamps. Each time stamp is defined by samples and therefore the rate of the A/D converter clock. The relationship between trigger events and the count are set by the modes as described below.

Standard Mode

In standard mode the time stamp counter is set to zero once, with a call to TS_RESET. After this call the counter counts continuously. The time stamp of all recorded trigger events are referenced on this common zero time. With this mode the exact time difference between different recordings may be calculated.

StartReset Mode

When card is started ready for a trigger it will not to start to record data until a trigger is received. In multiple record mode many such trigger events may be very close together to capture many such individual recordings and when each such recording segment is finished the board is automatically re-started ready for the next trigger. In the StartReset mode a time stamp value is given calculated from the counter which starts from zero after each current restart. In addition, if this is used instead with gated sampling, a time stamp will show the start and also the end of the gate.

RefClock Mode

The counter is divided in a HIGH and a LOW part. The HIGH part counts the seconds that have elapse since reset of the whole counter and references the seconds signal of an external radio clock, or any user precise 1Hz signal. The LOW part is reset every second, and defines the position of the trigger event within the current second. The timing signal must be fed into the BASEXIO option as a TTL signal. This mode allows the absolute time of a trigger event to be recorded. Alternatively, the HIGH counter part could also be used to count the number of external triggers

Click for more information plus diagrams on Time stamp [Time stamp presentation PDF]



© Dataquest Solutions 14.01.06. last updated 03.10.14
Images courtesy of Spectrum GmbH