• MSO44 SCPI change dig channel threshold

    1. How do I use SCPI to change the threshold from default to say 2 V for all 8 bits? 
    2. Does (ABSolute) ref levels (riselow, risemid and risehigh) apply to digital channels? 
  • MSO44 SCPI add meas freq for dig channel

    Hi,
    My chan4 is connected to a TLP058 which are then connected to 8 clk signals. 
    I'm trying to add a meas of frequency for these 8 dig chans by using the below script but all the badges added are for D0 instead of D1. See pic attached.

    scope.write(f'DISPLAY:SELect:SOUrce CH4_D1')
    scope.write('MEASUrement:addmeas frequency')

    How do I fix this? 
     
  • RE: MSO44 scope SCPI questions

    post updated. 
  • MSO44 scope SCPI questions

    Is there a way to use SCPI to:

    1. get the number of pulses on a channel at the instant of query (3 pulses for attached pic ch3) without having to do single trigger and then query the population and then do run/stop again.

    2. get the average voltage of a channel at the instant of query. for the attached pic, ch1, it should return around 1.796 V, without having to add badge to measure mean, then query the badge mean, and then delete the meas badge. I tried using the below snippet but I sometimes get fouled up value like 0.1044 V when I'm expecting 1.8 V

    self.write(f"MEASUREMENT:IMMED:SOURCE CH{chan}")
    self.write("MEASUREMENT:IMMED:TYPE MEAN")
    sleep(
    .5)
    mean =
    round(float(self.query("MEASUREMENT:IMMED:VALUE?")), digits)
    return mean

  • MSO44 persistence color coding

    After enabling infinite persistence on a chanenl, how do I configure the scope to show heat map? Like more dark red for more samples and blue for rare occurrences. 
  • RE: scope SCPI did scope single trigger occur?

    <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;"><span style="font-size:9.0pt;"><span style="font-family:&quot;Segoe UI&quot;,sans-serif;">Hi Sean,<br> 1) For seeing if your single trigger has occurred and saving; I think that&#160;<br> SAVEON:TRIGger&#160;<br> (page 2-1167)&#160;</span></span></span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;"><span style="font-size:9.0pt;"><span style="font-family:&quot;Segoe UI&quot;,sans-serif;">or the Act on Event Command group, namely&#160;<br> ACTONEVent:TRIGger:ACTION:SAVEIMAGe:STATE<br> (page 2-176)&#160;<br> may be good starting points for you.</span></span></span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;"><span style="font-size:9.0pt;"><span style="font-family:&quot;Segoe UI&quot;,sans-serif;">As a side note, you'll also need to set up some commands for where to save the image/file naming and such. These commands can be found in the Act on Event Command group.</span></span></span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;">&#160;</span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;"><span style="font-size:9.0pt;"><span style="font-family:&quot;Segoe UI&quot;,sans-serif;">2) You should be able to just take a blank screenshot with SAVe:IMAGe, but it may be because you have some other settings turned on. Could you try running this command before doing a SAVe:IMAGe command?</span></span></span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;">&#160;</span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;"><span style="font-size:9.0pt;"><span style="font-family:&quot;Segoe UI&quot;,sans-serif;">ACTONEVent:TRIGger:ACTION:SAVEIMAGe:STATE 0</span></span></span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;">&#160;</span></span><br> <span style="font-size:12pt;"><span style="font-family:&quot;Times New Roman&quot;,serif;"><span style="font-size:9.0pt;"><span style="font-family:&quot;Segoe UI&quot;,sans-serif;">Best,<br> Iris Xu</span></span></span></span><br> &#160;
  • scope SCPI did scope single trigger occur?

    Two questions:&#160;<br> <br> 1. Is there a way to use SCPI to keep polling if my single trigger has occured yet? What I'm trying to do is to keep raising a threshold voltage until it triggers so I can take a screen shot.&#160;<br> <br> 2. I'm noticing that I'm not able to use SCPI routine to take a screen shot until the single trigger happen. Is this expected? Technically, I should be able to take a blank screenshot without any traces showing albeit not very informational.&#160;
  • MSO44 SCPI auto add marker

    Is there a way to use SCPI to add a voltage marker call out to a trace?&#160;<br> Please see attached pic, in which case I'm trying to add a marker (~1.2 V in this case) on c2 at time 0 (hopefullly this time is programable) .&#160;<br> &#160;
  • MSO44 question about WFM/CSV

    Questions about saving trace data:&#160;<br> 1. For the same data, why is the CSV file taking up 3.8M and the WFM only taking up 123k of drive space?&#160;<br> 2. Please see below for snippet of the CSV file, how come they are all 1.6 instead of giving a lot more precision in terms of decimal places (like 1.6357995)?&#160;<br> <br> What I'm trying to do is stream the data out so I can analyze if<br> 1.&#160;the clock spends noticable time in tri-state or<br> 2. mostly logic&#160;high/lows.&#160;&#160;<br> <br> <br> &#160; <table style="border-collapse:collapse;width:146pt;border:none;" width=195> <colgroup> <col style="width:101pt;" width=135> <col style="width:45pt;" width=60> </colgroup> <tbody> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;width:101pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;" width=135><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Model</span></span></span></span></span></span></td> <td style="border:none;width:45pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;" width=60><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">MSO44</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Waveform Type</span></span></span></span></span></span></td> <td style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">ANALOG</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Horizontal Units</span></span></span></span></span></span></td> <td style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">s</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Sample Interval</span></span></span></span></span></span></td> <td align=right class=xl63 style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">1.60E-10</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Record Length</span></span></span></span></span></span></td> <td align=right style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">125000</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Zero Index</span></span></span></span></span></span></td> <td align=right style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">62499</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">Vertical Units</span></span></span></span></span></span></td> <td style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">V</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">ANALOG_Thumbnail</span></span></span></span></span></span></td> <td style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"></td> <td style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"></td> </tr> <tr height=20 style="height:15.0pt;"> <td height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">TIME</span></span></span></span></span></span></td> <td style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">CH1</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td align=right class=xl63 height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">-1.00E-05</span></span></span></span></span></span></td> <td align=right class=xl63 style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">1.60E+00</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td align=right class=xl63 height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">-1.00E-05</span></span></span></span></span></span></td> <td align=right class=xl63 style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">1.60E+00</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td align=right class=xl63 height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">-1.00E-05</span></span></span></span></span></span></td> <td align=right class=xl63 style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">1.60E+00</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td align=right class=xl63 height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">-1.00E-05</span></span></span></span></span></span></td> <td align=right class=xl63 style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">1.60E+00</span></span></span></span></span></span></td> </tr> <tr height=20 style="height:15.0pt;"> <td align=right class=xl63 height=20 style="border:none;height:15.0pt;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">-1.00E-05</span></span></span></span></span></span></td> <td align=right class=xl63 style="border:none;padding-top:1px;padding-right:1px;padding-left:1px;vertical-align:bottom;white-space:nowrap;"><span style="font-size:11pt;"><span style="color:black;"><span style="font-weight:400;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-family:Calibri,sans-serif;">1.60E+00</span></span></span></span></span></span></td> </tr> </tbody> </table> ... ...
  • MSO44 scope SCPI read saved WFM/CSV files

    FILESYSTEM:READFILE “E:/test_data/tek00016CH1.csv” reads the<br> content of the specified file, if the file exists and is readable, and sends the content<br> of the file to the current interface.<br> <br> Question about the above content in the programmers' manual, after&#160;FILESYSTEM:READFILE “E:/test_data/tek00016CH1.csv”, how do I read this file from&#160;the current interface?<br> <br> I've worked with images (using &quot;read_raw&quot;) before using the below snippets but what's the cmd for WFM/CSV files?&#160;<br> <br> &#160; <pre>self.write(f'FILESystem:READFile \&quot;C:/{name}.png\&quot;') sleep(0.2) imgData = self.inst.read_raw(640 * 480)</pre>