LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware triggering counter

We have a PCI-MIO-16E-1 card. For our application we need to hardware trigger the counter. Can anyone help me with this task?
Your help is appreciated.
 
peyman
0 Kudos
Message 1 of 2
(2,510 Views)
It's very straight forward with DAQmx.  Include the DAQmx Trigger.vi when creating your task and connect the source input to the name of the desired trigger.  You can also specify settings such as which edge of the pulse you want to trigger on.

There are some great examples within LabVIEW that install with the DAQmx driver.  Go to the Example Finder (located under the help menu) and search for counter/timer examples.  I recommend using the Hardware drop down list in the bottom left to narrow results to VIs that are compatable with your card. 

One particular example is the 'Gen Dig Pulse-Dig Start.vi'  It demonstrates how to generate a single digital pulse from a Counter Output Channel.  The Initial Delay, High Time, Low Time, and Idle State are all configurable. This example also shows how to use a Digital Start trigger, so the digital pulse is not started until a trigger signal is received.
Elijah Kerry
NI Director, Software Community
0 Kudos
Message 2 of 2
(2,490 Views)