EasyManuals Logo

National Instruments NI 6612 User Manual

National Instruments NI 6612
98 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #41 background imageLoading...
Page #41 background image
© National Instruments | 3-5
NI 6612 User Manual
Using a Pause Trigger
To configure the counter to pause counting based on a hardware signal, use a Pause Trigger.
1. Set Pause.TrigType to Digital Level.
2. Set Pause.DigLvl.Src to select what signal to use as the Pause Trigger.
3. Set Pause.DigLvl.When to select whether to pause counting when the signal is high or low.
Figure 3-6 shows an example of a count edge task using a Pause Trigger.
Figure 3-6. Edge Counting: Using a Pause Trigger
Using a Reset Trigger
To configure the counter to reset the count to a specific value in response to a hardware signal,
set the following DAQmx Channel properties:
1. Set CI.CountEdges.CountReset.Enable to True.
2. Set CI.CountEdges.CountReset.Term to select the signal that causes the count to reset.
3. Set CI.CountEdges.CountReset.ActiveEdge to select whether the rising or falling edge of
the signal causes a reset.
4. Set CI.CountEdges.ResetCnt to the value to change the count to in response to the signal.
Figure 3-7 shows an example using the Reset Trigger with CI.CountEdges.InitialCnt set to 6,
CI.CountEdges.CountReset.Active Edge set to rising edge, and CI.CountEdges.ResetCnt set
to 3.
Figure 3-7. Edge Counting: Using a Reset Trigger
Start Task
Signal to Measure
Pause Trigger Source
Count
10
5
4
3
2
6
Start Task
Signal to Measure
Count Reset Terminal
Count
765438
69 3 54

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the National Instruments NI 6612 and is the answer not in the manual?

National Instruments NI 6612 Specifications

General IconGeneral
BrandNational Instruments
ModelNI 6612
CategoryComputer Hardware
LanguageEnglish

Related product manuals