I would like to determine the available sample rates for a 4462 DSA card using NiDAQmx. When the user of my application selects a desired sample rate when setting up the card for analog input, I would like to be able to report back to them what the closest actual sample rate will be, before acquisition actually starts.
With the traditional daq API, I could use the DAQ_Set_Clock() function. I am unable to find the equivalent function using NiDAQmx. I am also unable to find the algorithm that the DSA driver uses to determine what sample rates are valid.
Is there a way to determine what the sample rate will be without setting up the acquisition first?
Thanks.
Kile