Measurement Specialties USB-1616HS-2 manual Analog output

Page 23

USB-1616HS-2 User's Guide

Functional Details

Although averaging can be effective, it suffers from several drawbacks:

ƒNoise in measurements only decreases as the square root of the number of measurements—reducing RMS noise significantly may require many samples. Thus, averaging is suited to low-speed applications that can provide many samples.

ƒOnly random noise is reduced or eliminated by averaging. Averaging does not reduce or eliminate periodic signals.

Analog output

The USB-1616HS-2 has two 16-bit, 1 MHz analog output channels. Analog outputs can be updated at a maximum rate of 1 MHz.

The channels have an output range of -10 V to +10 V. Each D/A can continuously output a waveform. In addition, a program can asynchronously output a value to any of the D/A channels for non-waveform applications, assuming that the D/A is not already being used in the waveform output mode.

When used to generate waveforms, you can clock the D/As in several different modes.

ƒInternal output scan clock: The onboard programmable clock can generate updates ranging from 1 Hz to 1 MHz.

ƒExternal output scan clock: A user-supplied external output scan clock at the DPR screw terminal.

ƒExternal input scan clock: A user-supplied external input scan clock at APR can pace both the D/A and the analog input.

ƒInternal input scan clock: The internal ADC scan clock.

Example: Analog channel scanning of voltage inputs and streaming analog outputs

The example shown in Figure 11 adds two DACs and a 16-bit digital pattern output to the example presented in Figure 7 on page 19.

Figure 11. Analog channel scan of voltage inputs and streaming analog outputs example

This example updates all DACs and the 16-bits of digital I/O. These updates happen at the same time as the output scan clock. All DACs and the 16-bits of pattern digital output are updated at the beginning of each scan.

23

Image 23
Contents Page USB-1616HS-2 Management committed to your satisfaction Trademark and Copyright Information Table of Contents USB-1616HS-2 Users Guide Conventions used in this users guide Where to find more informationAbout this Users Guide What you will learn from this users guideChapter Overview USB-1616HS-2 featuresSoftware features Introducing the USB-1616HS-2Hardware Installing the USB-1616HS-2TR-2U power supply and CA-1* line cord What comes with your USB-1616HS-2 shipment?CA-96A expansion cable Installing the softwareUnpacking the USB-1616HS-2 Additional documentationInstalling the hardware Information on signal connections Configuring the hardwareConnecting the board for I/O operations Connectors, cables main I/O connectorUSB-1616HS-2 screw terminal pin out single-ended connections Screw terminal pin outsDSUB25 expansion connector pin out DSUB25F expansion connectorCA-96A expansion cable CablingUSB-1616HS-2 components Functional DetailsUSB-1616HS-2 components rear view External power connectorUSB-1616HS-2 functional block diagram USB-1616HS-2 block diagramExample Analog channel scanning of voltage inputs Analog inputAnalog input scanning Settling time Analog and digital scanning, once per scan mode example Example Analog and digital scanning, once per scan modeAnalog and digital scanning, once per scan mode example Averaging Tips for making accurate temperature measurementsThermocouple input ShieldingAnalog output Digital outputs and pattern generation Digital I/OTriggering Digital input scanningSoftware-based triggering Hardware analog triggeringDigital triggering Pre-triggering and post-triggering modes Counter inputsStop trigger modes Counter modes Totalize modeTips for making high-speed counter measurements 1 MHz Mapped channelsDebounce modes Trigger before stable mode Trigger after stable modeDebounce module Trigger before stable mode Debounce mode comparisonsOptimal debounce time for trigger before stable mode Encoder modeRepresentation of rotary shaft quadrature encoder Maximizing encoder accuracy Connecting the USB-1616HS-2 to an encoderTimer output frequency examples Timer outputsExample Timer outputs Detection setpoint overview Using multiple USB-1616HS-2s per PCCriteria input signal is equal to Action driven by condition Using the setpoint status register Setpoint configurationExamples of control outputs Detecting on analog input, DAC, and Firstportc updatesAnalog inputs with setpoints update on True and False Detection on an analog input, timer output updatesTimer output update on True and False Using the hysteresis functionDetecting setpoints on a totalizing counter Using multiple inputs to control one DAC outputDetection setpoint details FIRSTPORTC, DAC, or timer update latencyControlling analog, digital, and timer outputs Firstportc Calibrating the USB-1616HS-2 Accuracy SpecificationsAnalog input specifications Analog input accuracy specificationsThermocouple TC types and accuracy Note Analog output specificationsAnalog outputs ThermocouplesDigital input/output Digital input/output specificationsInput sequencer Counter specificationsInput sequencer specifications CountersFrequency/pulse generators Power consumptionFrequency/pulse generator specifications Power consumption specifications NoteEnvironmental External powerUSB specifications Signal I/O connectors and pin outUSB-1616HS-2 screw terminal pin out single-ended connections USB-1616HS-2 screw terminal pin out differential connections USA Declaration of ConformityMailinfo@mccdaq.com