Page 1 of 1

Press 'Single' button on oscilloscope programmatically

Posted: December 3rd, 2018, 6:35 am
by IceCream
There is 'Single' button on Tektronix TDS 2024C oscilloscope front-panel.
Image
I cannot find in Programmer Manual how to press this button programmatically.
Please suggest what command should I use.

Re: Press 'Single' button on oscilloscope programmatically

Posted: December 3rd, 2018, 7:19 am
by w2aew
First issue an ACQUIRE: STOPAFTER SEQUENCE
This will setup the Single acquisition.

Then, ACQUIRE:STATE ON will put the scope in Run mode, waiting for the trigger event.

Once the scope triggers, it will be stopped.

To re-arm the Single mode, issue ACQUIRE:STATE ON again...

Re: Press 'Single' button on oscilloscope programmatically

Posted: February 28th, 2019, 7:45 am
by IceCream
When I set

Code: Select all

ACQUIRE:STOPAFTER SEQUENCE
the waveform freezing, then I set

Code: Select all

ACQUIRE:STATE ON
it does nothing.
After these commands, when I try to set or query any command it throws timeout exception.
It does not respond to any command.

UPD: As soon as I have written this post I have understood that the problem is because I have not set a trigger. That is why it cannot complete the acquisition. Thank you!