09-22-2013 11:43 AM
Hi,
I use DAQ 6363 OEM to acquire a digital signal and a counter signal connected to one of the PFI lines.
Both signals use onboard cloack. I am just wondering if this works because they have seperate task names and share the same clock.
And if it doesn't work could you please let me know what is teh correct implementation
Thanks
09-23-2013 12:22 PM
Hi tintin_99,
I am assuming you are doing a buffered edge count with your timer as you will not have any issue if you are doing a single point read (i.e. just reading the latest value of your count register). Whereas if you are doing a buffered acquisition , you will have to provide an external source for the sample clock of your counter task (count edges task) as there is no onboard clock for the counter task. However since you have an X series DAQ card, if you enable the advanced I/O you will be able to route one of the internal timebases as the source of the clock. Please refer to this article for more information: http://digital.ni.com/public.nsf/allkb/EA7FFFEAFC3E1D85862572F700699530
The limitation is that you cannot change the sampling rate and have to make sure that the sampling rate matches the rate of the timebase as mentioned in this article:http://digital.ni.com/public.nsf/allkb/775290A3121D1FFC862577140074D3B3
The best solution in this case would be to create a clock using one of your counters and use it as the source of the sample clock for the edge counting task in your second counter. More information on this can be found here: https://decibel.ni.com/content/docs/DOC-10831
Thanks and Regards,