Daqtest, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 309: Parameter summary, Parameter values, Returns

Programmer’s Manual
908594
Daq API Command Reference 4.6-31
daqTest
Also See: DaqOpen
Format
daqTest(handle, command, count, cmdAvailable, result)
Purpose
daqTest
tests a device for specific functionality.
Parameter Summary
Parameter Type
Description
handle DaqHandleT
Handle to the device for which the test is to be performed
command DaqTestCommand
Specifies the type of test to be run
count DWORD
Optional parameter which specifies the length of the test
cmdAvailable PBOOL
Pointer to a return boolean indicating the availability of the test for
the device
result PDWORD
Pointer to the test result field
Parameter Values
handle:
obtained from the DaqOpen function
command:
see table below
count:
valid values range from 1 to 4,294,967,295; however, large values will result in excessively long tests
cmdAvailable:
pointer to a boolean value; values are either true (
≠ 0) or false ( = 0)
result:
a pointer to a value ranging from 0 to 4,294,967,295
Parameter Type Definitions
command-(DaqTestCommand)
Definition
Description
DtstBaseAddressValid
Test to determine if communications at currently configured base address are valid.
DtstInterruptLevelValid
Test to determine if conflicts exist at the currently configured IRQ.
DtstDmaChannelValid
Test to determine if conflicts exist at the currently configured DMA channel.
This command definition verifies DMA via available Input and Output speed tests, i.e.,
DtstAdcFifoInputSpeed, DtstDacFifoOutputSpeed, DtstIOInputSpeed,
and DtstIOOutputSpeed
.
DtstAdcFifoInputSpeed
Test to determine max speed for analog data transfer to computer memory.
DtstDacFifoOutputSpeed
Test to determine max speed for analog data transfer from computer memory.
DtstIOInputSpeed
Test to determine max rate for digital data transfer to computer memory.
DtstIOOutputSpeed
Test to determine max rate for digital data transfer from computer memory.
DtstFifoAddrDataBusValid
WaveBook Only : WBK30 communication check (use DtstFifoMemCellValid instead)
DtstFifoMemCellValid
WaveBook Only : MegaFIFO (WBK30) memory test.
DtstHardwareCompatibility
WaveBook Only : Verifies the DSP Boot Code revision level. 1 = PASS, 0 = FAIL.
DtstFirmwareCompatibility
WaveBook Only: Verifies the FPGA revision level. 1 = PASS, 0 = FAIL.
DtstExpansionCompatibility
WaveBook Only: Verifies that the connected WBK modules are compatible with the main unit.
1 = PASS, 0 = FAIL.
DtstExpUpgradeCompatibility
WaveBook Only: Verifies that the main unit Firmware is compatible with all connected WBK
modules. 1 = PASS, 0 = FAIL.
Returns
DerrNoError
No
Error