Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read all samples at once before memory is overwritten in PXI 5105 in .Net (C#, VB)?

Hi

I have NI PXI oscilloscope 5105 card with following specifications, but it is bit slow when I try to read one sample at a time. 

I need to read minimum voltage for each revolution of my angular encoder [Z index pulse]. Can you please guide me how I can start Oscilloscope and read all samples at the end? 

 

Samples to acquire and timeout is not fixed and varies.

 

Is there any way so that I can read all samples at once before oscilloscope overwrite memory? How I can send stop and read all samples command to oscilloscope and oscilloscope should not flushes the data? The problem is that when I tried to read all data then there is an error, which is saying that oscilloscope memory has been overwritten and data is not available to read.

 

"

Analog signal is connected with Channel 0.

Sample Rate="10000000"

Input Impedance = 1000000.0 
Maximum Input Frequency = 10000000.0

Sample Length="3000"

Enforce Real time = true

Samples to acquire = 650

Trigger Level="-0.545"

Trigger Slope= "Negative Analog Edge "

Vertical range 10 V

Reference Position = 5

"

0 Kudos
Message 1 of 1
(2,219 Views)