beautypg.com

Daqgethardwareinfo, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 243: Parameter summary, Parameter values, Dhihardwareversion dhihardwareversion

background image

Programmer’s Manual

908794

Daq API Command Reference 4.5-13



daqGetHardwareInfo

Also See: daqGetDriverVersion, daqOpen

Format

daqGetHardwareInfo(handle, whichInfo, info)

Purpose

daqGetHardwareInfo

retrieves hardware information for the specified device.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device

whichInfo DaqInfo

Specifies what type of device information to retrieve

info VOID Pointer to the information returned from the selected device; data returned

varies according to info type selected

Parameter Values

handle:

obtained from the daqOpen function

whichInfo:

see table below

info:

pointer to a returned value; value ranges depend on information requested

Parameter Type Definitions

whichInfo–(DaqHardwareInfo)

Definition

Description

DhiHardwareVersion

Returns value of type DaqHardwareVersion (see table below)

DhiProtocol

Returns value of type DaqProtocol (see table below)

DhiADmin

ADC Output Low Range

DhiADmax

ADC Output High Range

DhiHardwareSubType

Returns value of type DaqHardwareSubType (see next page)

The following tables give the possible return values when DaqHarwareInfo is set to
DhiHardwareVersion

or DhiProtocol. DaqSubType information follows the table below.

DhiHardwareVersion

DhiHardwareVersion

Value
Returned

Device

Value
Returned

Device

0

DaqBook100

23

DaqBook2000 Series Device (A, E, or X)

1

DaqBook112

24, 25, 26, 27, 28

Reserved

2

DaqBook120

29

WaveBook/512A

3

DaqBook200 or DaqBook/260

30

WaveBook/516A, WaveBook/516E

4

DaqBook216 31

WBK25

5

DaqBoard100 32

WBK40

6

DaqBoard112 33

WBK41

7

DaqBoard200 34

DaqBoard/1000

8

DaqBoard216 35

DaqBoard/1005

9

Daq112

36

DaqLab/2000 Series

10

Daq216

37

DaqScan/2000 Series

11

WaveBook512

38

DaqBoard/500

12

WaveBook516

39

DaqBoard/505

13

TempBook66

40

DaqBoard/3000

14

PersonalDaq56

41

DaqBoard/3001

15

WaveBook516_250

42

DaqBoard/3005

16

WaveBook512_10V 43

UsbDaqDevice

17

DaqBoard2000, DaqBoard/2000c 44

PersonalDaq3000

18

DaqBoard2001, DaqBoard/2001c 45

ZonicPod

19

DaqBoard2002, DaqBoard/2002c 46

DaqBoard/3006

20

DaqBoard2003, DaqBoard/2003c 47

DaqBoard/3000USB

21

DaqBoard2004, DaqBoard/2004c

0x100 - DaqTemp7

0x200 – DaqTemp7A

22

DaqBoard2005, DaqBoard/2005c

0x400 - DaqTemp14

0x800 - DaqTemp14A