Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Doing simultaniusly two task with NI PCI 6221

I am using  timer 1 configure as two-signal edge-separation measurement. I want to one of the signal witch start the counting to be taken from the same device NI PCI 6221.   I want set one of DI0 and i want to this setting started the counting. While I am setting the DI0 timer should be already configure and arm. I understand that ,this mean two task shuld be done simultaniusly. How can I do it.
0 Kudos
Message 1 of 4
(4,746 Views)
Hi Fazi,

As I understand it, you would like to use a DIO line to start your counter task.  Start triggers for counter tasks must be set using an the arm start trigger.  Here is a great knowledgebase that talks about using arm start triggers on M Series devices such as the PCI 6221.  In addition, I have taken the Meas Two Edge Separation-Buffered-Continuous.vi example (Help » Find Examples » Hardware Input and Output » DAQmx » Counter Measurements » Two-Signal Edge-Seperation) and added an arm start trigger below.  You will need to connect the digital start trigger line to a PFI line to use it as the arm start trigger.



I hope this helps,
Paul C.

Message Edited by Paul C. on 10-23-2007 11:06 AM

0 Kudos
Message 2 of 4
(4,734 Views)
Thank you that help a lot,but could you check that great knowledge base link "here" becouse it doesn,t work.
0 Kudos
Message 3 of 4
(4,695 Views)
Hi Fazi,

Sorry about that.  I accidently linked the internal web address.  Here is the correct link.

I hope this helps,
Paul C.
0 Kudos
Message 4 of 4
(4,691 Views)