03-22-2006 07:20 AM
03-24-2006 08:13 AM
1. You have to use a function to get the values (DAQmxReadAnalogF64) for example. This Function has a parameter readArray[] where the acquired data is stored.
2. DAQmxCfgSampClkTiming(taskHandle,"?????",10.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000) The second paarameter defines the source of the sampleclock, you can specify a external clock source (for example "PFI0") or the internal clock ("Onboard Clock").
All functions are described in detail in the help file by the way (Start-Menue-->programme-->national Instruments-->ni-daq-->ni-daqmx c reference help).