Contents
©
National Instruments Corporation
vii
Configuring Channel Properties........................................................5-8
Acquiring, Analyzing, and Presenting ..............................................5-9
Completing the Application ..............................................................5-9
Developing an Application Using LabVIEW..................................................5-9
Using a DAQmx Channel Property Node in LabVIEW ...................5-11
Specifying Channel Strings in NI-DAQmx.....................................................5-12
Text Based ADEs..............................................................................5-14
Measurement Studio (Visual Basic, .NET, and C#)........................................5-14
Programmable NI-DAQmx Properties..............................................5-14
Developing Your Application in Traditional NI-DAQ (Legacy) ..................................5-15
Traditional NI-DAQ (Legacy) in LabVIEW ...................................................5-16
Typical Program Flow ......................................................................5-17
Configure the SCXI-1125 Settings Using Traditional NI-DAQ
Configure, Start Acquisition, and Take Readings Using Traditional
NI-DAQ (Legacy) in LabVIEW...................................................................5-19
Convert Scaling Using Traditional NI-DAQ (Legacy) in LabVIEW .............5-20
Analyze and Display Using Traditional NI-DAQ (Legacy) in LabVIEW......5-20
Traditional NI-DAQ (Legacy) in Text-Based ADEs ......................................5-21
Configuring System Settings Using Traditional NI-DAQ (Legacy) C API....5-21
Configure Module Settings Using Traditional NI-DAQ (Legacy) C API ......5-22
Perform Offset Null Compensation
Using Traditional NI-DAQ (Legacy) C API ................................................5-23
Perform Acquisition Using Traditional NI-DAQ (Legacy) C API .................5-23
Perform Scaling, Analysis, and Display..........................................................5-24
Using Software for Multiplexed Scanning ......................................................5-24
LabVIEW and the SCXI Channel String ..........................................5-25
LabVIEW and the Virtual Channel String ........................................5-26
C and Low-Level DAQ Functions ....................................................5-28
LabVIEW and Parallel Mode............................................................5-28
C and Parallel Mode..........................................................................5-29
One-Point Offset Calibration ............................................................5-31
Two-Point Gain and Offset Calibration ............................................5-32