This is my first time posting here, this is my question: I have a Compact DAQ (9172) along with two modules (9205 & 9219). I am trying to set it up so that the user can input a sample rate on the front panel. So far I have been doing this by using DAQ Assistant to continuously output data, and then feeding that into a true/false case that gets called whenever a timer runs out (the timer is wired so that it runs out according to the sample rate put in by the user). I do not feel that I am going about this as effeciently as I could be... since there's going to be a lot of needless sampling going on....my question is, is there a way where the user input could directly change the sampling rate of the DAQ Assistant? That way if I only need 5 samples a second, I could just have the daq sample at 5 Hz, instead of going through loops.... I was thinking maybe some of the things on the DAQmx pallette could help with this, but I have not been able to ke those work (like the DAQmx Timing vi)
Much appreciate any assitance or suggestions, thanks