Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

54622A Oscilloscope Driver

I'm having trouble using the driver for the 54622A Oscilloscop from Agilent.  I downloaded the driver, which is a set of VI's that seem to work ok.
My first problem is that it will not record for longer than 5 seconds. It gives me a timeout error.


                Error- 1073807339 occured at VISA Read in ag546xx Read Waveform.vi-> ag546xx Acq Wfm Edge Triggered.vi-> ag546xx Getting Started.vi

                Possible Reason(s):

                VISA: (Hex 0xBFFF0015) Timeout expires before operation completed.


  Also, it seems that the upper limit for the time is 500 seconds.  Eventually I would like to be able to record for much longer than that.  IS there a way to do that?

I'm definitely not as experienced at LABVIEW as I should be.

Tim H.
University Student
0 Kudos
Message 1 of 7
(4,437 Views)
Exactly how are you trying to record 5 seconds worth of data? Are you trying to set the record length of the scope to a high number of samples? There is a limit to how many samples the scope can save. And if you are refering to the VISA timeout limit, even if it was longer, I'm certain that the scope does not have enough memory to store even close to 500 seconds worth of data. You would have to acquire in smaller chunks and the data would not be continuous.
0 Kudos
Message 2 of 7
(4,436 Views)
I'm setting the Time Per Record input to the number of seconds.  The help says the valid range is up to 500s, but I can't do anything more than 5.  Is it due to the oscilloscope memory?
0 Kudos
Message 3 of 7
(4,432 Views)
I'm not sure if it's a memory problem or something else. I can't download the driver or the instrument manual right now. I'll try to look at both when I can.
0 Kudos
Message 4 of 7
(4,422 Views)
Thanks for your help.  I actually decided to sort of patch it together by just looping the recording and writing each pass to file.  Not incredibly efficient, but I think it will do for my purposes. 

Thanks again!
0 Kudos
Message 5 of 7
(4,417 Views)

Uther,

You can set the scope up to deliever all 2M points that it captures on a single sweep, but if I remember right you need to modify the insturment driver NI has avaiable to do this (have to change the VISA timeout for one and I think I had to create a bit to tell the scope to send 2M points). 

I have done this before (we use 54624As the four channel version) to get several seconds of data at the scopes high sample rate, so if you decide to change what you have done, let us know.  Only drawback is it takes a bit of time to transfer that much data between the scope and the computer.

Troy
0 Kudos
Message 6 of 7
(4,409 Views)
just go through manual, see the flowchart and make a program using downloaded vi's
0 Kudos
Message 7 of 7
(4,382 Views)