Traditional ni-daq (legacy) in text-based ades – National Instruments Module SCXI-1125 User Manual

Page 58

Advertising
background image

Chapter 5 Using the SCXI-1125

© National Instruments Corporation

5-21

SCXI-1125 User Manual

Traditional NI-DAQ (Legacy) in Text-Based ADEs

NI text-based ADEs, such as LabWindows/CVI, Measurement Studio
for Microsoft Visual Basic, and Measurement Studio for Microsoft
Visual C++, offer help in the development of test and measurement
applications. These ADEs provide easy data acquisition, data analysis,
graphical display, and data logging tools. Refer to the ADE user manual for
more information about how to use these features.

The high-level data acquisition tools provided in LabWindows/CVI and
Measurement Studio allow you to easily use virtual channels configured in
MAX providing easy configuration and programming of the data
acquisition systems. However, some of the more advanced features of the
SCXI-1125 are not accessible through this easy-to-use API. For more
advanced features or for more explicit control of the programmatic
attributes, use the low-level DAQ functions provided in the Traditional
NI-DAQ (Legacy) C API. Refer to the ADE user documentation for more
information about how to use the high-level data acquisition tools that are
provided in your NI ADE.

For more advanced SCXI-1125 applications, or if you are using an ADE
other than an NI ADE, you can use the Traditional NI-DAQ (Legacy) C API
to call functions from the DAQ driver dynamically linked library (dll).

Configuring System Settings Using Traditional NI-DAQ (Legacy) C API

Start the configuration of the acquisition by ensuring that the SCXI-1125
module and SCXI chassis are in their default states, and that the driver
software configuration matches the states the actual physical hardware
configuration. After setting the hardware and software to the defaults of the
module(s), you can configure any module settings that vary from the
default configuration settings. You also should configure the acquisition
parameters using the functions in Table 5-7. For additional information
such as the function prototypes, parameters, and usage instructions for each
function, refer to the Traditional NI-DAQ (Legacy) Function Reference
Help
installed by default in Start»Programs»National Instruments»

NI-DAQ.

Advertising