From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

do i have the buffer in the right place

Solved!
Go to solution
Personally, I think it's s bad design to request a sample count that is greater than the samples per second. I would put the read inside a loop. With such a high number of samples, your gui becomes unresponsive. Try it and see if the error goes away.
0 Kudos
Message 11 of 30
(644 Views)

oh so you would need to multiply your timeout by the sample rate to get the exact number of samples you need before it times out.

0 Kudos
Message 12 of 30
(642 Views)
No. The default timeout is fine. The default buffer is fine.
0 Kudos
Message 13 of 30
(640 Views)

right now i am getting a million samples but i only need 324000.

0 Kudos
Message 14 of 30
(637 Views)
Another problem with your arithmetic?
0 Kudos
Message 15 of 30
(629 Views)

im just not sure what im doing.

0 Kudos
Message 16 of 30
(625 Views)
I'm totally unsure of what you are doing now. Can you attach an image of your block diagram?
0 Kudos
Message 17 of 30
(619 Views)

how do you do that.

0 Kudos
Message 18 of 30
(616 Views)

heres the file im trying to run.

0 Kudos
Message 19 of 30
(612 Views)

Ok, let's take a step back.

 

What exactly are you trying to do with this VI?  There is a lot happening on your VI that likely just doesn't need to be there and it will help things A LOT if we do some cleaning up.


GCentral
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 20 of 30
(605 Views)