Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronized AO and Counter task with DAQmx base

 

Hello,

 

I'd like to get some ideas to implement the synchronized AO and either gate counting or two edge separation.

My devices are PCI-6110 and 6602 connected with a RTSI cable.

 

What I want to do looks like the measurement shown in the link https://decibel.ni.com/content/docs/DOC-3882

and basically the AI in that vi is replaced with Counter input.

 

Is this feasible with my setup?

 

Thank you for your time.

 

best,

0 Kudos
Message 1 of 3
(5,722 Views)

Hi sugar7,

 

I believe what you are trying to is entirely possible.  I have even found some examples that you can manipulate for your use:

 

DAQmx Base Synchronized Finite Analog Input Continuous Analog Output

http://zone.ni.com/devzone/cda/epd/p/id/4803

 

Synchronized Analog Output on Multiple Devices (RTSI/PFI)

https://decibel.ni.com/content/docs/DOC-11706

 

Let me know if you have any additional questions, thanks!

Matt S.
Industrial Communications Product Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(5,706 Views)

Hello,

 

Thank you for your reply.

 

If I need to generate gate pulses for gate counting or first and second edges for two edge separation,

should I send aostarttrigger and master timebase from PCI-6110 to 6602 through a RTSI cable and

use them for armed trigger of counters?

 

Also, in my application, what's the maximum transfer rate of the counted values?

The table2-1 of the 6602 manual shows rates for different buffer size.

I read some threads and found the buffer size of 6602 is only 2.

Does this mean the max rate in continuous operation is around 10 kS/s

and this is the max AO sample clock I can set?

 

Your kind support is highly appreciated.

0 Kudos
Message 3 of 3
(5,693 Views)