Posted Wed, 14 Jun 2023 14:58:17 GMT by Bowman, Tom
I am using a MSO58b, I am using the spectrum view and I am remotely controlling the scope using SCIPI commands.   I read through the manual but I can't seem to find how to set the spectrum reference levels and scale.  I can do this via the scope by using the position knob and scale knob when the spectrum view is selected but I can't figure out how to set them to a specific value using SCIPI commands.  Does anyone know how to set these using SCIPI commands? Any help would be greatly appreciated.
Posted Wed, 14 Jun 2023 21:23:29 GMT by Teles, Afonso
Hi Tom,<br> <br> To change the vertical position you should use <code>display:specviewX:chX:vertical:position</code>, for the scale you should use <code>display:specviewX:chX:vertical:scale</code> .<br> <br> I don't believe these are currently documented in the programmer's manual, I will work to get that changed.&#160;
Posted Thu, 15 Jun 2023 14:54:08 GMT by Bowman, Tom
Hello Afonso,<br> <br> Thank you very much for responding so quickly. I do have a follow up question about one of the commands.&#160; For the Position command, I don't understand how to use this.&#160; Could you give me some examples on how I set these values.. For example if I am set to dBuv units, with a 10dB/DIV.&#160; How do I make it so that -15dBuV would be in the center of the screen?&#160; It seems like it takes integer based numbers, but it seems to move unexpectively depending on what the scale is.
Posted Fri, 16 Jun 2023 16:04:29 GMT by Teles, Afonso
Hi Tom,<br> <br> From my testing, it appears the position command uses divisions for its units. So, if you set the position to +1, you move it up 1 division. If you set it to -1, you move it down one division.<br> It also appears to accept non-integer values, so you can, for example, set it to -1.5 to move it down one and a half division
Posted Fri, 16 Jun 2023 18:49:01 GMT by Bowman, Tom
Hello Afonso,<br> <br> Thank you very much.&#160; I think I figured it out. (which was actually kind of complicated-ish) to convert position number to a centered reference level.&#160; Since it seems that the spectrum mode selected a reference level based on your time domain scale. This value in the manual is based on the scale of dBm. So I needed to convert my value to dBm then convert that to a position number based on the dB/div and V/Div.<br> <br> Thanks,<br> Tom Bowman

You must be signed in to post in this forum.