Measurement Specialties USB-1616HS-2 manual Counter inputs, Stop trigger modes

Page 26

USB-1616HS-2 User's Guide

Functional Details

Software-based triggering usually results in a long period of inactivity between the trigger condition being detected and the data being acquired. However, the USB-1616HS-2 avoids this situation by using pre-trigger data. When software-based-triggering is used, and the PC detects the trigger condition—which may be thousands of readings after the actual occurrence of the signal—the USB-1616HS-2 driver automatically looks back to the location in memory where the actual trigger-causing measurement occurred, and presents the acquired data that begins at the point where the trigger-causing measurement occurs. The maximum inactive period in this mode equals one scan period.

Stop trigger modes

You can use any of the software trigger modes explained previously to stop an acquisition.

For example, you can program an acquisition to begin on one event—such as a voltage level—and then stop on another event—such as a digital pattern.

Pre-triggering and post-triggering modes

The USB-1616HS-2 supports four modes of pre-triggering and post-triggering, providing a wide-variety of options to accommodate any measurement requirement.

When using pre-trigger, you must use software-based triggering to initiate an acquisition.

No pre-trigger, post-trigger stop event

In this simple mode, data acquisition starts when the trigger is received, and the acquisition stops when the stop- trigger event is received.

Fixed pre-trigger with post-trigger stop event

In this mode, you set the number of pre-trigger readings to acquire. The acquisition continues until a stop- trigger event occurs.

No pre-trigger, infinite post-trigger

In this mode, no pre-trigger data is acquired. Instead, data is acquired beginning with the trigger event, and is terminated when you issue a command to halt the acquisition.

Fixed pre-trigger with infinite post-trigger

You set the amount of pre-trigger data to acquire. Then, the system continues to acquire data until the program issues a command to halt acquisition.

Counter inputs

Four 32-bit counters are built into the USB-1616HS-2. Each counter accepts frequency inputs up to 20 MHz.

USB-1616HS-2 counter channels can be configured as standard counters or as multi-axis quadrature encoders.

The counters can concurrently monitor time periods, frequencies, pulses, and other event driven incremental occurrences directly from pulse-generators, limit switches, proximity switches, and magnetic pick-ups.

Counter inputs can be read asynchronously under program control, or synchronously as part of an analog or digital scan group.

26

Image 26
Contents Page USB-1616HS-2 Management committed to your satisfaction Trademark and Copyright Information Table of Contents USB-1616HS-2 Users Guide What you will learn from this users guide Where to find more informationAbout this Users Guide Conventions used in this users guideIntroducing the USB-1616HS-2 Overview USB-1616HS-2 featuresSoftware features ChapterWhat comes with your USB-1616HS-2 shipment? Installing the USB-1616HS-2TR-2U power supply and CA-1* line cord HardwareAdditional documentation Installing the softwareUnpacking the USB-1616HS-2 CA-96A expansion cableInstalling the hardware Connectors, cables main I/O connector Configuring the hardwareConnecting the board for I/O operations Information on signal connectionsScrew terminal pin outs USB-1616HS-2 screw terminal pin out single-ended connectionsDSUB25F expansion connector DSUB25 expansion connector pin outCabling CA-96A expansion cableFunctional Details USB-1616HS-2 componentsExternal power connector USB-1616HS-2 components rear viewUSB-1616HS-2 block diagram USB-1616HS-2 functional block diagramSettling time Analog inputAnalog input scanning Example Analog channel scanning of voltage inputsExample Analog and digital scanning, once per scan mode Analog and digital scanning, once per scan mode exampleAnalog and digital scanning, once per scan mode example Shielding Tips for making accurate temperature measurementsThermocouple input Averaging Analog output Digital input scanning Digital I/OTriggering Digital outputs and pattern generationSoftware-based triggering Hardware analog triggeringDigital triggering Pre-triggering and post-triggering modes Counter inputsStop trigger modes Mapped channels Totalize modeTips for making high-speed counter measurements 1 MHz Counter modesDebounce modes Trigger after stable mode Trigger before stable modeDebounce mode comparisons Debounce module Trigger before stable modeEncoder mode Optimal debounce time for trigger before stable modeRepresentation of rotary shaft quadrature encoder Connecting the USB-1616HS-2 to an encoder Maximizing encoder accuracyTimer output frequency examples Timer outputsExample Timer outputs Using multiple USB-1616HS-2s per PC Detection setpoint overviewCriteria input signal is equal to Action driven by condition Setpoint configuration Using the setpoint status registerDetecting on analog input, DAC, and Firstportc updates Examples of control outputsDetection on an analog input, timer output updates Analog inputs with setpoints update on True and FalseUsing the hysteresis function Timer output update on True and FalseUsing multiple inputs to control one DAC output Detecting setpoints on a totalizing counterDetection setpoint details FIRSTPORTC, DAC, or timer update latencyControlling analog, digital, and timer outputs Firstportc Calibrating the USB-1616HS-2 Analog input accuracy specifications SpecificationsAnalog input specifications AccuracyThermocouples Analog output specificationsAnalog outputs Thermocouple TC types and accuracy NoteDigital input/output specifications Digital input/outputCounters Counter specificationsInput sequencer specifications Input sequencerPower consumption specifications Note Power consumptionFrequency/pulse generator specifications Frequency/pulse generatorsSignal I/O connectors and pin out External powerUSB specifications EnvironmentalUSB-1616HS-2 screw terminal pin out single-ended connections USB-1616HS-2 screw terminal pin out differential connections Declaration of Conformity USAMailinfo@mccdaq.com