04-25-2008 07:13 PM
04-29-2008 02:33 PM
Hello,
There is no way to programmatically get the actual sample rate, since there are not property nodes in DAQmx Base. After you set the sample rate with the DAQmxBase Timming.vi, there is no way to probe the value again. You can save the controller or constant value for the rate input to file. Property nodes are available with the DAQmx driver, but I understand why you are limited to the Base version due to your hardware.
For selecting a different sample rate, you will have to restart the task. Using either Cont Acq&Graph Voltage-Int Clk.vi or Acq&Graph Voltage-Int Clk.vi examples that download with the driver, you will have to restart the code to change the sample rate. Please clarify if I misunderstood your question.