Smacq Technologies Co., Ltd. USB-1000 Series, USB-1252, USB-1252A User Manual

USB-1000 Series Multi-Function Data Acquisition Devices
USB-1252/USB-1252A
User Manual
Rev: C
www.smacq.com www.smacq.cn
2
Contents
1. Product Overview .......................................................................................................................... 4
1.1. Overview ................................................................................................................................. 4
1.2. Block Diagram ......................................................................................................................... 4
1.3. Product Features ...................................................................................................................... 4
1.4. Product Specifications ............................................................................................................. 5
Analog Input ................................................................................................................... 5
Digital IO ........................................................................................................................ 6
Counter ............................................................................................................................ 6
Bus Interface ................................................................................................................... 6
Power Requirements ....................................................................................................... 6
Other Specifications ........................................................................................................ 6
2. Description on Appearance and Signal Connection .................................................................... 8
2.1. Appearance .............................................................................................................................. 8
2.2. Signal Connection ................................................................................................................. 10
Connecting Analog Input Signal ................................................................................... 10
Connecting Digital IO Signals and Counter .................................................................. 12
2.3. USB Cable Reinforcement .................................................................................................... 14
3. Installation and Testing ............................................................................................................... 14
3.1. Driver Installation .................................................................................................................. 14
3.2. Hardware Installation ............................................................................................................ 15
4. Analog Input ................................................................................................................................. 16
4.1. Overview ............................................................................................................................... 16
4.2. Input Range Description ........................................................................................................ 17
Single-Ended Mode ....................................................................................................... 17
Differential Mode .......................................................................................................... 17
4.3. Description on Multi-Channel Scanning ............................................................................... 17
Sampling rate ................................................................................................................ 17
Input Ranges ................................................................................................................. 17
4.4. Trigger Sources ...................................................................................................................... 18
4.5. Analog Input Mode ................................................................................................................ 18
4.6. Floating Signal Source........................................................................................................... 19
Using Differential Connections for Floating Signal Source .......................................... 19
Using Non-Referenced Single-Ended (NRSE) Connections for Floating Signal Sources
...................................................................................................................................... 22
Using Referenced Single-Ended (RSE) Connections for Floating Signal Sources ....... 23
4.7. Ground-Referenced Signal Source ........................................................................................ 24
Using Differential Connections for Ground-Referenced Signal Source ....................... 24
Using Non-Referenced Single-Ended (NRSE) for Ground-Referenced Signal Sources
...................................................................................................................................... 25
Using Referenced Single-Ended (RSE) for Ground-Referenced Signal Sources .......... 26
5. Digital IO ...................................................................................................................................... 26
5.1. Overview ............................................................................................................................... 26
3
5.2. Connecting Digital I/O Signal ............................................................................................... 26
6. Counter ......................................................................................................................................... 27
6.1. Overview ............................................................................................................................... 27
6.2. Event counter ......................................................................................................................... 28
6.3. Period/Positive/Negative Pulse Width Measurement ............................................................ 28
6.4. Connecting Counter Signals .................................................................................................. 28
7. Programming Instructions .......................................................................................................... 29
7.1. Overview ............................................................................................................................... 29
7.2. Basic functions ...................................................................................................................... 29
FindUSBDAQ() ............................................................................................................ 29
OpenDevice() ................................................................................................................ 30
CloseDevice() ................................................................................................................ 30
ResetDevice() ................................................................................................................ 30
7.3. Analog Input Related Functions ............................................................................................ 30
SetUSB1AiRange() ....................................................................................................... 30
SetSampleRate() ............................................................................................................ 31
SetChanMode() ............................................................................................................. 31
SetChanSel() ................................................................................................................. 31
SetSoftTrig() ................................................................................................................. 32
7.4. Digital IO Related Functions ................................................................................................. 32
SetDioOut() ................................................................................................................... 32
7.5. Counter Related Functions .................................................................................................... 33
SetCounter() .................................................................................................................. 33
StartCounter() ................................................................................................................ 33
ClearCounter() .............................................................................................................. 33
7.6. Read Data Control Functions................................................................................................. 34
StartRead() .................................................................................................................... 34
StopRead() .................................................................................................................... 34
GetAiChans() ................................................................................................................ 34
GetDioIn() ..................................................................................................................... 35
GetCounter() ................................................................................................................. 35
GetCtrTime() ................................................................................................................. 35
ClearBufs() .................................................................................................................... 36
TransDioIn() .................................................................................................................. 36
7.7. Error Code ............................................................................................................................. 36
7.8. Instructions for LabVIEW Developecr .................................................................................. 37
7.9. Instructions for MATLAB Developer .................................................................................... 37
8. Ordering Information .................................................................................................................. 38
9. Service and Warranty .................................................................................................................. 39
10. Revision History ........................................................................................................................... 40
4
1. Product Overview
1.1. Overview
The new USB-1000 series multi-function data acquisition (DAQ) device provides a new option for convenience and quick start of data acquisition application. Its exquisite shape provides super portable and very flexible installation.
USB-1000 series DAQ devices provide 12-bit, up to 500kS/s sampling rate, and up to 16 analog signal acquisition channels. You can set the range as 0~10V or ± 5V via software.
With 16 digital input/output channels and 4 counter channels, USB-1000 series DAQ device offers you the flexibility to build automatic control system of any size.
1.2. Block Diagram
1.3. Product Features
12-bit analog input (AI) resolution. Up to 500kS/s analog input (AI) sampling rate. (Up to 200kS/s with multiple channels
enabled.)
Sampling period configurable by steps of 20ns. Up to 16 single-ended AI channels or 8 differential AI channels configurable via
software.
Figure 1. Block Diagram of USB-1000 series DAQ device
Digital IO Counter
USB bus
AI
5
0~10V or ± 5V configurable via software. Onboard 16K sampling point FIFO buffer. Up to 16 digital input (DI) channels and 16 digital output (DO) channels. Up to four 32-bit counter channels. LabVIEW, Visual Studio and MATLAB development support.
1.4. Product Specifications
The following product specifications, unless otherwise stated, are measured at the temperature of 25°C and the humidity of 40%.
Analog Input
Number of AI Channels
16 single-ended channels or 8 differential channels configurable via software.
Synchronous Sampling
No
AI Resolution
12-bit
Converter Type
SAR
Sampling Rate
Single-channel acquisition: 500kS/s maximum Multiple-channel acquisition: 200kS/s maximum
Timing Resolution
20ns
AI FIFO Buffer
16k sampling point
Range
0~10V or -5~5V configurable via software.
Safe Voltage
±15V, the DAQ device may be damaged if the input voltage exceeds this safe voltage.
Input Impedance
>1GΩ (Power On)
Input Coupling Mode
DC
Trigger Mode
Software trigger
System Noise
NRSE 0~10V range: 0.15mVrms NRSE ± 5V range: 0.3mVrms DIFF 0~10V range: 0.2mVrms DIFF ± 5V range: 0.4mVrms
Absolute Accuracy
NRSE 0~10V range: 2.8mV NRSE ± 5V range: 3mV DIFF 0~10V range: 3mV DIFF ± 5V range: 4mV
6
Digital IO
Number of DO Channels
16
High Level Output Voltage
3.0~3.4V
Low Level Output Voltage
0~0.1V
Number of DI Channels
16
Low Level Input Voltage
3.3~5V
High Level Input Voltage
0~0.5V
Counter
Number Of Counters
4
Resolution
32-bit
Counter Measurement
Edge Count,
Counting Direction
Count Up
Maximum Input Frequency
1MHz
Bus Interface
USB Interface Specification
USB 2.0 High-Speed Interface
USB Interface Connector
USB Series Type-B Connector
Power Requirements
USB Bus Power Supply
4.75~5.25VDC
Current Consumption
About 300mA
Other Specifications
Dimensions (mm)
Without Connector: 156*102*26 With Connector:161*102*26
Weight
About 420g
Analog Channel Signal Connector
10-PIN Screw Terminal Connector
Digital IO and Counter Connector
40-PIN IDC Connector
Operating Environment
0°C ~55°C 5%RH~90%RH, Non-Condensing
Storage Environment
-40°C ~85°C
7
5%RH~90%RH, Non-Condensing
8
2. Description on Appearance and Signal
Connection
2.1. Appearance
USB-1000 series DAQ device uses metal shielding enclosure, with AI signals connected with plug-in screw terminal connectors, digital IO signals and counter signals connected with 40-PIN IDC connectors, and USB communication interface connected with USB series type-B connector. Figure 2 shows the overall appearance and dimensions (in mm) of the product.
Sensors generate electrical signals to measure physical phenomena, such as temperature, force, sound, or light. Strain gauges, thermocouples, thermistors, angular encoders, linear encoders, and resistance temperature detectors (RTDs) are commonly used sensors.
9
Figure 2. External View of USB-1252 DAQ Device
10
2.2. Signal Connection
Connecting Analog Input Signal
The screw terminal connector, located in front of the DAQ device, is used for connecting AI signals. Figure 3 and Table 1 show its pin distribution and corresponding signals. Unused AI channels should be grounded so as to reduce system noise and achieve higher stability.
Figure 3. External View of USB-1252A DAQ Device
11
Table 1 Mapping of Pins and Signals of Screw Terminal
Name
Description
ai-sense
Reference end input for Non-Referenced Single-Ended (NRSE) signal
ai-gnd
Analog ground
ai-0
AI channel, ai0 for single ended, and ai0+ for differential
Figure 4. Pin Distribution and Corresponding Signals of Screw
Terminal Connector
Figure 5. Pin Distribution and Corresponding Signals of Screw
Terminal Connector
12
ai-1
AI channel, ai1 for single ended, and ai0- for differential
ai-2
AI channel, ai2 for single ended, and ai1+ for differential
ai-3
AI channel, ai3 for single ended, and ai1- for differential
ai-4
AI channel, ai4 for single ended, and ai2+ for differential
ai-5
AI channel, ai5 for single ended, and ai2- for differential
ai-6
AI channel, ai6 for single ended, and ai3+ for differential
ai-7
AI channel, ai7 for single ended, and ai3- for differential
ai-8
AI channel, ai8 for single ended, and ai4+ for differential
ai-9
AI channel, ai9 for single ended, and ai4- for differential
ai-10
AI channel, ai10 for single ended, and ai5+ for differential
ai-11
AI channel, ai11 for single ended, and ai5- for differential
ai-12
AI channel, ai12 for single ended, and ai6+ for differential
ai-13
AI channel, ai13 for single ended, and ai6- for differential
ai-14
AI channel, ai14 for single ended, and ai7+ for differential
ai-15
AI channel, ai15 for single ended, and ai7- for differential
Connecting Digital IO Signals and Counter
The IDC connector, located at the back of the DAQ device, is used for connecting digital IO signals and counter signals. Figure 4 and Table 2 show its pin distribution and corresponding signals.
Loading...
+ 28 hidden pages