‎02-01-2006 06:20 AM
Hi
We have a system using a PCI6052-E which is set up to read two analog channels
at a sample rate of 133kHz. We now need a digital input to be synchronized with
the analog channels so that we know on which analog sample a digital transition
occurred. Is this possible using the in built counters or is there a way to tie
the analog sample clock to a digital sample clock? Will either of these
options limit the maximum sampling rate we can run at?
Any suggestions greatly appreciated.
James
‎02-01-2006 12:09 PM
‎02-02-2006 07:24 AM
‎02-02-2006 09:13 AM
Brief outline of concept:
- Configure counter to use analog sample clock as its timebase source (the signal that causes count register to increment).
- Configure counter to use encoder pulse as its sampling clock (aka "Gate" for buffered measurement in traditional NI-DAQ).
- Start counter task before analog input task, so that counter sees every sample clock edge.
‎02-02-2006 11:12 AM