Summary of the content on the page No. 1
GETTING STARTED GUIDE
™
NI-DAQ mx Base 3.x
This guide describes how to install and configure the NI-DAQmx Base 3.x
software and a data acquisition (DAQ) device. This guide also describes
how to verify that the device is operating properly.
Note For information about NI-DAQmx Base for Linux and Mac OS X, refer to
ni.com/info and enterrddqld.
Contents
Conventions ............................................................................................ 2
Related Documentation................
Summary of the content on the page No. 2
Devices Using the LabVIEW 8.5 PDA Module for Windows Mobile ....................................................................12 Create, Modify, and Configure a Task in NI-DAQmx Base.....13 Devices Using the LabVIEW 8.5 PDA Module for Windows Mobile ...........................................................................14 Using Tasks in an Application .........................................................15 Documentation.................................................................
Summary of the content on the page No. 3
programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and extensions. monospace italic Italic text in this font denotes text that is a placeholder for a word or value that you must supply. Related Documentation The following documents contain information you might find helpful as you read this guide: � Software documentation –NI-DAQmx Base Help – NI-DAQmx Base C Function Reference Help – NI-DAQmx Base 3.x Readme –NI-DAQmx Help – Getting Started with th
Summary of the content on the page No. 4
NI-DAQmx Base NI-DAQmx Base is a driver that allows you to build applications that run using a PDA device and Windows. NI-DAQmx Base includes the following features: � NI-DAQmx Base is a subset of the NI-DAQmx API and is similar in functionality to NI-DAQmx. � NI-DAQmx Base consists of a LabV IEW VI framework, which allows you to customize the driver, if needed, when using LabVIEW. � NI-DAQmx Base provides a high-level interface on the LabVIEW 8.5 PDA Module for Windows Mobile, Windows 200
Summary of the content on the page No. 5
Install Application Software Install the NI application software, including LabVIEW, NI LabWindows/CVI, and NI Measurement Studio. PDA Module users must use LabVIEW 8.5 PDA Module for Windows Mobile with NI-DAQmx Base 3.0. Refer to the Operating System, Application Software, Programming Language, and Device Support in NI-DAQmx Base 3.x section for more information. Also, refer to Getting Started with the LabVIEW PDA Module for Windows Mobile for more information by selecting Start»Program
Summary of the content on the page No. 6
Install Support Files The NI-DAQmx Base installer detects the NI software installed on the operating system and automatically selects the latest versions of the driver, application software, and language support files from the CD. The NI-DAQmx Base installer displays which features will be installed on your computer, as shown. Complete the following steps to install NI-DAQmx Base. 1. In the Features window, shown in the previous figure, verify that the installer detected and selected the cor
Summary of the content on the page No. 7
Step 2. For Devices Using the LabVIEW 8.5 PDA Module for Windows Mobile Only—Run the PDA Setup Utility After running the NI-DAQmx Base installation, you must copy the driver files to the PDA device. Complete the following steps to run the Pocket PC Driver Installation utility. 1. Select Start»Programs»National Instruments»NI-DAQmx Base» Utilities. 2. Click Windows Mobile-CE Driver Installation. Clicking Windows Mobile-CE Driver Installation launches the Pocket PC Add/Remove Programs utilit
Summary of the content on the page No. 8
DAQCard-6062 Step 4. Install the Devices, Accessories, and Cables NI PCMCIA Device Installation Caution Follow proper ESD precautions to ensure you are grounded before installing the hardware. The NI PCMCIA device supports hot insertion on a PDA device, which means the NI PCMCIA device can be installed and removed without rebooting the PDA device. You can install an NI PCMCIA device in any available Type II PC Card slot. 1 4 5 2 6 7 3 1 PDA with Type II PC Card Slot 4 NI PCMCIA Device 6 Acc
Summary of the content on the page No. 9
1 Analo 16 Caution Always grasp the cable by the connector you are inserting or removing. Never pull directly on the I/O cable to unplug it from the PCMCIA device. 3. Attach the I/O cable. Be careful not to put strain on the I/O cable when inserting or removing the cable connector. NI USB Device Installation Caution Follow proper ESD precautions to ensure you are grounded before installing the hardware. The NI USB devices support hot insertion on a PDA device, which means you can install an
Summary of the content on the page No. 10
NI CompactFlash Device Installation Caution Follow proper ESD precautions to ensure you are grounded before installing the hardware. The NI CompactFlash device supports hot insertion on a PDA device, which means you can install and remove the NI CompactFlash device without rebooting the PDA device. You can install an NI CompactFlash device in any available Type II CompactFlash slot. To install the NI CompactFlash device, refer to the following figure while completing the following steps. 3
Summary of the content on the page No. 11
2. Attach the I/O cable. Be careful not to put strain on the I/O cable when inserting or removing the cable connector. Accessories and PCI/PXI Devices Install accessories and/or terminal blocks according to the instructions in their user guides. Install PCI and PXI devices according to the instructions included with your device. Step 5. Confirm That Your Device Is Recognized The following section discusses how to confirm that your device is recognized. Devices Using the LabVIEW 8.5 PDA Modul
Summary of the content on the page No. 12
Devices Using the LabVIEW 8.5 PDA Module for Windows Mobile Using the NI-DAQmx Base Task Configuration Utility is required when using devices with the LabVIEW 8.5 PDA Module for Windows Mobile. In NI-DAQmx Base 3.0, task information is embedded in the built application. Prior to building and downloading your VI to the PDA device, you must configure and save the tasks you want to use. To use the Task Configuration Utility, complete the following steps: 1. Open LabVIEW. 2. Select Tools»NI-DA
Summary of the content on the page No. 13
Create, Modify, and Configure a Task in NI-DAQmx Base Create a new task or modify an existing task in the Task Configuration Utility task list. The pre-installed tasks are configured to work with the examples without modifications. To modify an existing task, select it in the task list. To create a new task, complete the following steps: 1. Click Create New Task. The Create New Task.vi window opens. 2. Enter a name for the new task. 3. Select the device. For devices using the LabVIEW 8.5 PDA
Summary of the content on the page No. 14
Tip You can view context help for the Task Configuration Utility by pressing . 6. Click Save & Exit when you are finished configuring your tasks. The task configuration is automatically saved into LabVIEW global variables. You do not need to explicitly save the configuration. To transfer the task configuration to other computers, click Export Configuration and save the tasks to a file. You then can use Import Configuration to import the task configuration. Note The Import Configuratio
Summary of the content on the page No. 15
Using Tasks in an Application To use a preconfigured task in your application, complete the following steps: 1. Right-click the task/channels in terminal on a NI-DAQmx Base VI. 2. Select Create»Control or Create»Constant. 3. Type the name of the task in the control or constant. 4. To set the value as the default for the control, right-click the control and select Data Operations»Make Current Value Default. Documentation The NI-DAQmx Base software kit includes online documentation for support
Summary of the content on the page No. 16
The following figure illustrates a typical NI-DAQmx Base application in LabVIEW. The pictured task uses a preconfigured task to acquire and display a finite number of points for multiple channels. Devices on LabVIEW 8.5 PDA Module for Windows Mobile Refer to Getting Started with the LabVIEW PDA Module for Windows Mobile for more information about how to create a PDA application. Obtaining Information about Measurement Applications and Devices Each application software package and driver in
Summary of the content on the page No. 17
Training Courses National Instruments offers training courses for those interested in receiving more help developing an application with NI products. To enroll in a course or obtain a detailed course outline, refer to ni.com/training. Where to Go for Support The National Instruments Web site is your complete resource for technical support. At ni.com/support you have access to everything from troubleshooting and application development self-help resources to email and phone assistance from
Summary of the content on the page No. 18
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on ni.com/legal for more information about National Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your CD, or ni.com/patents. © 200