LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LeCroy programming

Hi,

I use the LT262 scope with GPIB interface for remote control.
According to my program the scope executes number of sweeps with summed
averaging.
My problem is that how I can programmatically get the moment when all
the sweeps are completed.
I don't see any pending commands, after the sweeps starting ,for use the
OPC or WAIT commands (as STOPAfter in the Tektronix).

Thanks in advance.
Alexander.
0 Kudos
Message 1 of 10
(3,849 Views)
Not sure that this is a solution for LT262 scope, but for a similar reason for LC334 I've used a "INR?" command continuosly polling the waveform processing bits.
Hope this can help.
0 Kudos
Message 2 of 10
(3,848 Views)
Thanks,Defuflo,
but I get response from INR? after every sweep, so I need to count them
to obtain that all the sweeps are finished.
Is it right ?
Thanks.

defuflo wrote:

> Not sure that this is a solution for LT262 scope, but for a similar
> reason for LC334 I've used a "INR?" command continuosly polling the
> waveform processing bits.
> Hope this can help.
0 Kudos
Message 3 of 10
(3,848 Views)
I'm not sure that the syntax for ?INR command and corresponding response are the same for Lecroy LT262 and LC334 scopes, but in my case there was no any need to count sweep by software - the waveform processin bit change state only after processing ALL requested sweeps (summarised and so on). So I continuosly poll those bits waiting for them to change state and only after I read waveforms.
0 Kudos
Message 4 of 10
(3,846 Views)
Here is a part of code I've used for a particular application. Hope you can adapt it for your needs.
0 Kudos
Message 5 of 10
(3,846 Views)
I use an LT342 and also poll INR? to check for sweep completion. However, I first read INR? to clear it before sending the *TRG command and use bit 0 of the response to determine completion of the sweeps.
0 Kudos
Message 6 of 10
(3,846 Views)
Thanks!

Alexander wrote:

> Hi,
>
> I use the LT262 scope with GPIB interface for remote control.
> According to my program the scope executes number of sweeps with summed
> averaging.
> My problem is that how I can programmatically get the moment when all
> the sweeps are completed.
> I don't see any pending commands, after the sweeps starting ,for use the
> OPC or WAIT commands (as STOPAfter in the Tektronix).
>
> Thanks in advance.
> Alexander.
0 Kudos
Message 7 of 10
(3,846 Views)
essai
0 Kudos
Message 8 of 10
(3,658 Views)

Hi ,

Anyone knows what is the command to set in Channel 1 Vertical setup, Pre-Processing Averaging 16 sweeps?

 

0 Kudos
Message 9 of 10
(1,116 Views)

Hi Selvakumari,

 


@Selvakumari wrote:

Anyone knows what is the command to set in Channel 1 Vertical setup, Pre-Processing Averaging 16 sweeps?


Are you using the very same device as Alexander 20 years ago?

 

Anyway the answer should be: read the programming manual of your device to learn about the supported commands!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 10
(1,109 Views)