Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

When I use DAQmx Read.vi I can't read more than 5k samples per channel.

I'm using LabView 7.1.1, and a DAQPad 6015. When I use DAQmx Read.vi, even if I wire a higher number to the 'samples per channel' input, it only samples 5k times per channel. I am measuring from 2 analog input channels at 1000 samples per second. The version of the polymorphic vi is the 'Analog 1D Wfm NChan NSamp'. When I previously used the DAQ assistant express vi, It was possible for me to get 10000 samples at the same rate. My vi is attached for you to look at.
Message 1 of 3
(3,103 Views)
Hello,

I am assuming that you set everything in the task in Measurement and Automation Explorer. If you want to have a better handle on the timing of your task, I would suggest building the whole task in LabVIEW. You can just open one of the shipping examples by going to Help->Find Examples.
You can also drop a task constant on the block diagram, right-click on it and select Generate->Code and Example. This will generate the LabVIEW code from the task that you created.
I have also attached a different version of the VI that you sent me. The one attached below (Test.vi)with tell you how many sample you actually read from each of the two channels. Please run it and see if it changes as you specify it.
0 Kudos
Message 2 of 3
(3,090 Views)
Well, for some reason the problem has gone away on its own. Thanks for the input though, as I can put it to use down the line in this program or in other programs.
Message 3 of 3
(3,068 Views)