Answers to Frequently Asked Questions about NI-DAQmx and Traditional NI-DAQ (Legacy)

Size: px
Start display at page:

Download "Answers to Frequently Asked Questions about NI-DAQmx and Traditional NI-DAQ (Legacy)"

Transcription

1 Answers to Frequently Asked Questions about NI-DAQmx and Traditional NI-DAQ (Legacy)

2

3 Introduction This document answers the most frequently asked questions about NI-DAQmx and Traditional NI-DAQ (Legacy). The questions are grouped logically into the four categories shown below.level 2 Head is Helvetica Condensed 14pt NI-DAQmx Description Q: Why is software so important to data acquisition? A: At the heart of every virtual instrument is flexible, powerful software. Let s look closer at virtual instrumentation software. Most people think immediately of the application layer, which is the primary development environment. It includes software like LabVIEW, LabWindows/CVI (ANSI C), and Measurement Studio (Visual Studio programming languages). The test executive layer incorporates the functionality developed by the application layer. The next layer is often overlooked, yet it is critical to maintaining the productivity of software development. The measurement and control services layer includes drivers that communicate with the hardware. Measurement and control services must access and preserve the functions and performance of the hardware. They also must work with all other drivers and the many modular types of I/O that are part of the solution. Figure 1. Virtual Instrumentation Software Q: What is measurement services software? A: Think of measurement services software as the I/O driver software layer. However, it is much more than just a driver. Measurement services are some of the most crucial elements of rapid application development. This software provides the connectivity between the virtual instrumentation software and the hardware for measurement and control. It features intuitive application programming interfaces (APIs), instrument drivers, configuration tools, rapid I/O assistants, and other software included with the purchase of National Instruments (NI) hardware. NI measurement and control services software offers optimized integration with both NI hardware as well as NI application development environments (ADEs). National Instruments Corporation 1

4 Table 1. NI-DAQmx includes a high-performance driver and additional software to increase productivity. Productivity Performance NI-DAQ Measurement Services Basic DAQ Driver Automatic code generation Configuration management Analog, digital, and counter test panels Ability to scale to real-world units Single API for all hardware and I/O types Measurement examples >3,000 <20 Data-logging software Pinpoint error diagnostics Optimized multithreaded I/O performance Optimized single-point loops Real-time capabilities Calibration of entire measurement path Advanced device calibration Industry de facto standard Good Best Not Available NI Measurement & Automation Explorer (MAX) and the DAQ Assistant are two examples of the tremendous value included with NI-DAQmx measurement services software, shipped with most NI data acquisition (DAQ) devices. NI also includes FREE data-logging software with every M Series and USB DAQ device and with many other devices. Configuration tools, such as MAX, include features for configuring and testing I/O, as well as storing, scaling, calibration, and channel-aliasing information. These tools are important for achieving short time to first measurement and for maintaining and troubleshooting test systems. I/O assistants are interactive tools for rapidly creating measurements or stimulus applications. One example of an I/O assistant is the DAQ Assistant, which, as shown in Figure 2, presents a panel you can use to configure common DAQ parameters without programming. You can use the resulting DAQ task in any NI ADE. The combination of easy-to-use assistants and powerful programming environments provides both rapid development and the capabilities to meet a breadth of application requirements. 2 ni.com

5 Figure 2. DAQ Assistant, available with NI-DAQmx, simplifies DAQ task creation. Q: Why did NI create NI-DAQmx? Why not continue to develop Traditional NI-DAQ (Legacy)? A: NI first released the Traditional NI-DAQ (Legacy) driver in the 1990s. Traditional NI-DAQ (Legacy) offered many improvements over existing DAQ libraries by providing extended functionality for a wide variety of devices. Improvements included double-buffered acquisition, built-in scaling for specific sensor types, such as thermocouples and strain gages, and signal conditioning, and a single library of functions that worked with multiple devices and OSs. In the late 1990s, the NI-DAQ team recognized that the need to maintain API compatibility with previous releases increased the difficulty of adding new features and devices to Traditional NI-DAQ (Legacy). In addition, the Traditional NI-DAQ (Legacy) API, through its long evolution, had developed many problems that needed to be fixed. NI-DAQ developers were having difficulty intuitively extending the API and optimizing the increasingly broad spectrum of customer applications. NI concluded that a new API design and architecture would help NI-DAQ developers more easily add new features and new devices, fix many existing driver problems, and optimize performance at the same time. Some ambitious goals of the NI-DAQmx project included the following: 1. Make it easier to add new features to the DAQ API. The Traditional NI-DAQ (Legacy) API had many functions with a large number of parameters and no efficient way to add new parameters. The NI-DAQmx API, in comparison, uses a property-based approach with a rich property hierarchy. This property-based approach is easy to extend. Adding a new feature is often as easy as adding a new property. 2. Make it easier to add new devices. NI had difficulty adding more devices to Traditional NI-DAQ (Legacy) without adding more bugs to existing functionality. Finding and National Instruments Corporation 3

6 fixing the accidental bugs took too much time each release. NI-DAQmx, in comparison, uses a componential plug-in design that facilitates adding new devices. 3. Make multithreaded data acquisition more efficient. Traditional NI-DAQ (Legacy) was initially designed for older OSes without multithreading. To run safely under a multithreaded OS, Traditional NI-DAQ (Legacy) restricts access to one thread at a time. For applications that need to concurrently perform two or more DAQ tasks, this restriction causes problems because both tasks cannot access the driver at the same time. NI-DAQmx solves this problem with a multithreaded design so that multiple threads can access the driver at the same time. 4. Speed up DAQ performance, especially single-point performance. Some applications using Traditional NI-DAQ (Legacy) experienced poor software-timed single-point performance because they implemented expensive operations, such as validating the configuration (verify), reserving resources (reserve), and programming the hardware (commit) repeatedly in the main loops. Traditional NI-DAQ (Legacy) did not give applications enough control over when to perform verify, reserve, and commit, so users could not rewrite these applications to run faster. NI-DAQmx speeds up performance with a design based on a well-defined state model. NI-DAQmx provides users with advanced API functions, such as verify, reserve, and commit; therefore, users have more control over when to perform expensive operations. 5. Improve driver quality and reliability. NI-DAQmx is designed with world-class data acquisition quality and robustness in mind. Since the beginning of NI-DAQmx development, every time a user adds a new feature or makes a change to the driver, a rigorous and comprehensive suite of automated functional and performance tests verifies that the change has not introduced a bug. This suite tests common and uncommon driver uses in a variety of device, sensor, and OS configurations. Uncommon or exceptional driver uses are important to overall reliability. NI-DAQmx is designed to handle exceptional conditions such as DAQ task abortion, watchdog timer expiration, and surprise device removal (such as unplugging a USB device from the computer). 6. Make data acquisition easier. In the mid-1990s, the NI-DAQ team added an Easy I/O and Intermediate I/O layer to Traditional NI-DAQ (Legacy) to make some common DAQ tasks easier. However, the layered approach caused some problems because as soon as users needed to add more advanced features to applications, they had to rewrite the applications with the more advanced API. NI-DAQmx makes developing applications easier through the following: Configuration tools such as the NI-DAQmx DAQ Assistant. With the DAQ Assistant, users can graphically select the type of measurements they want to perform, save the configurations for later use, and generate code to include in applications. Advanced NI-DAQmx routing features. These features simplify DAQ device triggering and synchronization. Descriptive error reporting in NI-DAQmx. This feature helps users precisely identify the cause of an error and recommends solutions. Users have found that the advanced error reporting in NI-DAQmx makes debugging a DAQ application much easier. 4 ni.com

7 Ease-of-use features beginning with LabVIEW 7. New features introduced in LabVIEW 7 that especially apply to NI-DAQmx include the ability to create Express VIs and polymorphic VIs. With Express VIs, users can replace large parts of a complex DAQ application with a simple configuration dialog. With polymorphic VIs, users can find features more easily. Because of both of these features, users develop applications in less time. Figure 3. Polymorphic VIs simplify the NI-DAQmx API. Q: Which hardware does NI-DAQmx support? Not support? A: NI-DAQmx, the latest in NI measurement services software, supports the newest NI DAQ hardware, including M Series plug-in DAQ devices, some of the latest NI USB DAQ devices, and hundreds of DAQ devices also supported by Traditional NI-DAQ (Legacy). Although NI-DAQmx supports many of the newest NI DAQ hardware devices, NI-DAQmx does not support all NI DAQ devices. For example, legacy DAQ devices, such as devices using the ISA bus for desktop PCs, are supported only by NI legacy driver software, Traditional NI-DAQ (Legacy). For current lists of NI-DAQmx-supported devices, visit ni.com/dataacquisition/ software and click Device Support, or refer to the NI-DAQmx Readme included with NI-DAQmx. Q: Why are some DAQ devices supported only by NI-DAQmx? A: Devices such as M Series DAQ devices are the latest and greatest in DAQ hardware. M Series devices are the first 18-bit plug-in DAQ devices on the market, the first plug-in DAQ devices with six DMA channels for maximum data throughput, and innovative device calibration. These devices are supported by NI-DAQmx not by Traditional NI-DAQ (Legacy). Future NI DAQ devices will be supported by NI-DAQmx but not by Traditional NI-DAQ (Legacy). NI engineers focus on the productivity and performance of NI-DAQmx instead of using resources to develop legacy driver software. Q: With which programming languages can I use NI-DAQmx? A: You can use NI-DAQmx with a number of different programming languages including: National Instruments LabVIEW ANSI C Microsoft Visual C++ class libraries (with NI Measurement Studio 7 or later) National Instruments Corporation 5

8 Microsoft Visual C++ Microsoft C#.NET Microsoft Visual Basic.NET Microsoft Visual Basic (beta) For additional information on programming using NI-DAQmx and text-based languages, visit Programming NI-DAQ in Text-Based Languages and NI-DAQ Readme. Q: With which application development environments can I use NI-DAQmx? A: NI-DAQmx works with many of the most popular ADEs. When installing NI-DAQmx, you can choose to install support for various ADEs including: NI LabVIEW 7 or higher NI LabVIEW Real-Time 7.1 or higher NI LabWindows/CVI 7 or higher.net Languages NI Measurement Studio for Visual C++.NET (requires Measurement Studio 7 or higher) Microsoft Visual C support To install support for these ADEs, select the appropriate support during the NI-DAQmx installation. When you first install NI-DAQmx, expand the NI-DAQmx section on the feature tree. Then, select the APIs you plan to use to install the appropriate support. Figure 4. NI-DAQmx provides APIs for use with many ADEs. 6 ni.com

9 If you have already installed NI-DAQmx and want to change your preferences, run Add/Remove Programs. Select the NI Software entry and click Change. Next, select NI-DAQmx on the list of NI software installed on your machine. Click Modify to launch the NI-DAQmx installer, where you can specify your API support preferences. Q: When will NI-DAQmx be available for Linux? Mac OS X? A: NI-DAQmx is available only for users developing and deploying their applications for Microsoft Windows. NI does not currently have a date for NI-DAQmx expansion to Linux and Mac OS X. However, both of these platforms have experienced recent growth in scientific and engineering computing, and this demand has prompted NI to create NI-DAQmx Base. NI-DAQmx Base offers a subset of NI-DAQmx functionality on Windows, Linux, Mac OS X, and Pocket PC OSs and supports the majority of the most popular NI DAQ devices including the new low-cost USB DAQ products. Visit ni.com/linux and ni.com/mac to find the latest NI product offerings for Linux and Mac OS X. Q: Is NI going to continue to develop Traditional NI-DAQ (Legacy)? A: NI has no plans to continue developing Traditional NI-DAQ (Legacy). However, to maintain existing applications, NI will continue to support Traditional NI-DAQ (Legacy) and make it available for users. Q: How is NI-DAQmx different from NI-DAQmx Base? A: The best way to compare these software tools is to use the driver comparison chart at ni.com/dataacquisition/software. However, a few points of differentiation are also mentioned here. Although NI-DAQmx and NI-DAQmx Base have a similar API, the two APIs also have completely different architectures. NI-DAQmx Base is written with the NI tool for custom driver development using register-level programming the NI Measurement Hardware DDK (driver development kit). One of the benefits of this is that NI-DAQmx Base is open source. This gives you the ability to open subvis and tunnel down to view/edit register accesses in LabVIEW and add or modify functionality. NI-DAQmx Base does not have several of the software features included with NI-DAQmx. A few of the features available only in NI-DAQmx include the following: DAQ Assistant Property nodes for advanced DAQ tasks Multithreaded I/O performance Q: Why would I choose not to develop using NI-DAQmx? A: While NI encourages you to take advantage of NI-DAQmx benefits in your applications, there are a couple of situations where using NI-DAQmx is not ideal. National Instruments Corporation 7

10 Install and use Traditional NI-DAQ (Legacy) if one of the following situations apply: You have a device that is not supported by NI-DAQmx, such as an AT E Series multifunction DAQ board. You are using a version of LabVIEW, LabWindows/CVI, or Measurement Studio earlier than version 7. You are using Visual Basic 6. You are upgrading from NI-DAQ 6.9.x and have existing applications that you do not want to port to NI-DAQmx now. Install and use NI-DAQmx Base if one of the following situations apply: You are developing your application for use on Linux, Mac OS X, or Pocket PC. You have a USB DAQ device supported only by NI-DAQmx Base. Install and use the Measurement Hardware DDK if one of the following situations apply: You are developing a custom driver using register-level programming. For additional help deciding which driver software option is right for you, use the device support tables and driver software comparison chart, available at ni.com/dataacquisition/software as well as the NI-DAQ Readme file. Q: How do I get NI-DAQmx? A: When you purchase hardware supported by NI-DAQmx from NI, you receive an NI-DAQ CD that contains the latest version of NI-DAQmx. You can download the latest version of NI-DAQmx by navigating to ni.com and clicking Drivers and Updates under Technical Support. Then, click Current Software Versions and then Multifunction DAQ. Concepts Introduced by NI-DAQmx Q: What is the DAQ Assistant? A: The DAQ Assistant is a step-by-step guide that helps you configure DAQ tasks, virtual channels, and scales with zero programming required. You can launch the DAQ Assistant from NI application software such as LabVIEW, LabWindows/CVI, Measurement Studio, VI Logger, or MAX. 8 ni.com

11 Figure 5. The DAQ Assistant is available for all NI ADEs. Note You must use version 7.x or later of LabVIEW, LabWindows/CVI, and Measurement Studio and 2.x of VI Logger to use the DAQ Assistant. You also can use the DAQ Assistant to generate NI-DAQmx code, run your tasks and global virtual channels, or move them to other systems. Using the DAQ Assistant, you can do the following: Create and edit tasks and virtual channels Add virtual channels to tasks Create and edit scales Test your configuration Save your configuration Generate code in your NI application software for use in your application View connection diagrams for your sensors Q: Why would I use the DAQ Assistant instead of the NI-DAQmx API? A: The DAQ Assistant is built on top of the NI-DAQmx API and can serve as both a configuration tool and a learning tool to help you get up to speed quickly on the new NI-DAQmx API. After configuration, the DAQ Assistant Express VI in LabVIEW contains all the API code necessary to run your configured task, but it is hidden from the block diagram. If you want National Instruments Corporation 9

12 to view or modify the API functions in your configuration instead of using DAQ Assistant dialogs, the DAQ Assistant includes code-generation capability for LabVIEW, LabWindows/CVI, and Measurement Studio applications. Q: What is an NI-DAQmx task? A: An NI-DAQmx task is a collection of one or more virtual channels with timing, triggering, and other properties. Conceptually, a task represents a measurement or generation you want to perform. You can set up and save the configuration information in a task and use the task in an application. Q: What is the difference between a local virtual channel and a global virtual channel in NI-DAQmx? A: In NI-DAQmx, you can configure virtual channels as part of a task or separate from a task. Virtual channels created inside a task are local virtual channels. Virtual channels defined outside a task are global virtual channels. You can create global virtual channels in MAX or in your application software and save them in MAX. You can use global virtual channels in any application or add them to a number of different tasks. If you modify a global virtual channel, the change affects all tasks in which you reference that global virtual channel. Q: When should I use a task instead of a global virtual channel? A: A task is a collection of one or more virtual channels with timing, triggering, and other properties. A global virtual channel references only a single physical channel and does not contain timing or triggering. However, a global virtual channel can be contained and referenced by multiple tasks, whereas a task is a stand-alone entity and cannot be contained or referenced by other tasks. Q: Can I programmatically save virtual channels with NI-DAQmx? A: With NI-DAQmx 7.4 and later, you can programmatically create and save tasks, global virtual channels, and scales. The programmatically saved objects appear in MAX, and you can use them in the DAQ Assistant and in your applications. Programmatically saving tasks, channels, and scales simplifies system configuration and deployment to multiple locations and reduces the chance for error and need for debugging. To learn more about how to use this feature and to see examples, visit ni.com/dataacquisition/nidaqmx. Q: How do I import/export device, task, channel, and scale configurations? A: Using MAX, you can export your system configuration for use as a backup or for deployment to other machines. Use the export wizard to copy configuration data from a system to a file. To start the Export Wizard, select File»Export in MAX. 10 ni.com

13 Q: What are property nodes? A: Property nodes are LabVIEW constructs that you can use to access attributes on the referenced object. NI-DAQmx uses these constructs to provide complete programmatic control for all properties supported by the NI-DAQmx API, and these property nodes form the base functionality of the API. In addition to property nodes, NI-DAQmx also provides a set of NI-DAQmx VIs that you can use to write your application. These VIs are functionally equivalent to using property nodes but are generally easier and more convenient to use. For instance, the following two examples are equivalent in functionality; however; the first example uses NI-DAQmx VIs, and the other example uses NI-DAQmx property nodes. Figure 6. Use NI-DAQmx property nodes for advanced task customization. For most applications, NI-DAQmx VIs provide the functionality required. However, for more advanced applications, you may need the property nodes to access less-used driver attributes and features. National Instruments Corporation 11

14 Q: How do I filter the list of property nodes? A: When you first open and navigate through a property node, the list of properties presented may seem overwhelming. To navigate this list more easily, take advantage of several filter options available through the dialog window shown below. Figure 7. Simplify the property node list using filtering attributes. To reach this dialog, right-click the property node and click Select Filter. Show All Attributes displays all attributes supported by the NI-DAQmx API. Show Attributes For Configured Devices displays all properties supported by devices currently installed and configured on your system. Use Show Attributes For Selected Devices to select the installed devices for which you would like to display properties. In addition to the filtering options, you can also view a complete list of properties by device through the LabVIEW help. To find this list, click Help in the menu bar and select VI, Function, & How-To Help. From the Contents tab of the help window that is displayed, navigate to VI and Function Reference»NI Measurements VIs and Functions» DAQmx Data Acquisition Vis and Functions»Additional Information»Device Considerations»Supported Properties by Device. Q: What is an NI-DAQmx simulated device? A: With NI-DAQmx 7.4 and later, you can create an NI-DAQmx simulated device. You can choose any device supported by NI-DAQmx and add it as a simulated device to your hardware configuration in MAX. This makes the device available for use by the application software. 12 ni.com

15 Physical Device Simulated Device Performance Figure 8. Create NI-DAQmx simulated devices. NI-DAQmx simulated devices are useful for creating and running NI-DAQmx programs and for trying out tools such as the DAQ Assistant or SignalExpress without any physical hardware present. NI-DAQmx simulated devices are useful for discovering the capabilities of a device without the physical hardware actually being present. Tasks using NI-DAQmx simulated devices are verified just as they are on real devices. If a property is set to an invalid value, the error returned for a simulated device is identical to the error returned for a real device. All resources necessary for the task are reserved for NI-DAQmx simulated devices. RTSI lines, PXI trigger lines, DMA channels, counters, and so on are counted and reserved just as they are on real devices. Q: Which performance improvements does NI-DAQmx offer? A: DAQ performance in a user application is a combination of many factors, including sampling rate, bus speed, driver performance, analysis, and other operations. NI-DAQmx can increase application performance over Traditional DAQ (Legacy) in many applications because of the driver architecture improvements including the following: 1. Multithreaded operation. With NI-DAQmx, if you use LabVIEW or a multithreaded C program, performance increases because multiple threads can access the NI-DAQmx driver at the same time as long as those threads are executing different NI-DAQmx tasks. The ability to access the driver from multiple threads unblocks bottlenecks in DAQ applications and can greatly improve performance in some cases. Multithreaded operation makes the most difference in applications that are performing multiple tasks and are also reading or writing multiple samples at a time. 2. Better control of expensive DAQ operations. With NI-DAQmx, you have more control over driver operations such as checking the configuration (verify), reserving resources (reserve), and programming the hardware (commit) that can bottleneck some applications. With NI-DAQmx, you can develop an application that verifies, National Instruments Corporation 13

16 reserves, or commits a task outside of the main DAQ loop so that the driver does not need to perform these operations repeatedly. 3. Built-in hardware-timed single-point operation. NI-DAQmx 7.2 introduced built-in support for applications that need to perform hardware-timed single-point data acquisition. The new built-in mode has several advantages over Traditional NI-DAQ (Legacy), including better performance for single-point tasks using multiple channels. The NI-DAQmx team constantly works to improve the performance of NI-DAQmx. Q: Why does NI-DAQmx use 100 percent of my CPU? A: Some users have noticed cases when their DAQ process is using 100 percent of their CPUs. This can happen when using NI-DAQmx versions 7.3 or earlier when the application is in the middle of a Read or Write call. Normally the excess CPU usage is not a problem when running other applications, but on a laptop computer, NI-DAQmx can consume battery power and may cause the CPU fan to turn on. The 100 percent CPU usage occurs because of the way NI-DAQmx versions 7.3 or earlier wait for new data to become available during a Read or Write operation. While waiting for data to become available, NI-DAQmx 7.3 yields to other processes if, during a Read operation, data is not yet available. If another process needs to use the CPU, NI-DAQmx shares the CPU with that process. However, if no other process or task needs to use the CPU, NI-DAQmx continues polling for new data to become available. This solution offers very excellent performance if the computer is implementing only data acquisition and good performance when sharing the CPU with other applications; however, a side effect is that NI-DAQmx uses 100 percent of the CPU when no other application is running. The best solution to this problem is to use the most recent release of NI-DAQmx, such as NI-DAQmx 7.4. NI-DAQmx 7.4 changed the default wait mode of buffered Read and Write operations. When polling is required, NI-DAQmx sleeps for a small length of time (1 ms) before continuing the Read or Write operation. This change has virtually no impact on performance for most applications when compared to previous versions of NI-DAQmx. However, other NI-DAQmx 7.4 Read and Write improvements and optimizations more than compensate for possible performance reduction. Applications upgrading to NI-DAQmx 7.4 see both improved performance and reduced CPU use. If you want more control over the way NI-DAQmx 7.4 waits for data, you can select a different sleep time or change the Read wait mode to poll or yield. Using the yield wait mode results in behavior similar to NI-DAQmx 7.3. Using poll results in best throughput but is not suitable when running other applications at the same time. Q: Has single-point I/O performance improved? A: NI-DAQmx offers better single-point I/O performance than Traditional NI-DAQ (Legacy) in almost every case. However, there are cases when Traditional NI-DAQ (Legacy) offers better performance. Specifically, NI-DAQmx offers better single-point performance for the following: 1. Software-timed Reads and Writes for analog and counter channels 2. Software- or hardware-timed Reads or Writes involving multiple channels 14 ni.com

17 Traditional NI-DAQ (Legacy) offers better performance for the following: 1. Reads or Writes using digital channels 2. Hardware-timed single point for applications with only one input and one output channel Note Traditional NI-DAQ (Legacy) users may not be familiar with hardware-timed single point. More specifically, these applications use hardware timing, a buffer size of zero, and reading or writing one sample at a time. Sometimes Traditional NI-DAQ (Legacy) is faster because NI-DAQmx offers more functionality than Traditional NI-DAQ (Legacy). For instance, you can arbitrarily group lines and ports with NI-DAQmx digital channels. Support for multithreading and handling exceptional conditions, such as surprise device removal, adds some additional overhead. Many DAQ applications require the absolute best performance, and the NI-DAQmx team is constantly working on new features that improve the performance of the driver. Q: How does a state machine help improve the performance of NI-DAQmx? A: The NI-DAQmx task state machine keeps track of which configuration operations you need to perform before a data acquisition or generation can begin. Configuration operations include checking the configuration (verify), reserving resources (reserve), and programming the hardware (commit). NI-DAQmx implements a state machine to ensure that expensive operations such as task verification, resource reservation, and hardware programming are performed only when needed. A DAQ application can benefit from improved performance when performing explicit configuration operations outside the main acquisition or generation loop. NI-DAQmx offers explicit commands that cause a verify, reserve, or commit operation to be performed. When a task is explicitly verified, reserved, committed, or started outside an acquisition or generation loop, NI-DAQmx does not repeat these operations at every loop iteration, so overall, the application runs faster. Figure 9. NI-DAQmx improves performance by enforcing a state model for DAQ tasks. For additional information about each of the NI-DAQmx states, refer to the NI-DAQmx Help. National Instruments Corporation 15

18 Disk I/O Bandwidth CPU Bandwidth Bus Bandwidth Q: What are the primary factors that limit streaming-to-disk performance? A: Disk I/O Bandwidth, CPU Bandwidth, and Bus Bandwidth. The typical system with an IDE drive is primarily limited by the disk throughput. Potential improvements include adding a dedicated drive or controller for streaming. A dedicated drive circumvents performance problems due to fragmentation and disk access by the OS or other application. High-speed drives and a high-speed RAID controller increase the disk I/O bandwidth. Note Check the CPU bandwidth and bus bandwidth before investing in drives and controllers to avoid increasing disk I/O beyond what you can realistically use. For unscaled data, processor bandwidth generally impacts performance only in systems where a high-speed RAID controller has been installed. In these systems, the CPU can impact how quickly you can retrieve and write acquired data to the disk drive. Even with a dedicated RAID controller, a portion of the CPU bandwidth is consumed while writing data to disk. For scaled data, processor bandwidth is often the limiting factor. Increasing the number of CPUs in the system and the speed of the CPUs increases the system bandwidth. Even when CPU use is less than 100 percent, minimize tasks and operations done in parallel. Competition for scarce resources can lower streaming-to-disk performance. Finally, tune the streaming code for the particular system. For systems with multiple CPUs, executing some code in parallel may increase the throughput of the system. (Note: Parallel disk I/O operations to the same drive generally reduce performance.) Optimize code to avoid memory copies and other operations that waste CPU bandwidth. A typical desktop system with a single PCI/PXI bus can be limited by bus bandwidth. The theoretical bandwidth for standard PCI/PXI is around 130 MB/s. The actual bandwidth is lower depending on the amount of bus contention. Generally, more devices operating at the same time on the same bus lower bus bandwidth. Note A single NI 6115 DAQ device can generate 80 MB/s of data. Increasing the number of buses in the system is the only way to increase bus bandwidth. For example, some high-end motherboards include two or more independent PCI buses. This helps you set up a system with a RAID controller and DAQ devices on separate buses. For these motherboards, bridge chips may limit the total throughput of all of the combined buses. 16 ni.com

19 Q: How well does NI-DAQmx perform high-speed streaming to disk? A: NI-DAQmx primarily affects streaming-to-disk performance because it uses CPU bandwidth while moving and scaling data acquired by devices. Therefore, on systems where CPU bandwidth is a limiting factor, it is critical that NI-DAQmx efficiently uses the CPU. NI-DAQmx has undergone multiple optimizations since its first release to reduce CPU usage while reading and writing. For example, between the NI-DAQ 7.3 and 7.4 releases, the performance of scaled analog input benchmarks has increased from 8 to 60 percent. The performance of unscaled analog input benchmarks has increased from 12 to 40 percent. The performance increase translates directly to higher streaming-to-disk throughput on systems where CPU bandwidth is an issue. NI-DAQmx implements an extremely simple form of compression. Bits at the end of samples are simply thrown out and the resulting samples are packed into memory. NI-DAQmx does not implement any other lossless or lossy compression algorithms such as LZW or JPEG. In some cases, no data is lossed because the samples already contain unused bits. For example, a channel with 12-bit resolution and a 16-bit sample size contains four unused bits. You can discard the four bits with no loss while reducing the required disk space by 25 percent. In addition, you can configure NI-DAQmx to discard one or more of the least significant bits in a sample. For example, you can configure a channel with 24-bit resolution and a 32-bit sample size to return only the 20 highest-order bits. A total of 12 bits are discarded, including eight unused bits, which reduces the required disk space by 37.5 percent. Upgrading from Traditional NI-DAQ (Legacy) Q: Why would I upgrade to NI-DAQmx from Traditional NI-DAQ (Legacy)? A: There are a number or reasons to upgrade from Traditional NI-DAQ (Legacy) to NI-DAQmx. One important reason is that NI engineers focus on improving the productivity and performance of NI-DAQmx, not Traditional NI-DAQ (Legacy). NI-DAQmx users stand to reap the benefits of this innovation if they are using the latest version of this measurement services software. Independent of the current engineering efforts, users may choose to upgrade to NI-DAQmx simply because of software feature advantages when compared to Traditional NI-DAQ (Legacy). A few of these advantages include the following: Improved state model Multithreaded driver Reliability in exceptional conditions Simplified synchronization Decreased LabVIEW diagram clutter Smooth transition from easy to advanced programming National Instruments Corporation 17

20 Note To learn more about these advantages and others, refer to the Advantages of NI-DAQmx tutorial available in the Developer Zone on ni.com. Another reason to upgrade to NI-DAQmx is to take advantage of the latest DAQ hardware NI offers. The newest and most innovative DAQ devices provide technologies available with no other vendor and on no other devices. The latest NI DAQ devices are supported only by NI-DAQmx. Q: Which resources are available to help me upgrade my applications from Traditional NI-DAQ (Legacy) to NI-DAQmx? A: The Developer Zone at ni.com includes excellent resource for helping Traditional NI-DAQ (Legacy) users upgrade their applications to NI-DAQmx. One tutorial, Transition Traditional NI-DAQ to NI-DAQmx, shows that although many of the programming techniques are similar between Traditional NI-DAQ (Legacy) and NI-DAQmx, there are some slight differences. This tutorial describes the similarities and differences between the most common VIs and functions in each of the APIs. A second tutorial, Learn 10 Functions in NI-DAQmx and Solve 80 Percent of Data Acquisition Applications, describes how you can use NI-DAQmx to replace dozens of Traditional NI-DAQ (Legacy) functions and VIs with 10 functions and VIs in NI-DAQmx. This tutorial illustrates how to use each of the 10 VIs that make up the NI-DAQmx API core. For users who plan to upgrade to NI-DAQmx but want to use their current Tradition NI-DAQ (Legacy) applications with new NI-DAQmx-supported hardware, NI has created the Traditional NI-DAQ (Legacy) compatibility VIs. These VIs replace certain Traditional NI-DAQ (Legacy) VI libraries with libraries that work with both Traditional NI-DAQ (Legacy) and NI-DAQmx. These VIs look identical to the existing Traditional NI-DAQ (Legacy) VIs and integrate seamlessly into existing applications. The compatibility VIs were created to use while waiting for the application to be rewritten using NI-DAQmx, but you can still use NI-DAQmx-only devices. Users should be careful when implementing the compatibility VIs because they do not support all features on all devices and are not guaranteed to be updated with future revisions. To learn more about these VIs, visit ni.com. Additionally, the NI Web site has thousands of DAQ example programs available at ni.com/examples. Hundreds of these examples show how to use NI-DAQmx to accomplish the most common DAQ tasks. Q: Can I use Traditional NI-DAQ (Legacy) and NI-DAQmx at the same time? A: You can use Traditional NI-DAQ (Legacy) and NI-DAQmx at the same time if you have two DAQ devices and one of them is using Traditional NI-DAQ (Legacy) and the other NI-DAQmx. If you only have one DAQ device, you can still use both Traditional NI-DAQ (Legacy) and NI-DAQmx but only in sequence not at the same time. You need to reset your device to switch between Traditional NI-DAQ (Legacy) and the NI-DAQmx driver as part of the sequence. 18 ni.com

21 In LabVIEW, use the Device Reset VI at the end of Traditional NI-DAQ (Legacy) sequence and the DAQmx Reset Device VI at the end of your NI-DAQmx sequence. You still need to create a Traditional NI-DAQ (Legacy) virtual channel and an NI-DAQmx Task for use with each driver respectively. Figure 10. Traditional NI-DAQ (Legacy) and NI-DAQmx can be used in the same application. Q: Which DAQ software should a Visual Basic 6.0 developers use? A: Many data acquisition system developers using Visual Basic 6.0 have not yet made the move to Microsoft s.net languages. Developers using Visual Basic 6.0 have the following DAQ software options: Upgrade to VB.NET and use NI-DAQmx: The benefits of this choice include the latest software from both Microsoft and National Instruments. Use Visual Basic 6.0 and NI-DAQmx: NI-DAQmx 7.4 includes beta support for Visual Basic 6.0 developers. When C++ support is installed a Visual Basic type library is also made available. This option is not currently supported by National Instruments and no documentation is currently provided. Use Traditional NI-DAQ (Legacy) and Visual Basic 6.0: Although this choice is most likely the path of least resistance in the short term, it requires you use legacy software from both Microsoft and National Instruments. Q: How do I move my configuration between machines without the NIConfig.DAQ file? A: You can now use the Export function in NI-DAQmx to transfer your hardware configurations between machines. Go to MAX and select File»Export to start the Configuration Export Wizard. Using this wizard, you can select the configurations to export and save them to a file of your choice for exporting. To import the configurations, go to MAX, File»Import and import the configurations from the file generated by the Configuration Export Wizard. National Instruments Corporation 19

22 Figure 11. Import/Export hardware configurations using MAX. Q: How do I use SCXI devices now? The ìob0!sc1!md1!0î channel string syntax doesn t work in NI-DAQmx. A: SCXI channel strings used in Traditional NI-DAQ (Legacy) are no longer used with NI-DAQmx. The format is now SCxMody/channel. 1. x refers to the SCXI chassis ID chosen when configuring the chassis. 2. y refers to the slot position of the module. The slots in the chassis are numbered from left to right, starting at I/channel has different formats depending on the type of data acquisition performed: Analog Input: /ai#. # is the number of the analog input channel on the module. For example, SC1/MOD1/ai1 refers to the physical analog input channel 1 of the module in slot 1 of the SCXI chassis that has ID of 1. If you have multiple channels configured with the same SCXI module, you can include them all in the format of SC1/MOD1/ai1, 2, 4. It refers to analog input channel 1, 2, and 4 of the same SCXI module. Analog Output: /ao#. # is the number of the analog output channel on the module. For example, /ao2 refers to the physical analog output channel 2. Digital I/O: port#/line#. The first number refers to the digital port and the second number refers to the digital line of the port being used. For example, port0/line2 means the physical digital port 0 line 2. Counter I/O: ctr#. # is the number of the counter on the module. For example, /ctr0 means the counter 0 of the module. 20 ni.com

23 Q: How do I program with counters using NI-DAQmx? A: The table below shows similar NI-DAQmx and Traditional NI-DAQ (Legacy) VIs to help convert them: Traditional NI-DAQ (Legacy) Counter Group Config VI NI-DAQmx DAQmx Create Channel VI Counter Set Attribute VI DAQmx Channel Property Node VI Counter Source (TIO) VI Counter Source (STC) VI Counter Control VI Counter Get Attribute VI Counter Control VI DAQmx Trigger Property Node VI DAQmx Property Node VI DAQmx Start VI DAQmx Read VI DAQmx Stop VI Refer to the Transition Traditional NI-DAQ to NI-DAQmx tutorial in the Developer Zone at ni.com for additional help on writing counter applications in NI-DAQmx. Q: How can I do double-buffered acquisition in NI-DAQmx? A: If you are doing double-buffered I/O, you would most likely be polling the buffers to continuously acquire data. In NI-DAQmx, you can achieve this simply by using the NI-DAQmx timing function and setting the Sample Mode parameter to Continuous. NI-DAQmx uses circular buffers. For input operations, portions of data are read from the buffer while the buffer is filled. Likewise for output operations, portions of the buffer can be written to while the buffer is emptied. Using a circular buffer, you can set up your device to continuously acquire data in the background while NI-DAQmx retrieves the acquired data. Figure 12. NI-DAQmx simplifies double-buffered data acquisition. National Instruments Corporation 21

24 Q: How do I configure my SCXI modules using NI-DAQmx? A: You can still set SCXI module properties in MAX by selecting NI-DAQmx Devices, right-clicking the SCXI chassis, and selecting Properties. You see each module that resides in your chassis and you can set the properties of each module by clicking the Details tab. Figure 13. Configure SCXI modules and chassis with MAX. The only property not exposed in MAX is the gain setting. NI-DAQmx can automatically configure the device for the best gain settings based on the I/O limits of your signal. Q: How is pulse train polarity and duty cycle control functionality different in NI-DAQmx? A: In NI-DAQmx, you can simplify your program by using the general DAQmx Create Channel functions and select Counter Output»Pulse Generation»Frequency. In Traditional NI-DAQ (Legacy), you must use the Generate Pulse Train function to define the polarity, frequency, and duty cycle of the pulse train. Besides frequency and duty cycle, NI-DAQmx uses the Idle State parameter to configure the polarity of the pulse train. 22 ni.com

25 Figure 14. NI-DAQmx simplifies counter/timer applications. Q: How can I perform remote data acquisition (RDA) with NI-DAQmx? A: The RDA feature is not available in NI-DAQmx. To remotely control your DAQ device, you can use the Remote Front Panel feature in LabVIEW 7 and later. With this feature, you can remotely control the DAQ application via the Internet. Q: Can I change the frequency of my pulse train generation in NI-DAQmx without restarting the task? A: Yes, you can update the frequency and duty cycle of a continuous pulse train generation at any time, including while the task is running. This is useful for applications that require pulse-width modulation such as PID loop control applications. Within the DAQmx Write function, the Frequency and Duty Cycle parameters can automatically update the pulse train when the task is running. When updating the rate of the pulse generation, a complete period of the current rate is generated before the new rate takes effect. National Instruments Corporation 23

26 Figure 15. Dynamically update pulse train frequency and duty cycle using NI-DAQmx. *342515A-01* A-01 Mar North Mopac Expressway Austin, TX USA Tel: (512) Fax: (512) National Instruments Corporation. All rights reserved. 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 Instrumentstrademarks. 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.

NI-DAQ mx Base 1.x. Contents GETTING STARTED GUIDE

NI-DAQ mx Base 1.x. Contents GETTING STARTED GUIDE GETTING STARTED GUIDE NI-DAQ mx Base 1.x Contents This guide describes how to install and configure the NI-DAQmx Base 1.x software and a data acquisition (DAQ) device. This guide also describes how to

More information

Developing Measurement and Control Applications with the LabVIEW FPGA Pioneer System

Developing Measurement and Control Applications with the LabVIEW FPGA Pioneer System Developing Measurement and Control Applications with the LabVIEW FPGA Pioneer System Introduction National Instruments is now offering the LabVIEW FPGA Pioneer System to provide early access to the new

More information

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI Application Note 182 Programming for the LabVIEW Real-Time Module Using LabWindows/CVI Introduction This document discusses using LabWindows/CVI to interface with RT Series hardware and to write DLLs to

More information

NI-DAQmx Basic Course NITS John Shannon

NI-DAQmx Basic Course NITS John Shannon NI-DAQmx Basic Course NITS 2005 John Shannon Agenda Intro to DAQMX Difference between traditional / DaqMX MAX and DAQ Assistance Analog Input / Output Property Nodes Buffered / Continuous Acquisition Analog

More information

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems Software-Defined Test Fundamentals Understanding the Architecture of Modular, High-Performance Test Systems Contents Executive Summary 4 Architecture Layer No. 5: System Management/Test Executive 5 Architecture

More information

Advanced NI-DAQmx Programming Techniques with LabVIEW

Advanced NI-DAQmx Programming Techniques with LabVIEW Advanced NI-DAQmx Programming Techniques with LabVIEW Agenda Understanding Your Hardware Data Acquisition Systems Data Acquisition Device Subsystems Advanced Programming with NI-DAQmx Understanding Your

More information

NI-DAQ mx for USB Devices

NI-DAQ mx for USB Devices GETTING STARTED GUIDE NI-DAQ mx for USB Devices Français This guide describes how to install and configure NI USB data acquisition (DAQ) devices and how to verify that the devices are working properly.

More information

LabVIEW Basics I: Introduction Course

LabVIEW Basics I: Introduction Course www.ni.com/training LabVIEW Basics I Page 1 of 4 LabVIEW Basics I: Introduction Course Overview The LabVIEW Basics I course prepares you to develop test and measurement, data acquisition, instrument control,

More information

PXI Versus Industrial Computers

PXI Versus Industrial Computers PXI Versus Industrial Computers Contents What is PXI?... 3 PXI Systems Alliance... 3 PCI... 3 Physical Features... 5 Electrical Features... 6 Integrated, Expandable Systems... 6 What are Industrial PCs?...

More information

LabVIEW Real-Time Module for Mac OS X User Manual Addendum

LabVIEW Real-Time Module for Mac OS X User Manual Addendum LabVIEW Real-Time Module for Mac OS X User Manual Addendum Contents Installing the Software This addendum supplements the LabVIEW Real-Time Module User Manual with information specific to running the LabVIEW

More information

NI-DAQmx: Reduce Development Time and Improve Performance

NI-DAQmx: Reduce Development Time and Improve Performance Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications The National Instruments Getting Started with NI-DAQmx Series is aimed at helping you learn NI-DAQmx programming

More information

Designing Next Generation Test Systems An In-Depth Developers Guide

Designing Next Generation Test Systems An In-Depth Developers Guide An In-Depth Developers Guide Designing Next Generation Test Systems An In-depth Developers Guide Contents Section 1 Executive Summary Chapter 1 Increasing Design Complexity...1-1 Shorter Product Development

More information

How to Choose the Right Bus for Your Measurement System

How to Choose the Right Bus for Your Measurement System 1 How to Choose the Right Bus for Your Measurement System Overview When you have hundreds of different data acquisition (DAQ) devices to choose from on a wide variety of buses, it can be difficult to select

More information

LabVIEW FPGA Module Release and Upgrade Notes

LabVIEW FPGA Module Release and Upgrade Notes LabVIEW FPGA Module Release and Upgrade Notes Version 8.0 Contents These release notes contain instructions for installing the LabVIEW FPGA Module, introduce new features, and provide upgrade information.

More information

LabVIEW Datalogging and Supervisory Control Module

LabVIEW Datalogging and Supervisory Control Module RELEASE AND UPGRADE NOTES LabVIEW Datalogging and Supervisory Control Module Version 8.6 Contents This document describes the system requirements and the process of installing the LabVIEW 8.6 Datalogging

More information

High-Accuracy M Series Multifunction DAQ 18-Bit, up to 625 ks/s, up to 32 Analog Inputs

High-Accuracy M Series Multifunction DAQ 18-Bit, up to 625 ks/s, up to 32 Analog Inputs High-Accuracy M Series Multifunction DAQ 18-Bit, up to 625 ks/s, up to 32 Analog Inputs NI M Series High-Accuracy 16 or 32 analog inputs at 18 bits, 625 ks/s (500 ks/s scanning) Up to 4 analog outputs

More information

LabVIEW Real-Time Module Release and Upgrade Notes

LabVIEW Real-Time Module Release and Upgrade Notes LabVIEW Real-Time Module Release and Upgrade Notes Version 8.0 Contents This document provides installation instructions, system requirements, upgrade information, and descriptions of the new features

More information

IMAQ Vision Deployment Engine Note to Users

IMAQ Vision Deployment Engine Note to Users IMAQ Vision Deployment Engine Note to Users The IMAQ Vision Deployment Engine provides everything you need to deploy custom IMAQ Vision applications to target computers. The IMAQ Vision Deployment Engine

More information

IMAQ Vision Deployment Engine Note to Users

IMAQ Vision Deployment Engine Note to Users IMAQ Vision Deployment Engine Note to Users The IMAQ Vision Deployment Engine provides everything you need to deploy custom IMAQ Vision applications to target computers. The IMAQ Vision Deployment Engine

More information

Designing Next Generation Test Systems. An In-depth Developers Guide

Designing Next Generation Test Systems. An In-depth Developers Guide Designing Next Generation Test Systems Designing Next Generation Test Systems An In-depth Developers Guide Contents Section 1 Executive Summary Chapter 1 Designing Next Generation Test Systems Increasing

More information

LabVIEW Graphical Development Platform. Part I An Open Platform for Long-Term Continuity

LabVIEW Graphical Development Platform. Part I An Open Platform for Long-Term Continuity LabVIEW Graphical Development Platform Part I An Open Platform for Long-Term Continuity Introduction For 20 years, scientists and engineers have been using LabVIEW to build automated data acquisition

More information

Getting Started with the LabWindows /CVI Real-Time Module

Getting Started with the LabWindows /CVI Real-Time Module Getting Started with the LabWindows /CVI Real-Time Module This document provides an introduction to the LabWindows /CVI Real-Time Module. Refer to this document for installation and configuration instructions

More information

Developing Networked Data Acquisition Systems with NI-DAQ

Developing Networked Data Acquisition Systems with NI-DAQ Application Note 116 Developing Networked Data Acquisition Systems with NI-DAQ Tim Hayles What Is Remote Device Access? With the NI-DAQ Remote Device Access (RDA ) feature, you can run LabVIEW or LabWindows

More information

PC-based data acquisition I

PC-based data acquisition I FYS3240 PC-based instrumentation and microcontrollers PC-based data acquisition I Spring 2016 Lecture #8 Bekkeng, 20.01.2016 General-purpose computer With a Personal Computer (PC) we mean a general-purpose

More information

Getting Started with the LabVIEW Real-Time Module

Getting Started with the LabVIEW Real-Time Module Getting Started with the LabVIEW Real-Time Module Contents This document provides exercises to teach you how to develop a real-time project and VIs, from setting up RT targets to building, debugging, and

More information

LabVIEW Real-Time Module Release Notes

LabVIEW Real-Time Module Release Notes LabVIEW Real-Time Module Release Notes Version 7.1 Contents Installation These release notes provide installation information, references to related documentation, descriptions of the new features, and

More information

MOIS Overview. 1. Developer Walkthrough

MOIS Overview. 1. Developer Walkthrough MOIS Overview The Modular Ocean Instrumentation System (MOIS) software was developed in the LabVIEW programming language. The software runs on a LabVIEW real-time target. The National Instruments produced

More information

Data Acquisition in LabVIEW

Data Acquisition in LabVIEW University College of Southeast Norway Data Acquisition in LabVIEW Hans-Petter Halvorsen, 2016.10.28 http://home.hit.no/~hansha Preface This tutorial explains the basic concepts of a Data Acquisition in

More information

Contents. Software CALIBRATION PROCEDURE NI TC-4353

Contents. Software CALIBRATION PROCEDURE NI TC-4353 CALIBRATION PROCEDURE NI TC-4353 This document contains the verification procedure for the National Instruments TC-4353. For more information about calibration solutions, visit ni.com/calibration. Contents

More information

High-Speed M Series Multifunction DAQ 16-Bit, up to 1.25 MS/s, up to 80 Analog Inputs

High-Speed M Series Multifunction DAQ 16-Bit, up to 1.25 MS/s, up to 80 Analog Inputs High-Speed M Series Multifunction DAQ 16-Bit, up to 1.25 MS/s, up to 80 Inputs NI M Series High-Speed NI recommends high-accuracy M Series for 5X more measurement sensitivity and lowpass filtering 16,

More information

Contents. Software Requirements CALIBRATION PROCEDURE NI TB-4353

Contents. Software Requirements CALIBRATION PROCEDURE NI TB-4353 CALIBRATION PROCEDURE NI TB-4353 Français Deutsch ni.com/manuals This document contains information about verifying National Instruments PXIe-4353 modules using NI-DAQmx 9.3 and later. It also contains

More information

The hardware implementation of PXI/PXIe consists of a chassis, controller or computer interface, and peripheral cards.

The hardware implementation of PXI/PXIe consists of a chassis, controller or computer interface, and peripheral cards. Introduction PCI extensions for Instrumentation or PXI is a computer based hardware and software platform for test and measurement systems. Developed in the late 1990 s as an open industry standard based

More information

NI-Industrial Communications for EtherCAT

NI-Industrial Communications for EtherCAT INSTALLATION GUIDE NI-Industrial Communications for EtherCAT This document explains how to install the NI-Industrial Communications for EtherCAT software and describes the hardware and software requirements.

More information

Using Desktop PCs as RT Targets with the LabVIEW Real-Time Module

Using Desktop PCs as RT Targets with the LabVIEW Real-Time Module Using Desktop PCs as RT Targets with the LabVIEW Real-Time Module Contents The LabVIEW Real-Time Module can execute VIs on RT targets running the real-time operating system of Ardence Phar Lap Embedded

More information

Install the Software and Hardware

Install the Software and Hardware WHERE TO START WITH YOUR NI 4350/4351 This document explains how to begin using your National Instruments 4350/4351 high-precision temperature and voltage meters. The NI 4350/4351 (NI 435x) products include

More information

High-Speed M Series Multifunction DAQ 16-Bit, up to 1.25 MS/s, up to 80 Analog Inputs

High-Speed M Series Multifunction DAQ 16-Bit, up to 1.25 MS/s, up to 80 Analog Inputs High-Speed M Series Multifunction DAQ 16-Bit, up to 1.25 MS/s, up to 80 Inputs NI M Series High-Speed NI recommends high-accuracy M Series for 5X more measurement sensitivity or industrial M Series for

More information

LabVIEW Release Notes

LabVIEW Release Notes LabVIEW Release Notes LabVIEW 2011 Installation Guide These release notes contain installation instructions for LabVIEW and system requirements for the LabVIEW software. If you are upgrading from a previous

More information

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment FAST SHIPPING AND DELIVERY TENS OF THOUSANDS OF IN-STOCK ITEMS EQUIPMENT DEMOS HUNDREDS OF MANUFACTURERS SUPPORTED

More information

Contents. Software. CALIBRATION PROCEDURE NI 9216/ Channel, 24-Bit, 100 Ω/1000 Ω RTD Analog Input Module

Contents. Software. CALIBRATION PROCEDURE NI 9216/ Channel, 24-Bit, 100 Ω/1000 Ω RTD Analog Input Module CALIBRATION PROCEDURE NI 9216/9226 8-Channel, 24-Bit, 100 Ω/1000 Ω RTD Analog Input Module This document contains the verification and adjustment procedures for the National Instruments 9216 and National

More information

LabVIEW FPGA Module Version 2013

LabVIEW FPGA Module Version 2013 RELEASE AND UPGRADE NOTES LabVIEW FPGA Module Version 2013 This document contains instructions for installing the LabVIEW 2013 FPGA Module and related products, introduces new features, and provides information

More information

CALIBRATION PROCEDURE PXIe channel, 16-bit, 400 ks/s/ch, Ch-Ch Isolated Analog Input Module. ni.com/manuals

CALIBRATION PROCEDURE PXIe channel, 16-bit, 400 ks/s/ch, Ch-Ch Isolated Analog Input Module. ni.com/manuals CALIBRATION PROCEDURE PXIe-4310 8-channel, 16-bit, 400 ks/s/ch, Ch-Ch Isolated Analog Input Module Français Deutsch ni.com/manuals This document contains the verification and adjustment procedures for

More information

LabVIEW PDA Module Release Notes

LabVIEW PDA Module Release Notes LabVIEW PDA Module Release Notes Version 7.0 Contents These release notes contain system requirements for the LabVIEW PDA Module software, installation and licensing instructions, a tutorial that guides

More information

Electromagnetic Compatibility Guidelines

Electromagnetic Compatibility Guidelines GETTING STARTED GUIDE Power Amplifier Français Deutsch ni.com/manuals This document explains how to install, configure, and set up the power amplifier. NI-DAQmx 9.8 has added support for the device. To

More information

GETTING STARTED NI 9501 C Series Stepper Drive Modules and NI SoftMotion Module

GETTING STARTED NI 9501 C Series Stepper Drive Modules and NI SoftMotion Module GETTING STARTED NI 9501 C Series Stepper Drive Modules and NI SoftMotion Module Note If you are a new user of LabVIEW or are unfamiliar with LabVIEW, refer to the Getting Started with LabVIEW manual for

More information

CALIBRATION PROCEDURE NI PXIe Channel, Isolated Voltage/Current Analog Output Module

CALIBRATION PROCEDURE NI PXIe Channel, Isolated Voltage/Current Analog Output Module CALIBRATION PROCEDURE NI PXIe-4322 8-Channel, Isolated Voltage/Current Analog Output Module This document contains the verification and adjustment procedures for the National Instruments PXIe-4322 module.

More information

CALIBRATION PROCEDURE CAL Contents. Software

CALIBRATION PROCEDURE CAL Contents. Software CALIBRATION PROCEDURE CAL-4353 Français Deutsch ni.com/manuals Contents Software This document contains information about verifying and adjusting National Instruments NI PXIe-4353 modules using NI-DAQmx

More information

Contents. Software Requirements. CALIBRATION PROCEDURE NI PXIe-4357

Contents. Software Requirements. CALIBRATION PROCEDURE NI PXIe-4357 CALIBRATION PROCEDURE NI PXIe-4357 Français Deutsch ni.com/manuals This document contains information about calibrating National Instruments PXIe-4357 SC Express modules using NI-DAQmx. For more information

More information

Where to Start with NI ELVIS

Where to Start with NI ELVIS Where to Start with NI ELVIS Conventions The National Instruments Educational Laboratory Virtual Instrumentation Suite (NI ELVIS) is a LabVIEW-based design and prototyping environment for university science

More information

PCI/PXI Gigabit Ethernet Adapters

PCI/PXI Gigabit Ethernet Adapters INSTALLATION GUIDE PCI/PXI Gigabit Ethernet Adapters Installing Your PXI Board National Instruments gigabit Ethernet adapters are based on the Intel 82540-compatible Ethernet controller. This document

More information

Getting Started with the LabVIEW Real-Time Module

Getting Started with the LabVIEW Real-Time Module Getting Started with the LabVIEW Real-Time Module Contents This document provides steps to build a simple deterministic application and references to programming examples and documentation for more information

More information

Related Information Refer to the NI Switches Help for detailed information about features and programming options for your NI switch product.

Related Information Refer to the NI Switches Help for detailed information about features and programming options for your NI switch product. GETTING STARTED GUIDE NI Switches SCXI Switch Modules This document explains how to install, configure, and set up a National Instruments SCXI switch module. Your NI SCXI switch module ships with the NI-SWITCH

More information

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni. LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual (online) LabVIEW Core 1 Exercise Manual (online) LabVIEW Core 1 Course CD (preloaded on S Share) Multifunction DAQ device File Locations

More information

Hardware: Acquiring Data and Communicating with Instruments

Hardware: Acquiring Data and Communicating with Instruments Hardware: Acquiring Data and Communicating with Instruments 4 Acquiring a Signal This chapter introduces you to the Express VIs you use to acquire data and communicate with instruments on Windows. These

More information

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009. CHAPTER 3 By Radu Muresan University of Guelph Page 1 ENGG4420 CHAPTER 3 LECTURE 1 October 31 10 5:12 PM CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R.

More information

LABVIEW REAL-TIME. Contents. About LabVIEW Real-Time (RT) RELEASE NOTES. Version 6.1

LABVIEW REAL-TIME. Contents. About LabVIEW Real-Time (RT) RELEASE NOTES. Version 6.1 RELEASE NOTES LABVIEW REAL-TIME Version 6.1 Contents These release notes provide information about LabVIEW Real-Time (RT), related documentation, special installation considerations, compatibility with

More information

The Measurement Revolution

The Measurement Revolution The Measurement Revolution Executive Summary The Measurement Revolution is a direct result of another revolution the PC revolution that has affected every aspect of our lives. Technology being developed

More information

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual LabVIEW Core 1 Exercise Manual LabVIEW Core 1 Course CD Multifunction DAQ device GPIB interface DAQ Signal Accessory, wires, and

More information

Low-Cost Multifunction DAQ for USB

Low-Cost Multifunction DAQ for USB NI USB-6008, NI USB-6009 Small and portable 12 or 14-bit input resolution, at up to 48 ks/s Built-in, removable connectors for easier and more cost-effective connectivity 2 true DAC analog outputs for

More information

SCB-68 User Guide. 68-Pin Shielded Desktop Connector Block

SCB-68 User Guide. 68-Pin Shielded Desktop Connector Block SCB-6 User Guide 6-Pin Shielded Desktop Connector Block This guide describes how to connect and use the NI SCB-6 with 6-pin or 00-pin data acquisition (DAQ) devices and other NI products with a 6-pin SCSI

More information

CALIBRATION PROCEDURE NI channel, ±2- ma/±10 V, 24-bit Analog Input Module. ni.com/manuals

CALIBRATION PROCEDURE NI channel, ±2- ma/±10 V, 24-bit Analog Input Module. ni.com/manuals CALIBRATION PROCEDURE NI 9207 16-channel, ±2- ma/±10 V, 24-bit Analog Input Module Français Deutsch ni.com/manuals This document contains the verification and adjustment procedures for the National Instruments

More information

Automated Test Equipments

Automated Test Equipments Automated Test Equipments Elias Nicolas National Instruments - Arabia Tests and Measurements Interactive Measurements Benchtop Non-programmed Automated Measurements Data Acq, Instr I/O Programmed Automated

More information

LabVIEW Release Notes

LabVIEW Release Notes LabVIEW Release Notes Version 7.1 Contents These release notes contain installation and uninstallation instructions for LabVIEW, system requirements for the LabVIEW software, and known issues with LabVIEW

More information

DT3016. High-Speed, Multifunction PCI Data Acquisition Board. Overview. Key Features. Supported Operating Systems

DT3016. High-Speed, Multifunction PCI Data Acquisition Board. Overview. Key Features. Supported Operating Systems DT3016 High-Speed, Multifunction PCI Data Acquisition Board Overview The DT3016 provides a full range of PCI compatible, plug-in data acquisition boards for high-speed, high accuracy, and high channelcount

More information

LabWindows /CVI Version 2015

LabWindows /CVI Version 2015 RELEASE NOTES LabWindows /CVI Version 2015 These release notes introduce LabWindows /CVI 2015. Refer to this document for system requirements, installation and activation instructions, and information

More information

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications Publish Date: Dec 29, 2008 38 Ratings 4.16 out of 5 Overview Hardware-in-the-loop (HIL) simulation is achieving a highly realistic simulation

More information

What s New in Data Acquisition

What s New in Data Acquisition What s New in Data Acquisition NEW! New DAQ Products and Demos NEW! USB DAQ Multifunction Intelligent DAQ DAQ Software New DAQ Products and Demos NEW! USB DAQ Multifunction Intelligent DAQ DAQ Software

More information

LabWindows /CVI Release Notes Version 2010

LabWindows /CVI Release Notes Version 2010 LabWindows /CVI Release Notes Version 2010 Contents These release notes introduce LabWindows /CVI 2010. Refer to this document for system requirements, installation and activation instructions, and information

More information

TestStand. Contents RELEASE NOTES. Version 2017

TestStand. Contents RELEASE NOTES. Version 2017 RELEASE NOTES TestStand Version 2017 These release notes contain TestStand 2017 system requirements, licensing information, and installation instructions. The release notes also contain instructions for

More information

LabWindows /CVI Release Notes Version 9.0

LabWindows /CVI Release Notes Version 9.0 LabWindows /CVI Release Notes Version 9.0 Contents These release notes introduce LabWindows /CVI 9.0. Refer to this document for system requirements, installation and activation instructions, and information

More information

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0)

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0) 107 Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0) Typing the desired HS frame in the box f HS, it is

More information

LabWindows /CVI Version 2017

LabWindows /CVI Version 2017 RELEASE NOTES LabWindows /CVI Version 2017 These release notes introduce LabWindows /CVI 2017. Refer to this document for system requirements, installation and activation instructions, and information

More information

Where to Start with NI ELVIS

Where to Start with NI ELVIS Where to Start with NI ELVIS Conventions Thank you for purchasing National Instruments Educational Laboratory Virtual Instrumentation Suite (NI ELVIS). This document explains how to set up and configure

More information

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment FAST SHIPPING AND DELIVERY TENS OF THOUSANDS OF IN-STOCK ITEMS EQUIPMENT DEMOS HUNDREDS OF MANUFACTURERS SUPPORTED

More information

CALIBRATION PROCEDURE SCXI Contents. Software Requirements. ni.com/manuals

CALIBRATION PROCEDURE SCXI Contents. Software Requirements. ni.com/manuals CALIBRATION PROCEDURE SCXI -10 Français Deutsch ni.com/manuals Contents This document contains information for verifying and adjusting the SCXI-10 module using NI-DAQmx 8.1 or later. For more information

More information

Developing Measurement and Analysis System using MATLAB

Developing Measurement and Analysis System using MATLAB Developing Measurement and Analysis System using MATLAB 성호현차장 Senior Application Engineer MathWorks Korea 2013 The MathWorks, Inc. 1 Agenda Great Demo : Battery test demo Overview of data acquisition capabilities

More information

R Series for USB Multifunction RIO with Kintex-7 70T FPGA. ni.com/manuals. Electromagnetic Compatibility Guidelines

R Series for USB Multifunction RIO with Kintex-7 70T FPGA. ni.com/manuals. Electromagnetic Compatibility Guidelines GETTING STARTED GUIDE NI USB-7845R R Series for USB Multifunction RIO with Kintex-7 70T FPGA Français Deutsch 日本語한국어简体中文 ni.com/manuals This document explains how to install and configure National Instruments

More information

24-Channel, ±24 V Precision PXI Source Measure Unit

24-Channel, ±24 V Precision PXI Source Measure Unit GETTING STARTED GUIDE PXIe-4163 24-Channel, ±24 V Precision PXI Source Measure Unit This document explains how to install, configure, and test the PXIe-4163. The PXIe-4163 ships with NI-DCPower driver

More information

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment FAST SHIPPING AND DELIVERY TENS OF THOUSANDS OF IN-STOCK ITEMS EQUIPMENT DEMOS HUNDREDS OF MANUFACTURERS SUPPORTED

More information

Getting Results with CompactRIO and LabVIEW

Getting Results with CompactRIO and LabVIEW Getting Results with CompactRIO and LabVIEW Getting Started This tutorial demonstrates how to develop a CompactRIO application in LabVIEW. The application uses a CompactRIO R Series Expansion system or

More information

Contents. Software. CALIBRATION PROCEDURE NI Channel, 300 Vrms, 24-Bit, Simultaneous, Channel-to-Channel Isolated Analog Input Module

Contents. Software. CALIBRATION PROCEDURE NI Channel, 300 Vrms, 24-Bit, Simultaneous, Channel-to-Channel Isolated Analog Input Module CALIBRATION PROCEDURE NI 9225 3-Channel, 300 Vrms, 24-Bit, Simultaneous, Channel-to-Channel Isolated Analog Input Module Français Deutsch ni.com/manuals This document contains the verification and adjustment

More information

±10 V, 20 MS/s/ch, 14-Bit, 4-Channel C Series Digitizer Module

±10 V, 20 MS/s/ch, 14-Bit, 4-Channel C Series Digitizer Module CALIBRATION PROCEDURE NI 9775 ±10 V, 20 MS/s/ch, 14-Bit, 4-Channel C Series Digitizer Module This document contains the verification and adjustment procedures for the NI 9775. For more information on calibration,

More information

CompactDAQ Chassis PRODUCT FLYER CONTENTS. Цены и срок поставки уточняйте на сайте по телефону: или

CompactDAQ Chassis PRODUCT FLYER CONTENTS. Цены и срок поставки уточняйте на сайте   по телефону: или PRODUCT FLYER CompactDAQ Chassis CONTENTS CompactDAQ Chassis Detailed View of cdaq-9189 Key Features NI-DAQmx Application Programming Interface (API) Platform-Based Approach to Conditioned Measurements

More information

Solving the Data Transfer Bottleneck in Digitizers

Solving the Data Transfer Bottleneck in Digitizers Solving the Data Transfer Bottleneck in Digitizers With most modern PC based digitizers and data acquisition systems a common problem is caused by the fact that the ADC technology usually runs in advance

More information

Introduction to LabVIEW and NI Hardware Platform

Introduction to LabVIEW and NI Hardware Platform Introduction to LabVIEW and NI Hardware Platform Corrie Botha Platform-Based Approach 2 With LabVIEW, You Can Program the Way You Think 3 With LabVIEW, You Can Program the Way You Think The graphical,

More information

Evaluating a Test Executive

Evaluating a Test Executive Evaluating a Test Executive Feature Comparison Matrix National Instruments TestStand combines a large set of off-the-shelf features, a high-performance test execution, and incredible flexibility, to make

More information

DaqBoard/1000. Series 16-Bit, 200-kHz PCI Data Acquisition Boards

DaqBoard/1000. Series 16-Bit, 200-kHz PCI Data Acquisition Boards 16-Bit, 200-kHz PCI Data Acquisition Boards Features 16-bit, 200-kHz A/D converter 8 differential or 16 single-ended analog inputs (software selectable per channel) Up to four boards can be installed into

More information

A variety of ECONseries modules provide economical yet flexible solutions

A variety of ECONseries modules provide economical yet flexible solutions Economy USB Mini-Instruments Flexible Yet Economical A variety of low-cost modules are available to provide flexible yet economical solutions. Choose the number of analog I/O and digital I/O channels,

More information

SCXI -1102/B/C. Contents CALIBRATION PROCEDURE. For NI-DAQmx

SCXI -1102/B/C. Contents CALIBRATION PROCEDURE. For NI-DAQmx CALIBRATION PROCEDURE SCXI -1102/B/C For NI-DAQmx Contents This document contains information and instructions for calibrating the National Instruments SCXI-1102/B/C signal conditioning module. Conventions...

More information

Measurement Studio Measurement Computing Edition

Measurement Studio Measurement Computing Edition RELEASE NOTES Measurement Studio Measurement Computing Edition Installation Requirements These release notes introduce Measurement Studio Measurement Computing Edition 8.1.1. Refer to this document for

More information

VXI-LXI DAQ System Ensures Mission Critical Reliability for Rocket Engine Test

VXI-LXI DAQ System Ensures Mission Critical Reliability for Rocket Engine Test VXI-LXI DAQ System Ensures Mission Critical Reliability for Rocket Engine Test by Tom Sarfi, VTI Instruments This rocket launch vehicle manufacturer is the world s largest producer of solid rocket motors

More information

PXIe Contents. Verifying the System Requirements GETTING STARTED GUIDE. 32-Channel Digital Pattern Instrument

PXIe Contents. Verifying the System Requirements GETTING STARTED GUIDE. 32-Channel Digital Pattern Instrument GETTING STARTED GUIDE PXIe-6571 32-Channel Digital Pattern Instrument Note Before you begin, install and configure your chassis and controller. This document explains how to install, configure, and test

More information

Data Acquisition Fundamentals

Data Acquisition Fundamentals -1001 MAINFRAME Application Note 007 Introduction Data Acquisition Fundamentals Today, most scientists and engineers use personal computers (PCs) with PCI, PXI/CompactPCI, PCMCIA, USB, IEEE 1394, ISA,

More information

LabWindows /CVI Release Notes

LabWindows /CVI Release Notes LabWindows /CVI Release Notes Version 8.1 Contents These release notes introduce LabWindows /CVI 8.1. Refer to this document for system requirements, installation and activation instructions, and information

More information

Personal Daqs USB Data Acquisition Modules Models /55 & /56

Personal Daqs USB Data Acquisition Modules Models /55 & /56 USB Data Acquisition Modules Models /55 & /56 Features Multi-function data acquisition modules attach to PCs via Universal Serial Bus (USB) Ultra low-power design requires no external power or batteries

More information

The PXI Modular Instrumentation Architecture

The PXI Modular Instrumentation Architecture The PXI Modular Instrumentation Architecture Overview The PXI (PCI extensions for Instrumentation) specification defines a rugged PC platform for measurement and automation. PXI modular instrumentation

More information

Migrating a Business-Critical Application to Windows Azure

Migrating a Business-Critical Application to Windows Azure Situation Microsoft IT wanted to replace TS Licensing Manager, an application responsible for critical business processes. TS Licensing Manager was hosted entirely in Microsoft corporate data centers,

More information

For NI PXI and NI SCXI Switch Modules

For NI PXI and NI SCXI Switch Modules GETTING STARTED GUIDE NI Switches For NI PXI and NI SCXI Switch Modules This document explains how to install, configure, and test a National Instruments PXI or SCXI switch module. This document contains

More information

12-Channel, ±24 V Precision PXI Source Measure Unit

12-Channel, ±24 V Precision PXI Source Measure Unit GETTING STARTED GUIDE PXIe-4162 12-Channel, ±24 V Precision PXI Source Measure Unit This document explains how to install, configure, and test the PXIe-4162. The PXIe-4162 ships with NI-DCPower driver

More information

LabWindows /CVI Using the Latest ANSI C Tools for High-Performance Automated Test

LabWindows /CVI Using the Latest ANSI C Tools for High-Performance Automated Test LabWindows /CVI Using the Latest ANSI C Tools for High-Performance Automated Test Agenda Introduction to LabWindows/CVI and modular instruments Developing modular instrument applications Hybrid systems

More information

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment FAST SHIPPING AND DELIVERY TENS OF THOUSANDS OF IN-STOCK ITEMS EQUIPMENT DEMOS HUNDREDS OF MANUFACTURERS SUPPORTED

More information