beautypg.com

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

Page 248: Parameter summary, Parameter values, Parameter type definitions whichinfo–(daqinfo)

background image

4.5-18 Daq API Command Reference

908794

Programmer’s

Manual


daqGetInfo

Also See: daqGetDriverVersion,

daqOpen, daqGetHardwareInfo

Format

daqGetInfo(handle, chan, whichInfo, info)

Purpose

daqGetInfo

retrieves specific information for the specified device.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device

chan DWORD Specifies which channel.
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

chan:

valid values range from 0 to 511

whichInfo:

see table below

info:

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

Parameter Type Definitions

whichInfo–(DaqInfo)

Definition

Description

DdiHardwareVersionInfo

Returns value of type DaqHardwareVersion (see table: DdiHardwareVersionInfo)

DdiProtocolInfo

Returns value of type DaqProtocol (see table: DdiProtocolInfo)

DdiChTypeInfo

Returns channel type (DaqAdcExpType)

DdiChOptionTypeInfo

Returns channel option type (DaqAdcExpType)

DdiADminInfo

ADC Output Low Range

DdiADmaxInfo

ADC Output High Range

DdiChanCountInfo

Not Used

DdiNVRAMDateInfo

Date String

DdiNVRAMTimeInfo

Time String

DdiDbk4MaxFreqInfo

Returns the current DBK4 LPF setting

DdiDbk4SetBaselineInfo

Returns the current DBK4 baseline setting

DdiDbk4ExcitationInfo

Returns the current DBK4 excitation source setting

DdiDbk4ClockInfo

Returns the current DBK4 clock setting

DdiDbk4GainInfo

internally used by daqAdcSetScan

DdiDbk7SlopeInfo

Returns the current DBK7 slope

DdiDbk7DebounceTimeInfo

Returns the current DBK7 debounce setting

DdiDbk7MinFreqInfo

Returns the current DBK7 min frequency setting

DdiDbk7MaxFreqInfo

Returns the current DBK7 max frequency setting

DdiDbk50GainInfo

internally used by daqAdcSetScan

DdiPreTrigFreqInfo

Returns the pre-trigger sample rate (Hz)

DdiPostTrigFreqInfo

Returns the post-trigger sample rate (Hz)

DdiPreTrigPeriodInfo

Returns the pre-trigger sample period (sec)

DdiPostTrigPeriodInfo

Returns the pre-trigger sample period (sec)

DdiOptNVRAMDateInfo

WaveBook parameter

DdiOptNVRAMTimeInfo

WaveBook parameter

DdiExtFeatures

Returns data flag(s) of type DaqHardwareExtFeatures (see table: DdiExtFeatures)

DdipDaqCalibrationTime

Personal Daq initial calibration period

DdiFifoSize

FIFO capacity in WORD's of data

DdiFifoCount

Count of WORD's of data currently in the FIFO

(continued)