Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Start a Count Edges task with a hardware trigger PCI-6122 or PCIe-6353

Solved!
Go to solution

Hello,

 

I need a Count Edges started with a hardware trigger, but I get an error -200452 that Start.TrigType is "not supported by the device or is not applicable to the task".

 

Tried this on a PCI-6122 and PCIe-6353.

 

I actually need this to work with a buffered counter application, but I'm surprised that I can't even start a simple edge counting task. What am I missing?

 

 

0 Kudos
Message 1 of 3
(1,806 Views)
Solution
Accepted by topic author solarsd

I think you need to use the arm start trigger for a counter task.

See Synchronizing Two Counter Tasks in NI-DAQmx

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 3
(1,799 Views)

Indeed, arm start works to start a single counter on an external digital edge as well. Thanks!

 

Not sure why I missed that, or what the difference between a Start and an Arm Start is though...

0 Kudos
Message 3 of 3
(1,749 Views)