03-27-2006 08:21 AM
I have a frequency modulated (FM) signal which I would like
to capture with the PC. I am using an Agilent 54621a Oscilloscope for
data acquisition via a PCI GPIB card. Having downloaded the VI drivers for the
oscilloscope I managed to obtain a static screenshot of the waveform and save
it into a file. However, the resolution is limited to 2000 points and since I
need to obtain many periods the resolution would not be sufficient. Thus I am
wondering what the best way is to obtain let's say 100 periods each with a
resolution of 2000 points. Alternatively, is there a way of recoding the
waveform continuously as I am interested in acquiring the change in waveform
over time?
sven
03-30-2006 09:12 AM
Hi Sven,
When I try to open your code I am missing several VIs, it would make it easier for me to help you if you could post these missing Vis for me so I can better explore your code.
I have taken a screen shot of the VIs that I am missing displaying their names.
(I rearranged your code slightly to fit it on the page.)
Could you also clarify why you have a "for loop" running 5 iterations?
Thanks
Emma R
NIUK & Ireland
03-30-2006 09:34 AM
The loop was just for experimenting purposes. I used it because I could not read data from the oscilloscope continuously. So I figured I would read 2000 points over a certain time interval and then with the next iteration of the loop move the start point to the previous end point.
However, I’d rather have the oscilloscope throughput that data on a continuous basis.
The oscilloscope’s internal buffer is only 2Mb. Furthermore it can only throughput 20ksamples/second per channel. I could time-interleave the two channels to obtain 40ksamples/second but that is beyond me.
I attached the VI's that I am using. BTW, I downloaded these from the NI
website.
Cheers,
Sven
03-30-2006 09:57 AM
03-31-2006 12:07 AM
Thanks for the response. Yes, I can run the program, but how can I change the start time with each loop iteration? In the "configure acquisition record" vi I can choose the length of each acquisition interval and the start time. I would like to have the Time Per Record to be always 100E-9 and the start time N*100.1E-9 where N is the integer for each loop iteration. So with each loop iteration I am looking at a new set of data.
04-11-2006 05:42 AM