Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

20MHz timebase

Hello?

 

I have a question about 20MHz timebase of AI operation on PCI-6025E card.

 

DAQmxCfgSampClkTiming(taskHandle,"",fdat.trace_size,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,fdat.trace_size)

 

fdat.trace_size is 1200 and this is a finite sampling repeated by a working tread. I wonder if I'm using 20MHz timebase. Whenever I use 20MHz time base as the second parameter, it returns error saying that I have to change fdat.trace_size to 20,000,000. But if I changed it to 20000000, it says its maximum value is not 20000000, but about 6000000.

 

How can I use 20MHz timebase? 

 

I'm converting DAQ to DAQmx..from Parkoz.com
0 Kudos
Message 1 of 2
(6,131 Views)

Hey,

You can either use "OnboardClock" or can use "100kHzTimebase" as you are acquiring about 1200 samples at 1.2KHz.

Good Luck,

 

-Lab

0 Kudos
Message 2 of 2
(6,117 Views)