Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger a counter (PCI-6110) with analog signal

I want to trigger the counter of a NI PCI-6110 or an E series DAQ card with an analog signal. When I set the property of Start.TrigType to "Analog Edge", the program reported an error-200077, saying "Digital Edge" needed to be used. The counter works well with "Digital Edge". Is there any way that I can use "Analog Edge" to the property of Start.TrigType?

0 Kudos
Message 1 of 2
(5,571 Views)

Hi JieWei,

 

Are you using C or LabVIEW? What example are you using? I am using the "Acq-Int Clk-Anlg Start" (Start Menu » Programs » National Instruments » NI DAQ » Text-Based Code Support » ANSI C Examples  » Analog In » Measure Voltageon my simulated PCI-6110 and on my real E Series PCI-MIO-16E-4 and I don't get that error. Maybe you are using the property in a task you shouldn't?

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 2 of 2
(5,563 Views)