LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using digital IO to start and stop triggering

I just read the article and tried the example listed in the following link:
 
 
However, I would like to set the sampling rate and got no idea where should it be placed. Any idea on that  ?
 
Thanks
Michael
0 Kudos
Message 1 of 2
(2,400 Views)
Michael,

You may find this link a little more helpful. It uses our new NI-DAQmx driver, as opposed to our older Traditional (Legacy) NI-DAQ driver. The example in the link has a "Rate" control, which sets your sample rate. Also, this KnowledgeBase article does a bit better job of explaining the process used in the above example. The KB also has an example attached.

Please let us know if you have any questions about this process. Note that it is a bit of a hack, and not representative of the usually very clean and efficient DAQmx code.

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 2
(2,380 Views)