LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical setting during continuous acquisition with NI5112

I need to change the current vertical range configuration during a continuous acquisition.
Is it possible without data loss?
Or I have to stop the acquisition?
Thanks for your answers.
0 Kudos
Message 1 of 3
(2,764 Views)
Hello,

We define a continuous acquisition (5112 - Fetch) as the ability to transfer data from the digitizer to the host computer memory while the digitizer is still acquiring. Due to this, it is not possible to reconfigure the vertical parameters of the device while the acquisition is still in progress. If so, we would lose data while the board adjusts its hardware settings. To summarize, in order to reconfigure the vertical range of the digitizer, you would have to stop acquiring data -it is not needed to terminate the session.

If you are using LabVIEW, you might want to try the "niScope Ex Configured Aquisition.vi", which allows you to change the vertical parameters everytime the digitizer acquires a specific record. However, this is not a continuous
acquisition example.

I hope this information helps. Keep up the good work and good luck with your application.

Regards,
Annette Perez
0 Kudos
Message 2 of 3
(2,764 Views)
Thank you Annette, your answer allows me to understand some details about PCI-5112 board.
I need to acquire continuously data at 2 Msample/sec for 10 minutes at least, without loss, and signal level can slowly change during the acquisition (es. a sinusoidal amplitude increasing from 0.5 to 2 V into 10 minutes).
It’s important to adjust the vertical setting due to use all the dynamic range.
I’ve used “niscope Fetch&Save Forever.vi”, performing a single channel continuous acquisition with 8-bit fetching data (“1 channel acquiring – 1 channel fetching” example).
Fetch operation is inside the loop, while all the configuration ones are outside, so if I want to change a configuration parameter, I have to exit from the f
etching loop, stop the acquisition (with “niscope abort.vi”), set the new parameters and finally restart the acquisition, with a necessary loss of data.
I thought a second way: “2 channel acquiring – 1 channel fetching”.
If I have well understood, I could acquire the same signal from both the channels, configured with different vertical settings (es. +/-1V and +/-2.5V respectively), so I could fetch data from the better vertical range channel only.
In this mode I perform an effective vertical setting (but in 2 steps only) during the continuous acquisition without data loss.

First question:
Is it right? Is the last example (2 ch. Acq. – 1 ch. Fetch) more expensive with respect to the first (1 ch. Acq. – 1 ch. Fetch) in terms of PC and/or OS resources?
I have inserted the PCI-5112 board in a Pentium III, 128 Mb RAM, with Windows ME OS.

Second question:
Sometimes, during the fetching operation, the board stops the acquisition (I see
noise only), and it’s necessary to make the shutdown of PC, before to see the signal again!
Is it necessary a reset (with "niscope Reset.vi")? Is a Windows ME bug? Is a board failure?


Thank you in advance.
0 Kudos
Message 3 of 3
(2,764 Views)