LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modify SampQuant.SampPerChan

Solved!
Go to solution

Good afternoon.
We recently adcquire the PCI-6115 and we are creating a labview program to gather big data volumes.
But when trying to get more than 33,554,430 samples we get an error prompt, shown in the image below. It's there a way to change the maximun number of samples?

0 Kudos
Message 1 of 5
(3,172 Views)
Solution
Accepted by topic author Marco9305

Hi Marco,

 

instead of requesting 50×10^6 samples at once you could also request 50.000 samples a hundred times in a loop - same result, no problems…

(Ok, for a samplerate of 10Msamples/s you could increase the request to 1Msamples.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(3,153 Views)

@Marco9305 wrote:

Good afternoon.
We recently adcquire the PCI-6115 and we are creating a labview program to gather big data volumes.
But when trying to get more than 33,554,430 samples we get an error prompt, shown in the image below. It's there a way to change the maximun number of samples?


The Error Message clearly says that you have exceeded the limits of the device.  The "correct" way to fix this is to change the maximum number of samples to a smaller (legal) value.  Otherwise, re-engineer the Device yourself, buy a different device, or use Continuous Acquisition of reasonable-size buffers (say 1,000,000) and use a Producer/Consumer design to stream them to disk, or to memory, or whatever else you want to do with them.  Note that you'll eventually run out of memory ...

 

Bob Schor 

Message 3 of 5
(3,138 Views)

As @Bob_Schor said, you had outreach the limits of the device, you need to lower down the number of samples per second to be able to run your VI without an error. You should use a while loop to acquire data and stop until the number of samples has been reached.

0 Kudos
Message 4 of 5
(3,096 Views)

Hey!

 

Thanks for the answer.

I did that and function properly.

 

Greetings

0 Kudos
Message 5 of 5
(3,068 Views)