02-04-2009 10:53 AM
02-15-2009 04:35 PM
Hi Jordi,
There is no way using driver NI-DAQmx to set programmatically an acquisition rate in a frequency measurement task. This kind of tasks has an implicit timing and it cannot be changed. The only way you can write a frequency value for each signal measurement, is rewrite the frequency value as many times as signal points you acquire. For example, you can put the signal acquisition, frequency measurement and the data logger in the same loop and repeat the value of frequency measurement (see attached file).
Regards,