I have a very simple question.
I am using PCI 6534 and I would like to export the sample clock to an output pin. The code is as following:
.....
DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxCreateDOChan(taskHandle,"Dev4/port0/line0:7","",DAQmx_Val_ChanPerLine));
DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle, NULL,1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));
DAQmxErrChk (DAQmxExportSignal(taskHandle, DAQmx_Val_SampleClock, "/Dev4/pfi2"));
.....
In the last line, I exported the sample clock to pin pfi2. But when I hooked up an oscilloscope to pfi2 (pin 2 on PCI 6534) I observed no clock signal. All I saw was a signal at ground voltage level. What's wrong?
Thanks,
-Andrew