background image

USB-1808X User's Guide 

Functional Details 

14 

Encoder input operations can be paced by the internal clock or by an external clock (

ICLKI

 – refer to

 Clock I/O

 

on page 15). They can be initiated by a digital trigger (

Digital triggering

 on page 15) or a pattern trigger 

(

Pattern triggering on page 15

). 

Refer to 

Synchronous I/O – mixing analog, digital, and counter scanning

 on page 15 for information on running 

quadrature encoder scans at the same time as other subsystem scans. 
Each supported quadrature encoder option is explained in following table: 

Quadrature encoder options 

Encoder 

option 

Description 

Count mode 

Select X1, X2, or X4. Count modes provide different levels of accuracy with respect to the encoder 

position.  

 

X1: counts rising edges on input A. 

 

X2: counts rising edges and falling edges on input A. 

 

X4: count rising and falling edges on both inputs A and B. 

Range limit 

When counting up: The counter stops when the maximum count (specified by the MAXLIMIT 

value) is reached. Counting resumes if direction is reversed or the counter is cleared. 

When counting down: The counter stops when the minimum count (specified by the MINLIMIT 

value) is reached. Counting resumes if direction is reversed or the counter is cleared. 

Quadrature encoder options that are specific to the Z signal (ENCxZ) are is explained in following table. 

Z input quadrature encoder options () 

Counter mode 

Description 

Clear on Z 

The counter is cleared by the Z signal. 

Latching 

Latching mode allows the count to be latched by the Z signal. 

Timer output 

You can use 

TMR0

 through 

TMR1

 as 32-bit timer outputs. Each timer can generate pulse rates of up to 50 MHz, 

with programmable pulse widths down to 10 ns.  
The timer output rate and pulse width can be updated asynchronously at any time, however, doing so results in a 

pulse stream that is not seamless. 
The following timer output options are software-selectable: 

 

pulse frequency 

 

duty cycle (pulse width divided by the pulse period) 

 

number of pulses to generate 

 

time delay before starting the timer output after it is enabled 

 

idle state of the output (idle high or idle low) 

The time delay can range from 0 seconds to 42.94 seconds. 

 

Figure 8. USB-1808X PWM timer channel 

Timer output operations can be paced by the internal clock or by an external clock (

OCLKI

 – refer to 

Clock I/O

 

on page 15). They can be initiated by a digital trigger (

Digital triggering

 on page 15). 

Summary of Contents for USB-1808X

Page 1: ...USB 1808X Eight Channel Simultaneous Sampling Multifunction Device User s Guide May 2019 Rev 4 Measurement Computing Corporation...

Page 2: ...in any form by any means electronic mechanical by photocopying recording or otherwise without the prior written permission of Measurement Computing Corporation Notice Measurement Computing Corporatio...

Page 3: ...ts 8 USB connector 8 Screw terminals 8 LEDs 10 Analog input 10 Channel Gain queue 10 Analog output 11 Digital I O 11 Digital input scanning 11 Pull up down configuration 11 Counter input 12 Totalize c...

Page 4: ...al input output 21 Counter 22 Quadrature inputs 22 Timer 23 External clock input output 23 External trigger 24 Pattern trigger 24 Memory 24 Power 24 USB 25 Environmental 25 Mechanical 25 Screw termina...

Page 5: ...ed for the names of objects on a screen such as buttons text boxes and checkboxes Italic text is used for the names of manuals and help topic titles and to emphasize a word or phrase Where to find mor...

Page 6: ...o high speed general purpose counters Two quadrature encoder inputs Two timer outputs One external digital trigger for data acquisition and one external digital trigger for data generation Two externa...

Page 7: ...he computer Connect the other end of the USB cable to the USB connector on the device No external power is required When connected for the first time a Found New Hardware dialog opens when the operati...

Page 8: ...s CH0H to CH7H Refer to Figure 2 and Figure 3 on page 9 for DIFF and SE pinouts Two analog outputs AOUT0 and AOUT1 Four digital I O lines DIO0 to DIO3 Two general purpose counter inputs CTR0 and CTR1...

Page 9: ...USB 1808X User s Guide Functional Details 9 Figure 2 DIFF mode pinout Figure 3 SE mode pinout...

Page 10: ...They can be initiated by a digital trigger Digital triggering on page 15 or a pattern trigger Pattern triggering on page 15 Refer to Synchronous I O mixing analog digital and counter scanning on page...

Page 11: ...ic showing switch detection by digital channel DIO0 If you set the switch to the 5 V input DIO0 reads TRUE 1 When set to GND DIO0 reads FALSE 0 Digital input scanning Digital input operations can be p...

Page 12: ...four screws For more information about digital signal connections For general information about digital signal connections and digital I O techniques refer to the Guide to DAQ Signal Connections avai...

Page 13: ...rflow occurs or if Range limit is set the MAXLIMIT or MINLIMIT value is reached Counting resumes if direction is reversed or the counter is reloaded Period measurement mode Use period mode to measure...

Page 14: ...the minimum count specified by the MINLIMIT value is reached Counting resumes if direction is reversed or the counter is cleared Quadrature encoder options that are specific to the Z signal ENCxZ are...

Page 15: ...is available at OCLKO Digital triggering The ITRIG for triggering input operations and OTRIG for triggering output operations terminals are external digital trigger inputs The trigger mode is softwar...

Page 16: ...Figure 10 Trigger mask with some bits excluded Ground The analog ground AGND terminals provide a common ground for all analog channels The digital ground GND terminals provide a common ground for the...

Page 17: ...USB 1808X User s Guide Functional Details 17 Mechanical drawings Figure 11 USB 1808X circuit board top and enclosure dimensions...

Page 18: ...nce 1 G power on 1000 power off Input bias current 50 pA Input bandwidth All input ranges small signal 3 dB 2 0 MHz Input capacitance 50 pf Common mode voltage range 10 V range 10 1 V 5 V range 10 1 V...

Page 19: ...n Specification 10 V Signal to noise ratio SNR 94 dB Signal to noise and distortion ratio SINAD 94 dB Total harmonic distortion THD 108 dB Spurious free dynamic range SFDR 112 dB Effective number of b...

Page 20: ...ource OTRIG see External trigger on page 24 Digital pattern detection see Pattern trigger on page 24 Scan clock source Internal output scan clock or external output scan clock OCLKI pin Output update...

Page 21: ...8 000 port reads writes or single bit reads writes per second typ system dependent Digital I O transfer rate synchronous 0 023 Hz to 200 kHz input 500 kHz output based on the internal clock speed of 1...

Page 22: ...voltage 1 5 V max 0 5 V min Schmitt trigger hysteresis 0 4 V min 1 2 V max Input frequency 50 MHz max Schmitt trigger hysteresis 0 76 V typ 0 4 V min 1 2 V max Input high voltage threshold 1 74 V typ...

Page 23: ...I O specifications Parameter Specification Terminal names ICLKI ICLKO OCLKI OCLKO Terminal types xCLKI Input active on rising edge xCLKO Output power on default is 0 V active on rising edge Terminal d...

Page 24: ...al pattern Trigger stability Digital port must be stable for 50 ns to be recognized as a pattern Trigger bit width Up to 4 adjustable through bitmask Trigger latency Up to 1 scan period Memory Table 1...

Page 25: ...tal Table 20 Environmental specifications Parameter Specification Operating temperature range 0 C to 55 C max Storage temperature range 40 C to 85 C max Humidity 0 to 90 non condensing max Mechanical...

Page 26: ...hannel 4 HI 12 AGND Analog ground 40 AGND Analog ground 13 VO 5V power output 41 AOUT0 AO channel 0 14 AGND Analog ground 42 AOUT1 AO channel 1 15 GND Digital Ground 43 AGND Analog ground 16 TMR0 Time...

Page 27: ...AGND Analog ground 40 AGND Analog ground 13 VO 5V power output 41 AOUT0 AO channel 0 14 AGND Analog ground 42 AOUT1 AO channel 1 15 GND Digital Ground 43 AGND Analog ground 16 TMR0 Timer 0 output 44 G...

Page 28: ...ble European Directives Electromagnetic Compatibility EMC Directive 2014 30 EU Low Voltage Directive 2014 35 EU RoHS Directive 2011 65 EU Conformity is assessed in accordance to the following standard...

Page 29: ...ion NI Hungary Kft 10 Commerce Way H 4031 Debrecen H tar t 1 A Hungary Norton Massachusetts 02766 Phone 36 52 515400 508 946 5100 Fax 36 52 515414 Fax 508 946 9500 http hungary ni com debrecen E mail...

Reviews: