03-20-2008 08:49 AM
03-21-2008 01:59 PM
To do event counting with a “pause” when the gate signal goes low you need to setup a DAQmx Pause Trigger. This is usually done with three functions (see the DAQmx C help for more details):
Type: DAQmxSetPauseTrigType(taskHandle
As Long,data As DAQmxTriggerType4)
Source: DAQmxSetDigLvlPauseTrigSrc(taskHandle
As Long,data As String)
Pause When: DAQmxSetDigLvlPauseTrigWhen(taskHandle
As Long,DAQmx_Val_Level1_High/Low)
Example (written in C#):
DAQmx - Count Digital Events with Pause Trigger - C#.NET
You might also check out this discussion forum:
http://forums.ni.com/ni/board/message?board.id=40&message.id=4809&requireLogin=False
03-24-2008 12:14 PM
03-24-2008 01:40 PM
03-25-2008 08:50 AM
03-25-2008 11:22 AM - edited 03-25-2008 11:23 AM