
4.5-6 Daq API Command Reference 908794 Programmer’s Manual
daqGetDeviceInfo
Format
daqGetDeviceInfo(handle, pDevInfo)
Purpose
daqGetDeviceInfo gets the device information for the currently opened device
Parameter Summary
Parameter Type Description
handle DaqHandleT Handle to the device for which the device information is to be obtained
pDevInfo DaqDevInfoPT Pointer to the device information structure to return the device information
Parameter Values
handle: obtained from the daqOpen function
pDevInfo: see the DaqDevInfoT table of the daqCreateDevice function
Returns
DerrNoError if successful or a DaqError error code (see the DaqError table at the end of chapter 4)
Function Usage
This function will get the device information of the device actually connected. This information may be slightly different
than the information contained in the Windows Registry. For example, if a WaveBook/516A was created using the DaqX
control panel applet, but a WaveBook/512A is actually connected, the device information structure returned by this
function will reflect the WaveBook/512A.
Prototypes
C/C++
daqGetDeviceInfo(DaqHandleT handle, DaqDevInfoPT pDevInfo);
Visual BASIC
VBdaqGetDeviceInfo&(ByVal handle&, DevInfo As DaqDevInfoT)
Program References
None
Comentarios a estos manuales