User`s guide
Universal Library User's Guide Analog Input Boards - PCI-DAS6000 Series
41
Triggering
Trigger functions and methods supported
UL: cbSetTrigger()
UL for .NET: SetTrigger()
Trigger argument values
TrigType TRIGPOSEDGE, TRIGNEGEDGE, GATEHIGH, GATELOW
For the PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, PCI-
DAS6040, PCI-DAS6052, PCI-DAS6070 and PCI-DAS6071, the following
additional argument values are valid:
TRIGABOVE, TRIGBELOW, GATENEGHYS, GATEPOSHYS, GATEABOVE, GATEBELOW,
GATEINWINDOW, GATEOUTWINDOW
Threshold PCI-DAS6040, PCI-DAS6070 and PCI-DAS6071
0 to 255
PCI-DAS6030, PCI-DAS6031, PCI-DAS6032, PCI-DAS6033, and
PCI-DAS6052
0 to 4095
Event notification
Event notification functions and methods supported
UL: cbEnableEvent(), cbDisableEvent()
UL for .NET: EnableEvent(), DisableEvent()
Event notification argument values
EventType ON_SCAN_ERROR, ON_PRETRIGGER*, ON_DATA_AVAILABLE, ON_END_OF_AI_SCAN,
ON_END_OF_AO_SCAN**
*Note that the EventData for ON_PRETRIGGER events may not be accurate. In general, this value will be below
the actual number of pretrigger samples available in the buffer.
**Not supported for PCI-DAS6013, PCI-DAS6023, PCI-DAS6032, PCI-DAS6033, and PCI-DAS6034.
Hardware considerations
Advanced timing and control configuration
You can access the advanced features provided by the Auxiliary Input/Output and DAQ-Sync interfaces
through the board configuration page of InstaCal and the UL functions cbGetSignal() and
cbSelectSignal(), or the UL for .NET methods GetSignal() and SelectSignal()*.
ADC_TB_SRC and DAC_TB_SRC are intended to synchronize the timebase of the analog input and output pacers
across two or more boards. Internal calculations of sampling and update rates assume that the external
timebase has the same frequency as its internal clock. Adjust sample rates to compensate for differences in
clock frequencies.
For example, if the external timebase has a frequency of 10 MHz on a board that has an internal clock
frequency of 40 MHz, the scan function samples or updates at a rate of about 1/4 the rate entered. However,
while compensating for differences in the external timebase and internal clock frequency, if the rate entered
results in an invalid pacer count, the function returns a BADRATE error.
*Although the PCI-DAS6013 and PCI-DAS6014 both support cbSelectSignal/SelectSignal(), these
boards do not support DAQ-Sync. Therefore: