Measurement Specialties USB-1616HS-2 manual Detection setpoint details

Page 42

USB-1616HS-2 User's Guide

Functional Details

At this point you can update FIRSTPORTC or DACs

Figure 30. Channel 1 in totalizing counter mode, inside the window setpoint

Detection setpoint details

Controlling analog, digital, and timer outputs

You can program each setpoint with an 8-bit digital output byte and corresponding 8-bit mask byte. When the setpoint criteria is met, the FIRSTPORTC digital output port can be updated with the given byte and mask. Alternately, you can program each setpoint with a 16-bit DAC update value, and any one of the two DAC outputs can be updated in real time. Any setpoint can also be programmed with a timer update value.

In hysteresis mode, each setpoint has two forced update values. Each update value can drive one DAC, one timer, or the FIRSTPORTC digital output port. In hysteresis mode, the outputs do not change when the input values are inside the window. There is one update value that gets applied when the input values are less than the window and a different update value that gets applied when the input values are greater than the window.

Update on True and False uses two update values. The update values can drive DACs, FIRSTPORTC, or timer outputs.

FIRSTPORTC digital outputs can be updated immediately upon setpoint detection. This is not the case for analog outputs, as these incur another 3 µs delay. This is due to the shifting of the digital data out to the D/A converter which takes 1µs, plus the actual conversion time of the D/A converter, i.e., another 2µs (worst case). Going back to the above example, if the setpoint for analog input Channel 2 required a DAC update it would occur 5µs after the ADC conversion for Channel 2, or 6µs after the start of the scan.

When using setpoints to control any of the DAC outputs, increased latencies may occur if attempting to stream data to DACs or pattern digital output at the same time. The increased latency can be as long as the period of the output scan clock. For these reasons, avoid streaming outputs on any DAC or pattern digital output when using setpoints to control DACs.

FIRSTPORTC, DAC, or timer update latency

Setpoints allow analog outputs, DACs, timers, or FIRSTPORTC digital outputs to update very quickly. Exactly how fast an output can update is determined by these factors:

ƒscan rate

ƒsynchronous sampling mode

ƒtype of output to be updated

42

Image 42
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 AveragingAnalog output Digital input scanning Digital I/OTriggering Digital outputs and pattern generationHardware analog triggering Digital triggeringSoftware-based triggering Counter inputs Stop trigger modesPre-triggering and post-triggering 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 outputs Example Timer outputsTimer output frequency examples 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 counterFIRSTPORTC, DAC, or timer update latency Controlling analog, digital, and timer outputsDetection setpoint details 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