Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

counter trigger

Hi All,

 

i use ni-6111 (Nidaqmx; C++, Delphi,VB), start the measurment for one channel ai0 over a trigger signal from counter0, it works; but want to start counter1 with same trigger signal, which fails.

if i try to generate event when counter0 changes gets error too, suppose not supported event for 6111? found no document for this.

Is there a way to use one counter as trigger source for the other counter and one ai channel?

 

Thanks,

hassan

 

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

Hi Hassan,


this is a LabVIEW example wich shows the possible ways to use multiple triggers:

 

http://www.ni.com/example/28575/en/ 

 

Don't be afraid because it's a LabVIEW example, the functions are named the same in the C++, C and C# driver functions. The work the same, the error codes are the same.

 

This should be easy adapted to your C++ project.

 

Best regards,

Frank

0 Kudos
Message 2 of 2
(5,958 Views)