LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Increase DAQ buffer size

I'm trying to create a simple interface where I can read current and voltage from my circuit using the DAQ assistant at the top. For the one on the bottom I would like to use voltage current limiting to control the current my power supply is providing based on the current I want (using voltage and a v to i relationship. I am getting an error on my DAQ and I don't know how to increase my buffer size. Any help?

 

ps: I'm a noob at LabVIEW.

 

VIVI

0 Kudos
Message 1 of 3
(2,749 Views)

Attach your actual VI since all of the settings are hidden in the DAQ Assistant.

 

But my wild guess is that you chose Fixed Samples or Continuous Acquisition for the mode and told it to read 1 sample.  If you just want 1 sample every iteration (not timed), then you need to set the mode to Single Sample (HW Timed).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,737 Views)

You're right, I had it on continuous acquisition. I changed it to 1 sample (HW Timed) and get the resulting error:

 

HW(1 sample).PNG

 

 

 

 

 

 

 

 

 

 

 

Here is my actual VI for the DAQ assistant that is generating a voltage output (the one on the bottom of my initial VI picture.

VI.PNG

 

 

0 Kudos
Message 3 of 3
(2,717 Views)