background image

©

 National Instruments Corporation

5

NI USB-9421 User Guide and Specifications

Taking Measurements

—Contains the conceptual and how-to 

information you need to acquire and analyze measurement data in 
LabVIEW, including common measurements, measurement 
fundamentals, NI-DAQmx key concepts, and device considerations.

LabWindows/CVI

The 

Data Acquisition

 book of the L

abWindows/CVI Help

 contains 

measurement concepts for NI-DAQmx. This book also contains 

Taking 

an NI-DAQmx Measurement in LabWindows/CVI

, which includes 

step-by-step instructions about creating a measurement task using the DAQ 
Assistant. In LabWindows

/CVI

, select 

Help»Contents

, then select 

Using LabWindows/CVI»Data Acquisition

.

The 

NI-DAQmx Library

 book of the 

LabWindows/CVI Help

 contains 

API overviews and function reference for NI-DAQmx. 

Select Library 

Reference»NI-DAQmx Library

 in the 

LabWindows/CVI Help

.

Measurement Studio

If you program your NI-DAQmx-supported device in Measurement Studio 
using Visual C++, Visual C#, or Visual Basic .NET, you can interactively 
create channels and tasks by launching the DAQ Assistant from MAX or 
from within Visual Studio .NET. You can generate the configuration code 
based on your task or channel in Measurement Studio. Refer to the 

DAQ 

Assistant Help

 for additional information about generating code. You also 

can create channels and tasks, and write your own applications in your 
ADE using the NI-DAQmx API.

For help with NI-DAQmx methods and properties, refer to the NI-DAQmx 
.NET Class Library or the NI-DAQmx Visual C++ Class Library included 
in the 

NI Measurement Studio Help

. For general help with programming in 

Measurement Studio, refer to the 

NI Measurement Studio Help

, which is 

fully integrated with the Microsoft Visual Studio .NET help. To view 
this help file in Visual Studio. NET, select 

Measurement Studio»

NI Measurement Studio Help

.

To create an application in Visual C++, Visual C#, or Visual Basic .NET, 
follow these general steps:

1.

In Visual Studio .NET, select 

File»New»Project

 to launch the New 

Project dialog box.

2.

Find the Measurement Studio folder for the language you want to 
create a program in.

3.

Choose a project type. You add DAQ tasks as a part of this step.

Содержание USB-9421

Страница 1: ...9421 with D SUB are referred to inclusively as the NI USB 9421 Introduction The NI USB 9421 data acquisition device provides a USB interface with connections for eight digital input channels The NI U...

Страница 2: ...illimeters Inches Figure 3 NI USB 9421 D SUB Device in Millimeters Inches Hi Speed USB Carrier NI USB 9162 140 23 mm 5 521 in 137 82 mm 5 426 in 120 68 mm 4 751 in 118 26 mm 4 656 in 88 12 mm 3 469 in...

Страница 3: ...f or the area is known to be nonhazardous Caution The NI USB 9421 is not certified for use in hazardous locations Safety Guidelines for Hazardous Voltages If hazardous voltages are connected to the mo...

Страница 4: ...nts Select Start All Programs National Instruments NI DAQ NI DAQmx Help LabVIEW If you are a new user use the Getting Started with LabVIEW manual to familiarize yourself with the LabVIEW graphical pro...

Страница 5: ...Visual Basic NET you can interactively create channels and tasks by launching the DAQ Assistant from MAX or from within Visual Studio NET You can generate the configuration code based on your task or...

Страница 6: ...entation To view the NI DAQmx NET documentation go to Start Programs National Instruments NI DAQ NI DAQmx NET Reference Help Expand NI Measurement Studio Help NI Measurement Studio NET Class Library R...

Страница 7: ...sing other software refer to the installation instructions that accompany your software Example Programs The NI DAQmx CD contains example programs that you can use to get started programming with the...

Страница 8: ...Figure 4 Module Installation 4 Squeeze the latches and insert the NI 9421 module into the NI USB 9162 carrier 5 Press firmly on the connector side of the NI 9421 module until the latches lock the modu...

Страница 9: ...for more information LED Indicator The NI USB 9421 device has a green LED next to the USB connector The LED indicator indicates device status as listed in Table 1 When the device is connected to a US...

Страница 10: ...evice not connected or in suspend On not blinking Device connected but no module installed Single blink Operating normally Double blink Operating normally Quadruple blink Device error Refer to ni com...

Страница 11: ...connected to the isolated reference of the module Each digital input channel on the NI USB 9421 has an LED that indicates the state of that channel Refer to Table 3 for the terminal assignments of the...

Страница 12: ...protection refer to the Specifications section You can connect 2 3 and 4 wire sourcing output devices to the NI USB 9421 A sourcing output device drives current or applies voltage to DI An example of...

Страница 13: ...s OFF The channel LED turns on and off to indicate the state of the channel Refer to the Specifications section for more information about ON and OFF ranges Assembling the High Voltage Screw Terminal...

Страница 14: ...ve to COM unless otherwise noted Input Characteristics Number of channels 8 Input type Sinking Digital logic levels OFF state Input voltage 5 V Input current 300 A ON state Input voltage 11 to 30 V In...

Страница 15: ...ith D SUB Approx 245 g 8 6 oz Safety If you need to clean the module wipe it with a dry towel Safety Voltages NI USB 9421 with Screw Terminal Safety Voltages Connect only voltages that are within thes...

Страница 16: ...e measurements include signal levels special equipment limited energy parts of equipment circuits powered by regulated low voltage sources and electronics Safety Standards The NI USB 9421 is designed...

Страница 17: ...arking as follows 2006 95 EC Low Voltage Directive safety 2004 108 EC Electromagnetic Compatibility Directive EMC Note Refer to the Declaration of Conformity DoC for this product for any additional re...

Страница 18: ...00 North Mopac Expressway Austin Texas 78759 3504 National Instruments also has offices located around the world to help address your support needs For telephone support in the United States create yo...

Отзывы: