Posted Sat, 10 Dec 2022 02:29:58 GMT by Le, Hong
Hello guys,
I'm pretty new to the Oscilloscope and I would like to control the MSO 4104B Mixed Signal Oscilloscope by SCPI. I'm looking for a series of SCPI commands to do as follows.
For channel 1 (CH1):
1. Turn on CH1 2. Set CH1 to DC coupling, full bandwidth
3. Set a positive pulse width trigger type, 50% threshold only for CH1
4. Auto-set the signal
5. Measure the width of the pulse
6. Display the measured value on the Oscilloscope (actually see it on the screen)
7. Return measured value from CH1
8. Can manually turn on, and off received signal from CH1
For channel 2:
1. Turn on CH2
2. Set channel 2 to DC coupling, full bandwidth
3. Set an edge trigger type, positive slope, and trigger level at 50%
4. Auto-set the signal
5. Measure the frequency of the signal
6. Display the measured value on the Oscilloscope (actually see it on the Oscilloscope's screen)
7. Return measured value from channel 2
8. Can manually turn on, and off received signal from CH2
Thank you in advance
Posted Sat, 10 Dec 2022 02:43:45 GMT by Le, Hong
Hello guys,<br> I'm pretty new to the Oscilloscope and I would like to control the MSO 4104B mixed signal oscilloscope by SCPI. I'm looking for a series of SCPI command to do as follows.<br> For Channel 1 (CH1): <ol> <li>Turn on CH1</li> <li>Set CH1 to DC coupling, full bandwidth</li> <li>Set a positive pulse width trigger type, 50% threshold only for CH1</li> <li>Auto set the signa</li> <li>Measure the width of the pulse</li> <li>Display measured value on Oscilloscope (actually see it on the screen)</li> <li>Return measure value from CH1</li> <li>Manually turn on and off received signal from CH1</li> </ol> For Channel 2 (CH2): <ol> <li>Turn on CH2&lt;/li&gt; &lt;li&gt;Set CH2 to DC coupling, full bandwidth</li> <li>Set an edge trigger type, positive slope, and trigger level at 50%</li> <li>Auto set the signal&lt;/li&gt; &lt;li&gt;Measure the frequency of the signal</li> <li>Display measured value on Oscilloscope (actually see it on the screen)</li> <li>Return measure value from CH2</li> <li>Manually turn on and off received signal from CH2</li> </ol> Thank you very much,<br> &nbsp; <grammarly-desktop-integration data-grammarly-shadow-root="true"></grammarly-desktop-integration>
Posted Wed, 14 Dec 2022 17:00:45 GMT by Teles, Afonso
Hi,

As a starting point I would suggest looking at the following remote control examples: https://forum.tek.com/viewtopic.php?f=580&t=133570
If you have yet to pick a language to use, then I generally suggest Python3.

Those examples might not do the specific things you need, for that you will need to consult the programmer's manual and find the commands you need: https://www.tek.com/en/oscilloscope/mso4000-dpo4000-manual/mdo4000c-mdo4000b-mdo4000-mso4000b-dpo4000b-and-mdo3000-0
To turn on a channel and configure it to full bandwidth, look in the Vertical command group.
For triggering setup, look in the Trigger group. 
For setting up measurements (which can be made visible on the screen), look into the Measurements group.

You must be signed in to post in this forum.