beautypg.com

Returns, Function usage, Prototypes – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 238: Program references

background image

4.5-8 Daq API Command Reference

908794

Programmer’s

Manual


Returns

DerrNoError if successful or a DaqError error code (see the DaqError table at the end of chapter 4)

Function Usage

This function will return the subset of created and detected devices specified by the flags parameter. At least one of the
DaqInfoFlagsCreated, DaqInfoFlagsNotCreated, DaqInfoFlagsDetected or DaqInfoFlagsNotDetected flags must be
specified and no more than one of the DaqInfoFlagsMatch flags can be specified (see preceding table).

The AliasName element of the pMatchInfo structure must be set if the DaqInfoFlagsMatchAlias or
DaqInfoFlagsMatchParentAlias flag is set.

The DeviceType element of the pMatchInfo structure must be set if the DaqInfoFlagsMatchType,
DaqInfoFlagsMatchSubType, DaqInfoFlagsMatchProdGroup or DaqInfoFlagsMatchProdFamily flag is set.

The DeviceSubType element of the pMatchInfo structure must be set if the DaqInfoFlagsMatchSubType flag is set.

Prototypes

C/C++

daqGetDeviceInventory(DaqDevInfoPT pInfoList, PDWORD pInfoListCount, DaqDevInfoPT pMatchInfo,
DWORD flags);

Visual BASIC

VBdaqGetDeviceInventory&(InfoList() As DaqDevInfoT, InfoListCount As Long, ByVal Flags As Long,
MatchInfo As DaqDevInfoT)

Program References

None