Chapter 2 Function Reference — Get_DAQ_Device_Info
©
National Instruments Corporation 2-195 NI-DAQ FRM for PC Compatibles
Get_DAQ_Device_Info
Format
status = Get_DAQ_Device_Info (deviceNumber, infoType, infoValue)
Purpose
Allows you to retrieve parameters pertaining to the device operation.
Parameters
Input
Output
Parameter Discussion
The legal range for the infoType is given in terms of constants that are defined in the 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
• Pascal programmers—NIDAQCNS.PAS
infoType indicates which parameter to retrieve. infoValue reflects the value of the parameter.
infoValue is given either in terms of constants from the header file or as numbers, as
appropriate.
Name Type Description
deviceNumber i16 assigned by configuration utility
infoType u32 type of information to retrieve
Name Type Description
infoValue u32 retrieved information