LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cdaq daqmx setting sample time

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
0 Kudos
Message 1 of 4
(3,216 Views)

Duplicate Post!Smiley Mad

Direct all responses to that thread.

0 Kudos
Message 2 of 4
(3,205 Views)
Basically, I was wondering if there was an advantage to using the "DAQ-MX Polymorphic VIs" rather than the DAQ-Assistant.... I would like to sample something (some thermocouples) and want the user to be able to input how many samples to read per second.... is this possible by just using the DAQ-Assistant or do I need to get into the DAQ-MX polymorphic VIs?

Thanks
0 Kudos
Message 3 of 4
(3,192 Views)
Hi forums,

These questions have been addressed on a different thread (http://forums.ni.com/ni/board/message?board.id=170&thread.id=323055). If anybody needs more help on this issue, please post there as it is where focus has been turned to. Thanks and have a great day.
PBear
NI RF
0 Kudos
Message 4 of 4
(3,148 Views)