Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxCfgSampClkTiming problem with "/Dev1/Ctr0Out"

Hi,
Does someone know why I cannot use "/Dev1/Ctr0Out" as a source of External Clock ? The code is:
DAQmxErrChk DAQmxCfgSampClkTiming(taskhandle, "/Dev1/Ctr0Out", _
        cwRate.Value, clockEdge, DAQmx_Val_AcquisitionType_ContSamps, 100#)
 
But will cause an error of -89120: Soure terminal to be routed could not be found on the device, why? Thanks in advance,
 
 
Yingmai
0 Kudos
Message 1 of 2
(6,729 Views)
Hi Yingmai,

Are you generating a signal with Ctr0 that you are wanting to then use as a sample clock for another task on the device?  You should actually use "/Dev1/Ctr0InternalOutput" to internally route the signal you're generating with the counter to the sample clock for your task.

Regards,
Andrew W
National Instruments
0 Kudos
Message 2 of 2
(6,722 Views)