Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxCreateCOPulseChanTicks continuos Task

Solved!
Go to solution

Hi ,

 

when i start the task  DAQmxCreateCOPulseChanTick it is not continuos, it works only one time.

How to set it continuos without starting e stopping the task in a while, because in this solution it needs to much time.

I want to start the task one time continuously .

 

Thank you in advance for the answer.

 

 



There are 10 kinds of people. Those who understand binary notation, and those who do not.
0 Kudos
Message 1 of 3
(5,583 Views)
Solution
Accepted by topic author blacksocket

Hi blacksocket,

 

You'll need to call DAQmxCfgImplicitTiming in order to set sampleMode to DAQmx_Val_ContSamps.  In this case sampsPerChanToAcquire is used to determine the buffer size.

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 3
(5,557 Views)
Thank you very much John


There are 10 kinds of people. Those who understand binary notation, and those who do not.
0 Kudos
Message 3 of 3
(5,543 Views)