beautypg.com

Daqgethardwaretype – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 247

background image

Programmer’s Manual

908794

Daq API Command Reference 4.5-17


daqGetHardwareType

Format

daqGetHardwareType(handle, pHwSubType)

Purpose

daqGetHardwareType gets the device type and sub type of the current device

Parameter Summary

Parameter Type

Description

handle

DaqHandleT

Handle to the device for which the device type and sub type is to be
obtained

pHwSubType DaqHardwareSubType *

Pointer to a value that will contain the device sub type

Parameter Values

handle: obtained from the daqOpen function
pHwSubType: Pointer to a value that will contain the device sub type or NULL if the device sub type is not desired
(see DaqHardwareSubType of the daqGetHardwareInfo function)

Returns

The device type of the current device (see DaqHardwareVersion of the daqGetHardwareInfo function)

Function Usage

This function gets the device type and sub type of the current device.

Prototypes

C/C++

daqGetHardwareType(DaqHandleT handle, DaqHardwareSubType *pHwSubType);

Visual BASIC

VBdaqGetHardwareType&(ByVal handle&, HwSubType&)

Program References

None