National Instruments 321645c-01 Welding System User Manual


 
©
National Instruments Corporation 2-1 NI-DAQ FRM for PC Compatibles
Chapter
2
Function Reference
This chapter contains a detailed explanation of each NI-DAQ function. The functions are
arranged alphabetically.
AI_Change_Parameter
Format
status = AI_Change_Parameter (deviceNumber, channel, paramID, paramValue)
Purpose
Selects a specific parameter for the analog input section of the device or an analog input
channel. You can select parameters related to analog input not listed here through the
AI_Configure function.
Input
Parameter Discussion
Legal ranges for
paramID
and
paramValue
are given in terms of constants defined in a
header file. The header file you should use depends on the language you are using:
C programmers—
NIDAQCNS.H (DATAACQ.H for LabWindows/CVI)
BASIC programmers—
NIDAQCNS.INC
Note
Visual Basic for Windows programmers should refer to the Visual Basic for
Windows topic for more information.
Name Type Description
deviceNumber
i16 assigned by configuration utility
channel
i16 number of channel you want to configure; use –1
to indicate all channels
paramID
u32 identification of the parameter you want to change
paramValue
u32 new value for the parameter specified by
paramID