Author Topic: Open source EEZ Studio for accessing your (SCPI) instruments  (Read 40546 times)

0 Members and 1 Guest are viewing this topic.

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
I'm going to present here a EEZ Studio on which we are working for quite some time and first milestone (M1) is reached yesterday that is released and ready for evaluation.
The EEZ Studio is an open source cross-platform (developed in Electron) modular visual tool aimed to address various programming and management tasks for EEZ H24005 programmable power supply and other test and measurement instruments that support SCPI. Currently it has two main modules: EEZ Studio Project Editor (or ESP) and EEZ Studio Workbench (or ESW) and I'd like to cover in more details later module since it could be of interest for general audience not just owners of the EEZ H24005.

ESW version M1 quick facts
  • Dynamic environment where multiple instruments and other "widgets" can be placed and easily accessed
  • Session oriented interaction with each SCPI instrument
  • History of all activities with search/content filtering
  • Support for serial (via USB) and TCP/IP communication
  • Direct import of ESP generated IDFs and Keysight’s Offline Command Expert command sets
  • Built-in instrument extensions for Rigol 1000 series of DSO/MSO
  • Quick navigation via calendar ("heatmap") or sessions list view
  • Shortcuts (hotkeys and buttons) that can be user defined or come predefined from imported IDF. The shortcut can contain single or sequence of SCPI commands or Javascript code.
  • Javascript code for task automation (e.g. logfile, or programming list upload/download, etc.) can be also assigned to the shortcut
  • SCPI commands context sensitive help with search
  • File upload (instrument to PC) with image preview (e.g. screenshots)
  • File download (PC to instrument) automation for transferring instrument profiles
  • Simple arbitrary waveform editor (envelope and table mode)
  • Displaying measurement data as graphs
Scheduled for future milestones (partial list)
  • Support for other connections (i.e. VXI-11, USBTMC, IVI) using 3rd party open source
  • Instrument extensions for popular instruments from other vendors
  • Print and PDF export
  • (External) data logger
  • Protocol analyzer using 3rd party open source
  • Import/export of all working data (i.e. measurements, session history, shortcuts, settings, etc.) for archiving purposes or easier integration with e.g. so-called ELNs
Without going into more detail in this moment I'll show you in next post how is possible within 5 minutes to have ESW operational and help you to have all your interactions with instrument stored on one place and easily accessible.
« Last Edit: May 04, 2018, 12:32:56 pm by prasimix »
 
The following users thanked this post: BravoV, TiN, felixd, hammy, thm_w, Macbeth, kj7e, s8548a, Daruosha, julianhigginson, MikeP, Jacon, ghpicard, pgo, duckduck

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Installation and work with Rigol series 1000 DSO/MSO
« Reply #1 on: May 01, 2018, 09:44:33 am »
Installation

Visit EEZ Studio home page and move down to Download section with links to installation packages (with hash info) or visit GitHub directly and choose installation package for your operating system. When installation is finished successfully run EEZ Studio and it will create database where all activities are stored, and install a set of so-called instrument extensions for EEZ H24005, its simulator (if you can are interested, get it here) and various Rigol's 1000 series MSO/DSO.
When EEZ Studio is up and running ESW home page is displayed. You can go back to this page anytime using its icon in upper left corner. Installation will also add three instruments: EEZ H24005, its simulator and one generic SCPI instrument that could be used as entry point to any SCPI instrument that can be accessed using one of two currently supported interfaces.



Deleting and adding instruments

Instruments that are not needed can be easily removed from the ESW home page: just click on the instrument icon, and from right-click menu select Delete. Deleted instrument goes to “recycle bin” which appears in upper right corder as Deleted instruments. There you can restore instruments (and all interactions with it!) back to home page or remove it permanently.



Add instrument option in upper right corner allows you to add new instrument which has instrument extension installed (more about that in future posts). When selected, a list of all available instruments is displayed:



As an example Rigol DS1074Z-S will be added and few basic actions with it will be presented.



Right side of the ESW home page shows basic information about selected instrument that include available interfaces (supported in current ESW version) and its history.

Instrument session

When instrument is installed we are ready to start communicating with it. That can be done by selecting option Open SCPI terminal or with double-click on instrument icon when new session window dedicated to that instrument is opened. ESW support work with multiple instruments, therefore one session window is opened for each instrument.



Please pay attention to the following session window options and sections:
  • Header section contain information about instrument and connection status
  • Shortcuts section is displayed on the bottom. Shortcuts could come with instrument extensions or can be added by user
  • SCPI help can be reached by selecting the blue question mark option, in lower left corner
  • Command line for sending SCPI command is also displayed but it's disabled if connection with instrument is not established
Let's continue with establishing connection. In case of Rigol, ESW in this version could offer only Ethernet connection. Rigol is using non-standard port 5555 (instead of 5025) that we have to enter together with its IP address (192.168.10.124 in my case) and select Connect:



After the first successful connection we'll get something like this:



Take note that command line is now enabled and that connection status is changed. We can found in connection status section basic information about connection (e.g. IP address and port) and identification string received from instrument when standard *IDN? query is sent what represent the beginning of new session.
You can also see that all interaction are timestamped and all activities is recorded into instrument history.

Collecting measured data

Without spending any more time for explaining anything else, we are now ready to collect measurements! In case of Rigol we prepared two predefined shortcuts: Screenshot and Waveform data. They are assigned to function keys F2 and F3 respectively (and that can be modified!) or can be execute by clicking on their buttons down in the shortcuts section.
The Screenshot represent the most trivial and fastest way to collect measured data. Here is an example with two channels active:



Oops, I forgot to close connection info form, so here is another one :)



Received image is now stored into session history but it can be easily saved to disk or clipboard and we can add some note. The later option proved to be particularly useful: if you add a note shortly after making screenshot, about e.g. measurement conditions, expected and achieved results you are not risking to forgot a real meaning of it especially when multiple measurements are accomplished. All note content is searchable and you can quickly come back to the right measurement no matter of how many hours, days or months passed. An example of adding note:



Added note appears below image and it can be further edited or completely deleted.



Now, let's see what can we get with Waveform data shortkey. Contrary to previously presented Screenshot shortkey that is sending a simple sequence of two commands: STOP and DISP:DATA? Waveform data is a javascript that exchange multiple SCPI commands and raw data stored into Rigol's memory. Depending of number of active/displayed channels and selected timebase number of available samples could vary, but this script take care of all that so you just need to press F3 or click on it's button and we'll get the following:



This operation last for quite some time since it seems that Rigol has finite capability to make available samples for transfer and also limited output buffer. Therefore script has to ask for multiple chunks that are assembled into single graph before make it available on the screen. Hence multiple blue info boxes on the right side about script execution progress that will disappear shortly.
In this example we can see that sampling rate was 500 MS/s and that Rigol provided 1 200 000 samples (1.14 Mb) per channel. As in previous example it's possible to add a note to each graph/recording and now we are in better position to inspect received data more closely: just by clicking on the graph it will be displayed over the complete session windows:



Configure option opens entry form preloaded with data received from the Rigol:



If you are missing black background that you have on instrument, simply select it as shown on the picture that follows. That is a global option and will affect all other graphs.



Graph data can be now zoomed in and out and min-max is used as default rendering algorithm. Here is an example of zoomed in view:



Rigol, as I believe many others deploy various manipulations that data on the TFT LCD screen looks “better” or closer to analog scope. Therefore results taken as bitmap (screenshot) or presented as raw data could differ in appearance or “smoothness” or “sharpness” :). ESW for now, offers two other rendering algorithm average and gradually:





We can zoom-in extensively but not to infinity, or not beyond the limit of samples. If we go so far, each sample is starts to show as small ball connected with the “tail” to the zero for better indication that we reached sampling rate/resolution:



Data once transferred to the PC can be further processed using various math operations as today's DSO are doing in “realtime”. We believe that all what Rigol is already offering on the instrument will be add for offline processing in ESW.

Finally, for this basic presentation let's say a few words about before mentioned SCPI help:



Here we have all Rigol SCPI commands "indexed" and searchable. Displayed command can be copied directly into session's command line. When executed Rigol will sent its respond. In first attempt that was an error since channel number was not specified. ACQuire:MDEPth? followed and another query with correctly specified channel number:



When we don't need to work with instrument, we can close the connection using the Disconnect option, and that action will be also recorded into session history and displayed on the session window together with information about session duration:



I believe that this short presentation about basic operation with ESW will be inspirational enough for many of you to invest some time testing it, send us some feedback and even possibly decide to use it on the daily basis. Thanks a lot in advance for that!

*****************

A note about including support for Rigol DSO/MSO: the reason for that is quite simple, that's currently only 3rd party SCPI capable instrument available to us (and used in “lab” work) so it was used as a guinea pig for testing ESW features. Hopefully over the time the situation with more directly support for other vendors will be better, and possibly some of their representative/employees who are scanning this forum recognize even in this early stage the potential of ESW and offer/borrow us something from their product line. We are quite open for such possibility and I believe that could be a win-win combination for all of us without fear that such deal could possibly cannibalize software solutions they are already offering.
 
The following users thanked this post: jleg, luma, pgo

Offline julianhigginson

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: au
Re: EEZ Studio for accessing your (SCPI) instruments
« Reply #2 on: May 01, 2018, 10:46:49 am »
Looks very cool! I'll give it a go with my H24005 soon.
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: EEZ Studio for accessing your (SCPI) instruments
« Reply #3 on: May 03, 2018, 05:25:51 am »
A quick note about "requirements" since some people asked for it: no middleware/driver (e.g. VISA, IVI, etc.) is needed to establish connection with Rigol scope over Ethernet. Just plug the cable, find its IP address and use it together with port 5555 to start connection.

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
ESW additional functionality
« Reply #4 on: May 03, 2018, 07:01:30 pm »
Set/change instrument name (label) and session name

In this post I'll present more ESW functionality. Lets start with name of the instrument which is added on the Home page. When connection with the instrument is established for the first time, ESW will use instrument identification string queried with *IDN? Command. That string could be pretty long and can spent a lots of space, looking unnecessary messy. That can be easily rectified by entering a text string of your choice in field Label:



Now we'll continue by opening a new session with the same Rigol. This time Sessions list tab is selected on the right side of the page. Here is possible to add a name to the session (a newly created or previous one). That can help us in the future to find a content that we are searching for:



Just place cursor over the session row and edit option (pencil) will appear that when selected open a new entry form:



Adding data into the session

Session does not necessarily contain only data gathered during the interaction with an instrument. ESW currently also allows us to insert the following:
  • User note
  • File from disk (with file preview if possible)
  • Merging of more graph into new one


Select a Note icon to open an entry form for adding your note:



Note can, for example contain link to external content that will be opened with single click:





When an added file from the disk is recognized as image, ESW will also show its preview. (click on it to enlarge it to its original size):



You can use this option to import into the session (raw) data from some other measurement that resides on your disk (e.g. exported from other session) or someone sent it to you:





Merging of more graphs allows us to make a compilation of various measurements taken from few sessions. You can initiate it by choosing the Add chart option:



A list of available graphs that belongs to all sessions recored for selected instrument is displayed with check boxes on the left used for selection of graph that are of interest for us:



Select Add chart to finish your selection and a new graph will appear a the end of the current session:



Now we can see that Configure form of the newly compiled graph contains information for each of them. Here you can for example change the name (Label) of each trace to something else (by default channel numbers taken from origin are used):



Content search

Finally we can see what kind of data can be found searching thru sessions. Search operation is quite simple: just enter a few letters that contain a word of interest and ESW will start with listing all results: 



If searched term is found inside an inserted item it looks like this:



When we don't need Search, Calendar and Sessions list you can hide that part of the window.


Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #5 on: May 03, 2018, 07:24:42 pm »
seems like cool software, however download is very slow.. (around 15kbps)
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #6 on: May 03, 2018, 07:26:27 pm »
Thanks for your feedback. Do you mean download from instrument: a screenshot or memory capture?

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #7 on: May 03, 2018, 08:57:22 pm »
oh sorry for not being clear :) downloading from github..

third attempt... it also failed somewhere in the middle.
« Last Edit: May 03, 2018, 09:26:59 pm by JPortici »
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #8 on: May 03, 2018, 09:12:52 pm »
Wow.
Very impressed.
I know what will be keeping me busy tomorrow.
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #9 on: May 03, 2018, 10:03:10 pm »
oooh i was finally able to download it..
impressive work :)
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #10 on: May 04, 2018, 06:46:46 am »
oh sorry for not being clear :) downloading from github..

third attempt... it also failed somewhere in the middle.

Oops, I didn't notice that while testing download. Possibly its depends of time of day/current load of GitHub.

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
ESW additional functionality, Part 2
« Reply #11 on: May 05, 2018, 09:25:35 am »
A few words about "advanced" instrument session options:

Scripting

ESW allows us to create scripts to automate sending SCPI commands to the instrument. Currently two type of scripts are supported: a textual sequence of SCPI commands and Javascript code. List of available scripts (assigned to the Shortcuts described below) can be accessed using the icon on the left side of the session window.
Here is a simple example of script that contains a SCPI commands sequence:



When content of Rigol memory is accessed as described in one of previous post Javascript code is used because some programming logic with variables is needed when multiple SCPI commands and queries are exchanging with displaying progress status on the screen. Feel free to look and further modify this script (make an backup copy before that you can switch back in case of trouble):



Shortcuts

Shortcuts can be provided with the instrument extension but they can be also created by user (see column Group). Here is an example of list of all available shortcuts:



To add a new shortcut select Add shortcut. For example, we'd like to assign instrument self-test query (*TST?) to function key F10. If we don't want to assign any key to the shortcut (i.e. only want to have a button on the screen) already entered key can be cleared with option "x" next to Keybinding field. Some of the keys are intentionally not allowed to be used as shortcut (e.g. Del, Ins, PgUp, PgDn, etc.).
Since shortcut is used to call a script, you have to choose what type will be used (Action type) and in Action code you have to enter script code.



Added shortcut become visible in the lower part of the session window:



In this example we can see that group called "My group" is selected that is also user/custom defined group since shortcuts can be grouped for easier management of many shortcuts. To work with groups use Show groups option or to go back to shortcuts select Show shortcuts.

System settings

It was already mentioned that ESW will create database where all interaction with all instruments will be stored. We are using SQLite for storage and you can find its initial location under Settings reachable using the icon in lower left side of the ESW's Home page:



So, if you take care of your measurement add this database file into your backup scheduler, or move it into some of your folders that are already covered with backup routine. If database name or location is changed EEZ Studio need to be restarted, so in that case use Restart option.

Another parameter listed under system settings are Locale. Use it to change how datatime is displayed.
« Last Edit: May 05, 2018, 09:28:11 am by prasimix »
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Direct import of Keysight Offline Command Expert Command set
« Reply #12 on: May 05, 2018, 05:03:42 pm »
Here I'm going to demonstrate how is possible to import directly command set for a Keysight instrument that can be found in their Offline Command Expert Command sets.

First, if you don't have it locally, go to Keysight Offiline Command Expert Command Sets page and select Download (you'll be asked to register/login):



When downloaded, unzip it to the desired folder where it occupy about 1.3 Gb (!). Now you can start EEZ Studio and select in ESW module (default one) Extension manager by selecting its icon on the left side:



Use option Install Extension, and as an example we're going to install InfiniiVision 4000 X-Series Oscilloscope. My Offline Command sets are located in Downloads folder where I have to locate InfiniiVision4000X zip file:



When selected ESW will import it and it will appear as new added instrument extension:



Unfortunately this zip file does not include a picture of instrument, but that can be easily fixed by find it somewhere on the Net, e.g. one that is on the official instrument's page:



Right click on the picture, and we are ready to save it locally:



We can remove excessive surrounding white background (in any image editor) and add it using the Change image option when picture appear in instrument extension info:



Now, we can go back to the ESW Home page, select Add instrument option and select new added Keysight instrument from the list:



... and it will appear on the Home page:



Instrument is now ready for use (if it can be accessed by Ethernet telnet session :)) and we can see under SCPI help section complete list of available commands as imported from Keysight zip file:



Thanks in advance to anyone who is going to invest some time testing it with some Keysight instrument that can be reached by interfaces currently supported with this first version (i.e. EEZ Studio M1).
« Last Edit: January 14, 2019, 11:02:50 am by prasimix »
 
The following users thanked this post: morris6, skench

Offline morris6

  • Regular Contributor
  • *
  • Posts: 81
  • Country: nl
Re: Direct import of Keysight Offline Command Expert Command set
« Reply #13 on: May 07, 2018, 07:59:39 pm »

Thanks in advance to anyone who is going to invest some time testing it with some Keysight instrument that can be reached by interfaces currently supported with this first version (i.e. EEZ Studio M1).

Thanks for this "how to use guide".

Installing the extension for the Keysight 34461A was easy, following the example you gave.
So far I tested a few measurements and  a screen dump (HCOPy:SDUMp:DATA?), it works OK.
Next is to write a script for some data capture...

I have a question: Is it possible to erase a picture, screen dump, from the session history? It seems there are icons for save, clipboard and add note, but not for erase?
 
The following users thanked this post: prasimix

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #14 on: May 07, 2018, 08:25:57 pm »
Looks great! Thanks a lot for that. Currently there is no possibility to remove anything from the session. I'm aware that such strict policy is not necessary in Hobbyist/DIYer lab but could be interesting in some other environment (that also require better security/user access control, etc.). Anyway, since everything is going into database, plan is to make it similar to what is already possible with deleted instrument: when you'd like to delete an item, in the first step it will be marked as deleted and will disappear, and in second it can be completely removed from the database. The first step is accompanied with the risk that "workflow" will be broken. That can make a testing/experimenting reconstruction after some time more difficult or even impossible. But that can be resolved with restore/undelete action from the "trash bin" as long as second step (purge) is not selected.

"Deleted items" will be just another type of data filter/view that can be used to narrow search over tons of data. I'll keep you posted about progress, we are just reached Milestone 1, and few more are waiting in the row :).

Offline HighVoltage

  • Super Contributor
  • ***
  • Posts: 5453
  • Country: de
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #15 on: May 08, 2018, 06:26:57 pm »
Thanks, looks great so far.
I will be testing your software soon.
There are 3 kinds of people in this world, those who can count and those who can not.
 

Offline s8548a

  • Regular Contributor
  • *
  • Posts: 116
  • Country: in
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #16 on: June 17, 2018, 05:15:04 pm »
Being using this software for a couple of days, amazing work  :-+

a couple of doubts:

when switching ON the PSU from standby, gets an error " **ERROR: 310,"List not found ", but the channel trigger mode is set to fixed only.

when clear protection command is given, all the channel protections are still enabled on the PSU display.

*RST command is not clearing the channel VA settings to default state (not verified about other settings). update:auto recall on power On settings under user profile.
« Last Edit: June 17, 2018, 05:55:19 pm by s8548a »
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #17 on: June 19, 2018, 07:02:43 am »
when switching ON the PSU from standby, gets an error " **ERROR: 310,"List not found ", but the channel trigger mode is set to fixed only.

Such error could happen when LIST is read from SD card but cannot be found (e.g. you deleted it or switch to other SD Card). All LISTs from profiles are stored in PROFILES folder using the following naming convention: LST_<CH_INDEX>_<PROFILE_LOCATION>.CSV
For example LIST on channel 1, profile 3 will be stored as LST_1_3.CSV

when clear protection command is given, all the channel protections are still enabled on the PSU display.

That's right. Clearing is not the same as disabling. "Clear protection" shortcut does just clearing. You can add SCPI commands for disabling it the same shortcut or define a new one.
 
The following users thanked this post: s8548a

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 183
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #18 on: June 20, 2018, 10:58:48 am »
Hello,

Some random thoughts from  a random user.
The EEZ software looks interesting to me as all SCPI instruments on the bench can be controlled from one place.
On top of this no big interface layers like ni-visa which I personal hate are used.
The software seems capable of doing simple but well looking reports with some organization in a calendar.
It can also import some basic commands from Agilent command set. 
All this is really nice. Thank you for the software!

Now, I am not into HTML and Java Script. I already can export data from my SCPI instruments using https://github.com/lxi-tools/lxi-tools
So EEZ Studio would be interesting to me if it supports my instruments or if it is easy to add support myself.
I have checked the Rigol DS1000 Waveform javascript and it doesn't look very obvious to me.
On top of that it seems that this script doesn't go in pure form in the github but rather in some strange file to me rigol_ds 1000b.eez-project
Suppose I want to add my instrument and update the EEZ Studio later. What is the procedure so I keep my additions and eventually contribute to the open source?

And now an example. I have Siglent SSA3021X spectrum analyzer.
With the general SCPI block I tested that it is recognized and that I can retrieve start frequency, stop frequency and for example trace 1 data.
See attached.

What my action java script will look like if I want just to plot this trace in dBm vs Frequency [Hz] ato-scaling the magnitude?
I believe an  example will be useful for others.

Thank you.
« Last Edit: June 20, 2018, 11:04:20 am by dpenev »
 
The following users thanked this post: prasimix

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 183
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #19 on: June 20, 2018, 11:41:41 am »
I also decided to test what morris6 has done.
I hit an issue. 
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #20 on: June 20, 2018, 12:03:37 pm »
Thanks for your feedback. Please note that EEZ Studio is even not in a "Beta" stage, we published what is done by reaching internally set first milestone (M1). A long journey is in front of us to make it not just attractive but also usable with many instruments. You are correctly noticed that what is now available and not listed as "generic instrument" need some extra work. We call it "instrument extension" as EEZ Studio already has everything included for making it. Currently we are storing there instrument identification info, picture, shortcuts and HTML help for supported/recognized SCPI commands. You can take a look by selecting File ...Open option and go to Instruments folder searching for file with .eez-project extension. For example, here is one of the pages that belongs to rigol_ds_mso_1000.eez-project file:



We are using internally developed Openoffice/Libreoffice extension (WebPublish, will be available soon on the GitHub) that convert .odt file to HTML in controlled manner. I spent some time to type in and bookmarking texts from Rigol's programming manuals. We are using special bookmark convention to easily process content of such HTML file. A collection of generated HTML files for mentioned "instrument extension" can be found used doc folder:



Unfortunately, a whole process is not documented yet, but my plan is to make a sort of "cookbook" how to create your own instrument extension.

The good thing is that EEZ Studio is now live on GitHub, so everyone is more then welcomed to participate in this moment at least with reporting errors found in M1, but also suggestions, wishes, etc. We'll try to add into our schedule what is reported and regarding your question about trace plotting I'd like to suggest you to open a new issue, and possibly attach there an graph example and we'll follow up with questions and solutions. We are working on the the M2 (Milestone 2) and progress and what is planned to be included can be tracked here.

In the meantime, we made a great progress in establishing USBTMC connection with Rigol scope. That is not so staightforward as Ethernet connection, but with a short readme it should be easily manageable for the most of people (hopefully still much easier then adding NI-VISA). Various content filtering is also added and it's possible to delete/purge/undelete any items from instrument history (with items counters!). We'd also like to add in the M2 a first group of "math" operations on acquired data.
Something what we possibly will need very soon (better then later) is making a session instrument independent or to promote existing session on certain instrument to such type of session. If such session type exists one could pick and choose results from multiple instruments, together with other external "items" (recorded video/audio/textual remarks, PDFs, images, datasheets, spreadsheets/tables, etc.). In that way, at the end, one can create a comprehensive lab report that can be easily converted in a job report for internal use or for end customer, for the publishing purpose, etc. That is in line with going toward modern ELN solution as mentioned in the first post.


Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #21 on: June 20, 2018, 12:07:23 pm »
I also decided to test what morris6 has done.
I hit an issue.

I need more input here: what script, script purpose, etc. That is obviously a bug, since EEZ Studio should exit gracefully in case of an error.

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 183
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #22 on: June 20, 2018, 02:25:06 pm »
Hello,

The script is:
HCOP:SDUM:DATA:FORM BMP
HCOP:SDUM:DATA?

The instrument is Keysight 24461A
 
I guess something related with the png conversion?


 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2022
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #23 on: June 20, 2018, 02:49:57 pm »
Quite possible. Does it generate .png or .bmp as HCOP:SDUM:DATA:FORM BMP suggested?

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 183
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #24 on: June 20, 2018, 03:55:13 pm »
I don't know this but note that it was working for morris6.
Have you changed anything since his version?
I am using Windows 10
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf