Omega OMB-DAQ-54 User Manual page 154

Usb data acquisition modules
Table of Contents

Advertisement

daqGetDeviceCount(DWORD *deviceCount);
DLL Function
daqGetDeviceCount(DWORD *deviceCount);
C
Visual BASIC
VBdaqGetDevice&(deviceCount&)
Delphi
daqGetDeviceCount(deviceCount:PDWORD);
deviceCount
Parameters
Returns
DerrNoError
See Also
daqGetDeviceList, daqGetDeviceProperties
ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DIGEX1.C, INITEX1.C, DAQEX.FRM (VB),
Program References
DAQEX.PAS (Delphi)
Used With
All devices
Description
daqGetDeviceCount returns the number of currently configured devices. This function will return the number of devices currently
configured in the system. The Personal Daq devices need to be present for this function to operate properly.
DLL Function
DaqGetDeviceList(daqDeviceListT *deviceList, DWORD *deviceCount);
DaqGetDeviceList(DaqDeviceListT *deviceList, DWORD *deviceCount);
C
VbdaqGetDeviceList&(ByRef deviceList() As String, ByRef deviceCount&)
Visual BASIC
Delphi
daqGetDeviceList(deviceList:DeviceListTP; devCount:PDWORD);
deviceList
Parameters
deviceCount
Returns
DerrNoError
daqGetDeviceCount, daqGetDeviceProperties, daqOpen,
See Also
ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DIGEX1.C, INITEX1.C, DAQEX.FRM (VB),
Program References
DAQEX.PAS (Delphi)
All devices
Used With
Description
daqGetDeviceList returns a list of currently configured devices. This function will return the device names in the deviceList
parameter for the number of devices returned by the deviceCount parameter. Each deviceList entry contains a device name
consisting of up to 64 characters. The device name can then be used with the daqOpen function to open the specific device.
daqGetDeviceProperties(LPSTR daqName, daqDevicePropsT *deviceProps);
DLL Function
daqGetDeviceProperties(LPSTR daqName, DaqDevicePropsT *deviceProps);
C
Visual BASIC
VBdaqGetDeviceProperties&(ByVal daqName$, deviceProps As daqDevicePropsT)
Delphi
daqGetDeviceProperties(daqName:string; deviceProps: daqDevicePropsTP);
daqName
Parameters
DeviceCount
Returns
DerrNoError
See Also
daqGetDeviceCount, daqGetDeviceList, daqOpen
ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DIGEX1.C, INITEX1.C, DAQEX.FRM (VB),
Program References
DAQEX.PAS (Delphi)
Used With
All devices
Description
daqGetDeviceProperties returns the properties for the specified device as indicated by the daqName parameter. This name should be
a valid name of a configured device. The properties for the device are returned in the deviceProps parameter. deviceProps is a
pointer to user-allocated memory which will hold the device-properties structure. This memory must have been allocated before calling this
function.
For detailed device-property structure layout, refer the to daq Device Properties Definition table.
Personal Daq User's Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqGetDeviceCount
Pointer to which the device count is to be returned
No error
daqGetDeviceList
Pointer to memory location to which the device list is to be returned
Number of devices returned in the device list
No error
daqGetDeviceProperties
Pointer to a character string representing the name of the device for which to retrieve
properties
Number of devices returned in the device list
No error
Appendix B,
887095
API Commands
B-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-daq-55Omb-daq-56

Table of Contents