Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

why "wait for operation complete" error ?

HI,

When I use the vi "Read multiple waveforms" there are an errors that appears in the VI "wait for operation complete" and I cannot found the cause of this error ! Can you bring me your help on this suject ?

Thanks you beforehand

Here my vi in LV2013

0 Kudos
Message 1 of 7
(4,565 Views)

It would have helped if you would have stated that this was for a Tektronix 7000 series scope.

 

I see two possible issues here:

1) The scope never sees the trigger and therefore never sees a waveform to capture

2) The scope is setup to continuously capture waveforms.  Since the scope isn't stopping, it won't report being complete.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 7
(4,558 Views)

Hi,

Excuse me I forgot to mention the driver using for the scope. There are two waveforms displaying in the scope and this vi isn't pending of a scope trigger il should display the waveforms continuously. If I don't want stop the scope during an acquisition and delete this error when I using this vi, what solution I need use ?

Thank you beforehand.

0 Kudos
Message 3 of 7
(4,537 Views)

Try just using the Read.vi (Found in the Data subpalette).  You will want to change the polymorphic case to be multiple waveforms to acquire both of your channels.  I still think you will want to stop your scope's acquisition to make sure everything is time synched.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(4,530 Views)

Hi crossrulz,

 

When i use the vi "Read.vi" (in the data subpalette) which is the same as in my program, the same problem appears. I did a test by stopping my scope's acquisition and I have always had this problem that not allow me to observe waveform in labview.

I using the vi "Fetch.vi" (in data subpalette) that allow me to delete this error and to have the waveforms in Labview, however with this vi I cannot recover the waveforms of scope several channels.

0 Kudos
Message 5 of 7
(4,511 Views)

Yeah, just looked inside of the Read and saw the Wait OPC, which is what I think is causing the error.

 

Just put the Fetch VI inside of a FOR loop (that's what the Read does).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 7
(4,507 Views)

Okay, I will try to make your idea and I will say you if the problem are resolved.

0 Kudos
Message 7 of 7
(4,490 Views)