LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

help: how to set sample rate in traditional DAQ card?

I have a traditional DAQ card: PCI-MIO-16XE-10. I am using AI_VRead_Scan function in CVI. However, the default sample rate is 1 kHz. I want to use 100 kHz (maximum frequency) sample frequency. How can I do that? Thanks for your help.
0 Kudos
Message 1 of 2
(2,905 Views)
Hello,
 
First of all I want to make sure that you have a reason for using Traditional DAQ.  If you are just starting out with programming and you are working with CVI 7.0 or later in windows 2000 or XP, I would recommend trying the DAQmx driver.  It is compatable with your device.  I believe you will find that you will have a much more enjoyable programming experience with the new driver.  
 
If there is a reason that you wish to stay with the Traditional DAQ driver, you will want to reference the Traditional DAQ Function Reference Help.  This will be located in Start>>All Programs>>National Instruments>>NI DAQ.
 
You will want to look at the "status = DAQ_Rate (rate, units, timebase, sampleInterval)" function.  See the above referenced help for detailed information on the function. You can also reference the examples located at: C:\Program Files\National Instruments\CVIxx\samples\daq\Ai to help you get started.
 
Hope this helps,
 
Jennifer O.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,886 Views)