Posted Wed, 31 May 2023 17:28:34 GMT by Xu, Iris
Hi Martin,&#160;<br> It looks like you made a new thread dipping into SCPI commands in a python script, which is typically the way people remote into their scope and change around settings. You can also send them one-by-one using other apps like tekVISA Talker/Listener, for example.<br> <br> Specifically for recalling tss files, the command can be found on page 2-1132 of the <a href="https://www.tek.com/en/sitewide-content/manuals/4/5/6/4-5-6-series-mso-programmer-manual">4/5/6 series programmer's manual</a><br> RECAll:SESsion &quot;insert tss file path&quot;<br> <br> And for getting screenshots(PNG files) you can use (page 2-1156)<br> SAVe:IMAGe &quot;insert file path.png&quot;<br> <br> I'm not sure where you want to save the files to, but you can check your current working directory with (page 2-585)<br> FILESystem:CWD&#160;<br> <br> and also mount a windows or tekdrive (2-588), though this might be easier to do through the scope UI.<br> FILESYSTEM:MOUNT:DRIVE<br> <br> Best,<br> Iris Xu
Posted Thu, 01 Jun 2023 21:34:17 GMT by Rapp, Martin Hardware Designer
Hi Iris,<br> <br> according&#160;https://download.tek.com/manual/4-5-6-MSO-Programmer-Manual-077130512.pdf it is possible to automate Tekscope.<br> <br> on my laptop is NI VISA and TekVISA installed.<br> In openChoice VISA64 Conflict Manager is only TekVISA enabled.<br> Default-Visa is set to Tektronix<br> In openChoice Instrument manager --&gt; search criteria -&gt; I checked all possible options.&#160;<br> In LAN-section I have to enter a hostname of tekscope.<br> <br> The problem is if I open tekscope -&gt; Utility -&gt; I/O I have these options: to enable/disable socket server, protocoll (none/terminal), Port.<br> But there is no option to set hostname or ip-address.<br> <br> --&gt; Where can I set the IP-Address/hostname? Or what is the default value?
Posted Thu, 01 Jun 2023 21:39:44 GMT by Xu, Iris
Hi Martin,<br> You can send in SCPI commands line by line through TekVISA Openchoice Talker/Listener, yes.&#160;<br> Is your Network Address set to Auto (not Manual)? It should fill out automatically from there.&#160;<br> <br> You can also hit Test Connection to see if the LAN connection is being made, or reset LAN as well. You can also make a connection through USB and TekVISA should also be able to recognize your scope from there.<br> <br> -Iris Xu
Posted Thu, 01 Jun 2023 21:55:25 GMT by Rapp, Martin Hardware Designer
Hi Iris,<br> <br> just to make clear:&#160;I don't want to control my MSO58 oscilloscope.<br> <br> I have no connection problems if I want to control my MSO oscilloscope.<br> <br> I want to automate the PC-software Tekscope.<br> <br> Attached you can find my settings.<br> If I click on update instrument lists, the pc-software tekscope is not listed.<br> <br> BR<br> <br> Martin<br> &#160;
Posted Mon, 05 Jun 2023 17:33:06 GMT by Marmat, Gaurav
Hi, you can use TekScope's programmers interface found here<br> https://www.tek.com/en/manual/product-software/tekscope-programmer-manual-tekscope-pc-analysis-software<br> &#160;
Posted Mon, 05 Jun 2023 18:50:02 GMT by Rapp, Martin Hardware Designer
Hi<br> <br> thank you very much for your answer.<br> Can you please give me more information how to setup this interface?<br> In the manual you linked is on page 9&#160;Setting Up Remote Communications Hardware. This is helpfull if I want to connect to a real MSO.<br> <br> On page 11 is described how to deal with a real MSO on software side. This is OK if I want to control a real MSO.<br> But I want to control my PC-Software Tek-Scope<br> Could you please check my attachment? There you will see I am not able to setup an IP-Adress for socket server or something directing in this direction.<br> <br> Are you able to control your on Windows installed software Tekscope?<br> <br> Best regards<br> <br> Martin
Posted Wed, 14 Jun 2023 20:37:38 GMT by R, Martin
Hello,<br> <br> I installed<br> * Tekscope version 2.0.3.1855<br> * Tektronix OpenChoice TekVisa Version 4.2.0.26.<br> <br> Then I rebooted the computer and started TekScope.<br> <br> Then I run this python-script:<br> import pyvisa<br> rm = pyvisa.ResourceManager()<br> print(rm.list_resources())<br> rm.close()<br> <br> This is the output:<br> ('ASRL3::INSTR', 'ASRL4::INSTR', 'ASRL5::INSTR', 'ASRL6::INSTR')<br> <br> As you can see there is no interface for TekScope visible.<br> <br> The settings in TekScope are:<br> Socket Server: ON<br> Protocol: Terminal<br> Port: 4444<br> TekScope Remote Control: OFF<br> Protocol: Socket<br> <br> Can anybody guide me? Are the settings correct?<br> <br> According release notes of TekScope SW the Tekscope-Software starts an VXI-11-server.<br> How can I check if the server is running correctly?<br> Do I have to install VISA from NI in addition?<br> <br> Here are the release notes:<br> Version:&#160;&#160;&#160;&#160;&#160;&#160;&#160; [2.0.3.1855]<br> Last Revised:&#160;&#160; [03-May-2023]<br> Products:&#160;&#160;&#160;&#160;&#160;&#160; TekScope PC Software<br> <br> Version: 2.0.3.1855 (03-May-2023)<br> <br> New Features:<br> &#160;&#160;&#160; - Waveform Histograms<br> &#160;&#160;&#160;&#160;&#160;&#160;&#160; - Waveform Histogram and Measurements<br> &#160;&#160; &#160;&#160;&#160; &#160;- Horizontal and vertical histograms<br> &#160;&#160; &#160;&#160;&#160; &#160;- Draw multiple waveform histogram boxes and accumulate histogram<br> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; distribution and measurement statistics on Ch/Math/Ref/Rf sources simultaneously<br> &#160;&#160; &#160;&#160;&#160; &#160;- Touch friendly to resize and move the histogram boxes around on the waveform graticule<br> &#160;&#160; &#160;&#160;&#160; &#160;- The following measurements are available for the histogram<br> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; - Waveform Count, Hits in Box, Peak Hits<br> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; - Maximum, Minimum, Peak-to-Peak, Mean, Median, Mode<br> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; - Standard Deviation, One/two/three Sigma<br> &#160;&#160; &#160;&#160;&#160; &#160;- View histogram measurement results in the badge/table format<br> &#160;&#160; &#160;&#160;&#160; &#160;- Waveform histograms supported in history / fast frame mode<br> &#160;&#160; &#160;&#160;&#160; &#160;- Export histograms to the .csv file<br> &#160;&#160;&#160; - Save/Recall waveform tolerance limits as mask files<br> &#160;&#160;&#160; - TekDrive enhancements<br> &#160;&#160;&#160;&#160;&#160;&#160;&#160; - Copy/Paste from/to TekDrive file/folder (like local drives)<br> &#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; - Support for all Tek files (incl. screencapture/session/setup/waveform files)<br> &#160;&#160; &#160;&#160;&#160; &#160;- Auto increment of files while saving screencaptures/setups/waveforms into TekDrive (like local drives)<br> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; - Support for all Tek files (incl. screencapture/session/setup/waveform files)<br> &#160;&#160; &#160;&#160;&#160; &#160;- Open In TekScope<br> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; - Supports session/waveform files<br> &#160;&#160;&#160; - Execute VXI-11 server on app launch<br> &#160;&#160; &#160;&#160;&#160; - This enables to automate TekScope using NI-VISA/LabView&#160;&#160; &#160;<br> &#160;&#160;&#160; - Show in app Blue Dot Notifier to signal new application version<br> &#160;&#160; &#160;&#160;&#160; - Show weekly reminder if the application is not upgraded &#160;<br> &#160;&#160;&#160; - Math FFT increase the FFT span to 64GHz<br> &#160;&#160;&#160; - NFC – ISO/IEC 15693/14443A standard decode support&#160;&#160; &#160;<br> <br> <br> Best regards<br> <br> Martin
Posted Sat, 17 Jun 2023 19:15:32 GMT by R, Martin

Hello

I found a solution.

You need to install NI VISA in parallel and then you have to add a new network interface in VISA-cosmos.

Attached you will find my solution.

Best regards

Martin

You must be signed in to post in this forum.