Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 2.66 out of 5     Rate this Document

Determining in Hardware When the Terminal Count of a Counter is Reached

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Counter/Timers (TIO), Multifunction DAQ (MIO)

Problem:
How can I determine in hardware when the terminal count of my counter is reached?

Solution:
The Counter Output Event is an event that occurs when the counter reaches its terminal count. DAQmx allows you to select the signal’s output behavior and export the Counter Output Event to a specified terminal. To configure the Counter Output Event use the DAQmx Export Signal Property Node.

The Output Behavior property specifies the output behavior of the Counter Output Event. It is located under DAQmx Export Signal Property Node >> Events >> Counter Output Event >> Output Behavior. You can cause the signal to generate a single pulse or to toggle states on the terminal count.

You can further specify the polarity of the output pulse or the idle state if the line is set to toggle.
  • For a pulsed line use the Pulse >> Polarity property.
  • For a toggled line use the Toggle >> Idle State property.

To output the Counter Output Event use the Output Terminal property and specify the terminal to which you want the signal routed.


Related Links:

Attachments:





Report Date: 03/24/2006
Last Updated: 03/31/2006
Document ID: 3VNI47X6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit