07-18-2019 01:51 PM
Hi All,
I have been using CVI for a long time but for the first time I am approaching the interaction with an oscilloscope.
After several tests, I decided to use the IVI libraries
Until now I managed to acquire a signal and view it (1 shot)
Reading the guides, I understand that it is possible to grab a continuous signal (between the start and stop pressure).
Unfortunately I can't find the right sequence of APIs to do it.
In practice, I would like to acquire everything that passes from the scope and then analyze it offline
Currently I can capture a single waveform (like pressing the "single" button on my oscilloscope)
Can someone help me or tell me where to find an example to do this?
Thanks
07-25-2019 11:02 AM
Hi Requiem_Q,
Can you post the code for what you are doing already? That may help to get a better idea of modifications we can make to get you where you need.
LabWindows/CVI also comes with an IVI Scope example, which you can locate in the Example Finder, if you are not working from this already, so this may be a good place to start.
Best,
07-26-2019 05:20 AM
Hi,
So far I've used a standard sequence
1) get scope handle
2) enable ch1
3) set ch1
4) set trigger
5) set acquisition
6) get signal
so, my application works like the "single" button on the oscilloscope
What I would like to do is simulate the "Run" button
I think I need to change point 6 (or points 5 and 6)
I also thought about making a thread and repeatedly pressing single but it doesn't seem very elegant to me.
Thanks
07-26-2019 12:44 PM - edited 07-26-2019 12:47 PM
Hello
first of all you can NOT actually capture continues data on "regular" scope because it memory limitation.
you have 2 possible solutions:
1.use a segmented memory scope that can store between 1k-2k waveforms.
2.use one of NI PXIe scopes & use one of NI scope samples to do continues sampling.
good luck
Daniel
07-26-2019 12:48 PM
If I understand both solutions require dedicated hardware, right?
thanks
07-26-2019 12:59 PM
yes