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

0 Members and 1 Guest are viewing this topic.

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #50 on: November 30, 2018, 02:40:33 pm »
Out of curiousity, where do the instrument definitions end up being stored on windows? I wouldn't mind filling out a definition for the siglent 1204x-e to help this project.

Thanks again Rerouter for your interest and previous contributions to EEZ projects. Yes, it's possible to add a new instrument with its own set of scripts/shortcuts and SCPI commands manual. We've planned to include into M3 step by step instructions how to do that, but if you are interested to start something even before, please let me know and I can prepare for you instructions how to do that.

Online RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #51 on: November 30, 2018, 05:46:50 pm »
Just discovered the topic and played with EEZ Studio for about an hour.

What an amazing tool, THANK YOU!  :-+

Can hardly wait for M3, especially the doc for defining new instruments from scratch.  Until then, I'll try this weekend to define new extensions for a Rigol DP832 (Programmable DC Power Supply with 3 channels) and Rigol DG4102 (DDS Function/Arbitrary Waveform Generator with 2 channels).  If there are already hints/docs/help files about how to create a new extension, please kindly point me to them.

Again, thank you, so far I love this tool.
 
The following users thanked this post: prasimix, n3mmr

Offline s8548a

  • Regular Contributor
  • *
  • Posts: 116
  • Country: in
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #52 on: November 30, 2018, 06:16:35 pm »
Hi prasimix,

I just played a bit with Agilent U1252A (it is not a full featured SCPI device) and EEZ Studio with the information found from another thread and commands found from:
 https://sigrok.org/wiki/Agilent_U12xxx_series

I don't know about the data logging part, may be a java-script expert can do?

Please tell how to add this as an extension with image of the device.

 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #53 on: December 01, 2018, 07:35:47 am »
Just discovered the topic and played with EEZ Studio for about an hour.

What an amazing tool, THANK YOU!  :-+

Can hardly wait for M3, especially the doc for defining new instruments from scratch.  Until then, I'll try this weekend to define new extensions for a Rigol DP832 (Programmable DC Power Supply with 3 channels) and Rigol DG4102 (DDS Function/Arbitrary Waveform Generator with 2 channels).  If there are already hints/docs/help files about how to create a new extension, please kindly point me to them.

Again, thank you, so far I love this tool.

Great to see you here RoGeorge (and thanks for give us screen capture), it seems that I have to speed up writing instructions how to add a new instrument. I'll try to make some in coming days, please stay tuned.

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #54 on: December 01, 2018, 07:53:38 am »
Hi prasimix,

I just played a bit with Agilent U1252A (it is not a full featured SCPI device) and EEZ Studio with the information found from another thread and commands found from:
 https://sigrok.org/wiki/Agilent_U12xxx_series

I don't know about the data logging part, may be a java-script expert can do?

Please tell how to add this as an extension with image of the device.

Please note that currently is not possible to change icon of a generic instrument. Regarding data logging, some scripting would be required (possibly simpler for internal and more complex for external logging).
 
The following users thanked this post: s8548a

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #55 on: December 02, 2018, 10:31:06 am »
Looking forward to your write up, I have gotten most of my scopes written up in your current XML formats, but the definition is an invalid link and it seems its not fully implemented?

Things like synopsis of a function, a command format, or making a clear way to deal with mandatory and optional terms
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
0.9.1 (M3) version is released
« Reply #56 on: December 31, 2018, 02:07:50 pm »
Hi everyone, just a quick notice that the latest milestone (M3, v0.9.1) is just published and available on the GitHub for download and evaluation. I didn't manage to include step-by-step instructions how to add a new instrument, but I'll try to keep up with the promise and start to write about it here in the coming days. I'll also post screenshots about newly added features. Thanks in advance for your attention and possible comments and questions.
 
The following users thanked this post: Rerouter, Kean, RoGeorge, s8548a

Online RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #57 on: January 02, 2019, 07:28:37 pm »
Installed the Linux deb version on Ubuntu 18.10, then grabbed a screenshot from a Rigol DS1054Z.

All working, THANK YOU!  :clap:



If writing a 'How to define an extension for a new type of instrument, step by step' is too time consuming for the current developing stage, maybe you can just record the screen while you re-create a very popular instrument, like Rigol DS1054Z, then post the video on YouTube.  Something casual, for developers, not marketing-level video production (eventually you can post the video as unlisted).

A simple walk through will be enough at first, in order to understand the steps and the main idea, without describing each and every button and field. 



Just a small note for the SCPI commands that are sent by the 'Screensshot' button of the EEZ Studio (Rigol DS1054Z family extensions):

For the DS1054Z (and probably all the Rigol 1000Z oscilloscopes family), there is no need to send an SCPI 'STOP' before 'DISP:DATA?'.  The ':STOP' is sometimes mandatory (e.g. for ':WAVeform:DATA?'), but 'DISP:DATA?' can capture the screen while the oscilloscope is in the RUN mode.  Without the STOP before screenshot, the oscilloscope will preserve the RUN or STOP mode before and after the screenshot.



Another thing, it was not possible for me to edit the commands sent by the 'Screenshot' button, yet it was possible to add a new button for sending only a 'DISP:DATA?' (without the preceding STOP command).  The newly created button is working as expected.

I guess some files from the 'Rigol DS1104Z' extension were deployed as read only.



Good idea to make a separate repo for the instruments (extensions only).
So far, great job!  :-+
« Last Edit: January 02, 2019, 07:38:57 pm by RoGeorge »
 

Offline bicycleguy

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: us
Re: 0.9.1 (M3) version is released
« Reply #58 on: January 02, 2019, 11:52:26 pm »
Hi everyone, just a quick notice that the latest milestone (M3, v0.9.1) is just published and available on the GitHub for download and evaluation. I didn't manage to include step-by-step instructions how to add a new instrument, but I'll try to keep up with the promise and start to write about it here in the coming days. I'll also post screenshots about newly added features. Thanks in advance for your attention and possible comments and questions.

New years resolutions  :-+
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #59 on: January 03, 2019, 04:46:00 am »
A simple walk through will be enough at first, in order to understand the steps and the main idea, without describing each and every button and field. 

Another thing, it was not possible for me to edit the commands sent by the 'Screenshot' button, yet it was possible to add a new button for sending only a 'DISP:DATA?' (without the preceding STOP command).  The newly created button is working as expected.

There are 3 main files for the definition, the .idf .sdl and the package.json

The idf atleast to me, seems to be the most basic stuff, like the error handling,

The sdl is where you define every single little detail about all the commands for the help tree, what parts are optional, what is required, and defining the return data type, though its unclear how one would fully flesh this out for commands with multiple parameters

and the package.json is where all the built in commands like the ones you want to edit are baked in to, but can be opened with a text editor, and the script you want to edit is baked into some oddly formatted java script (seems to be mainly things for a parser?? e.g. newlines and escaped text)

Using this I have so far made a definition with an image for the siglent 1000X-E's, but its not fully fleshed out, bloody thing has some 415 SCPI commands, 70% of which where undocumented.
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #60 on: January 03, 2019, 02:58:52 pm »
First, I'd like to announce a hot fix for M3 release (0.9.2) since few minor issues were found when working with project in ESP. It is relevant only for people who is willing to try to create or edit instrument extensions.


If writing a 'How to define an extension for a new type of instrument, step by step' is too time consuming for the current developing stage, maybe you can just record the screen while you re-create a very popular instrument, like Rigol DS1054Z, then post the video on YouTube.  Something casual, for developers, not marketing-level video production (eventually you can post the video as unlisted).

A simple walk through will be enough at first, in order to understand the steps and the main idea, without describing each and every button and field.


Sorry for not responding faster regarding delivering of instrument extension creation instructions, but I planned to start that process in a day or two. I'm trying to finish some other things before Chinese New Year celebration begins :). Thanks for suggestion about making a video with screenshot sequence. I'll take that into account.
 
Just a small note for the SCPI commands that are sent by the 'Screensshot' button of the EEZ Studio (Rigol DS1054Z family extensions):

For the DS1054Z (and probably all the Rigol 1000Z oscilloscopes family), there is no need to send an SCPI 'STOP' before 'DISP:DATA?'.  The ':STOP' is sometimes mandatory (e.g. for ':WAVeform:DATA?'), but 'DISP:DATA?' can capture the screen while the oscilloscope is in the RUN mode.  Without the STOP before screenshot, the oscilloscope will preserve the RUN or STOP mode before and after the screenshot.



Another thing, it was not possible for me to edit the commands sent by the 'Screenshot' button, yet it was possible to add a new button for sending only a 'DISP:DATA?' (without the preceding STOP command).  The newly created button is working as expected.

I guess some files from the 'Rigol DS1104Z' extension were deployed as read only.

That's right. Currently we have STOP command in shortcut that comes with Rigol instrument extension, and you can in the meantime easily override it by creating your own shortcut and hide or delete one that comes from instrument extension. Here is instructions for other members how to do that and what you probably accomplished successfully:

First, open your instrument and make sure that you're in "Terminal" tab where you can check what shortcuts are currently visible:



If you move to "Shortcuts" tab you can see a list of currently available user defined shortcuts and one that comes with instrument extension. In this table you can see which one is selected to be visible in the toolbar and from here you can remove or edit selected shortcut.
Please note that shortcut that comes with instrument extension once deleted can be restored only by reinstallation of instrument extension.



If you don't want to delete it you can select it and deselect it's presence on the toolbar. Also it's possible to remove its assigned key (F2 in example below):



Now, you can define your own shortcut using "Add shortcut" green button, when an entry form will appear:



When the old shortcut that comes with instrument extension is deselected and a new one is added shortcut list will looks like this:



Finally when you move back to "Terminal" tab a new toolbar will appear:



Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #61 on: January 03, 2019, 03:34:00 pm »
A simple walk through will be enough at first, in order to understand the steps and the main idea, without describing each and every button and field. 

Another thing, it was not possible for me to edit the commands sent by the 'Screenshot' button, yet it was possible to add a new button for sending only a 'DISP:DATA?' (without the preceding STOP command).  The newly created button is working as expected.

There are 3 main files for the definition, the .idf .sdl and the package.json

The idf atleast to me, seems to be the most basic stuff, like the error handling,

The sdl is where you define every single little detail about all the commands for the help tree, what parts are optional, what is required, and defining the return data type, though its unclear how one would fully flesh this out for commands with multiple parameters

and the package.json is where all the built in commands like the ones you want to edit are baked in to, but can be opened with a text editor, and the script you want to edit is baked into some oddly formatted java script (seems to be mainly things for a parser?? e.g. newlines and escaped text)

Using this I have so far made a definition with an image for the siglent 1000X-E's, but its not fully fleshed out, bloody thing has some 415 SCPI commands, 70% of which where undocumented.

There is no need to dig into any of above mentioned files :). That's why ESP part of the EEZ Studio exists.
Anyone who is eager to see how instrument extension "source" looks like, before step-by-step instructions is not ready, I can suggest to open one of the existing project for our EEZ H24005 power supply, currently supported Rigol scopes. In addition to that M3 version is now capable to import as a project a Keysight Command Expert offline command set zip file. A whole library (over 1GB) is freely available from here.
For example, let's say that you'd like to see how instrument extension looks like for Rigol DSO/MSO1000 family. Clone or download studio-extensions repository, and then in ESW choose File > Open... option and select org/rigol/rigol_ds_mso_1000/rigol_ds_mso_1000.eez-project file from your local disk where you clone or download repository.



And you are there... feel free to explore all menus for which I have to tell you how to use it properly :).

If you'd like to import any of Keysight command set as an ESP project, go back to ESW and this time select File > Import instrument definition... option:



Select .zip file of interest and if it's valid Keysight package a new selection form will appear:



Select Project and new ESP window will appear with parameters extracted from Keysight package. Choose Workbench extension option if simply want to add "compiled" instrument extension for selected Keysight instrument as already described in the post #12.

Offline TiN

  • Super Contributor
  • ***
  • Posts: 4543
  • Country: ua
    • xDevs.com
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #62 on: January 03, 2019, 04:14:52 pm »
prasimix

Quote
Our current problem is that we don't have access to any instrument equipped with GPIB interface. I tried few times to find something as second-, third-, any-hand on the eBay but without success. Other possibility is to locate somewhere in our close proximity (actually Zagreb, Croatia, that unfortunately isn't a hi-tech zone) and try to do some development work. I'm also not aware about any T&M rental service that covers Croatia (that is for some time now part of EU). In one or another way it should be based on sort of GPIB to USB or GPIB to Ethernet bridge similar to one that you mentioned or something else (preferably open source if you ask me).

Not sure if there was any progress on GPIB side , but I have quite a fleet of instruments with GPIB that I can help to test with, if the support there. Currently I use my GPIB interfaces on linux machines (RPi) so I don't know much on what is needed (smallest/easiest libraries /etc) to make it work on Windows. Also I'm far from software world, but can do basic scripting coding to help testing.

I have industry NI GPIB-USB-HS dongles and Agilent 82357B dongle to test with, and also few Agilent E5810A GPIB-LAN gateway (visible on Windows just like LXI device over ethernet, that gateways "gpib0,N" parameter to the specific N GPIB instrument).
If you think it's helpful, I can send you 82357B dongle (free of charge) for development, as I don't use it anymore.

Once you get GPIB interfacing, i'll be happy to invest time and help adding Keithley, HP/Agilent/Keysight, Fluke and Wavetek/Datron instruments into your promising EEZ Studio.
YouTube | Metrology IRC Chat room | Let's share T&M documentation? Upload! No upload limits for firmwares, photos, files.
 
The following users thanked this post: prasimix, s8548a

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #63 on: January 03, 2019, 04:23:42 pm »
Many thanks TiN for your generous offer. Yes, having access to GPIB adapter will be definitely a great step toward adding meaningful integration of GPIB channel into the EEZ Studio. I can send you in PM my address.

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
New features in M3
« Reply #64 on: January 04, 2019, 02:32:13 pm »
I'll present here some of new features added into M3 version.

Database housekeeping

Under Settings on the Home page is now possible to compact database, which can grow considerable over the time:



EEZ Studio will remind you (with small red indicator on the Settings icon) once a month to perform database compression. When Compact database is finished, a small summary will be displayed as shown below. Size reduction is not significant in my case since I've performed compression recently.



Exchanging session items using notebooks

Notebooks allows you to export or import selected items from the instrument session, and combine items from more instrument sessions on the single place. That could be beneficial for exchanging information with other EEZ Studio users. To initiate creation of new notebook, select one or more items from instrument session first. A new icon will appear in upper right corner called Export selected history items to notebook:



That option offers three possibility. If you'd like to exchange your data with other user select Export as notebook file. Two other options can be used to export items to new or existing notebook within EEZ Studio.



If notebook is exported into file (with .eez-notebook extension), the following new message will be displayed:



Working with notebooks is possible by selecting Notebooks tab on the Home page:



Here you can add a new notebook or import it from file, for example import notebook file:





For testing purposes, above mentioned test notebook file is zipped and attached in this post that you can for test import and display it in your EEZ Studio. Please first unzip it since forum does not allow attachment with any extension type.
 
The following users thanked this post: s8548a, AlanS

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
New features in M3 (cont.)
« Reply #65 on: January 04, 2019, 04:30:19 pm »
Combine graphs

A new graph can be added into instrument session that include two or more graphs. That feature could be interesting when graph comparison is needed or you want to perform math operation that require more then one signal (see below). To start adding a new graph, select Add chart option in the upper right corner:



A new message for graph selection is displayed:



All graphs that belongs to instrument session history will be displayed with check box for selection. We'll select two graphs in our example:



Confirm with blue button Add chart and new item that combine selected graph will be added at the end of the instrument session history:



Graph measurements (math operations)

If session item type is graph directly acquired from instrument, or imported as file it is possible now to perform a first batch of math operations on it. Please note that this is a still under development, we are still missing a lots of important operations and performance and capability of currently supported is a subject for further improvements. To enter graph, you have to click on when cursor shape is changed to "preview" (not select it, we have currently an issue with that which is reported as #57 in GitHub!). We'll use newly created graph just mentioned above and get the following:



Here we can see a new added selection Add measurement in Measurements tab. Please note that you can select and move any of the available tabs and rearrange them to serve you better.
For example we can add A - B measurement (note that Y-axis resolution can be changed just in one direction, that is reported as #55):



FFT is also added, but has performance issue, and we'll try to use some library written in C/C++ to improve calculation speed. Its performance is also heavily dependent of number of used samples. Currently we are working will all samples within selected area. We have to find a way how to use selected samples from complete stream without significantly affect resulting spectrum appearance.
Other issue is related to selected duration. We can see that on 1 kHz sinewave generated with Rigol signal generator (set to 5 Vpp, 0 V offset). If the sampling rate is huge (1 GSPS) and selecting only about one period FFT (rectangle) spectrum looks like this (also note that more then one measurement type can be visible simultaneously):



Calculated frequency is pretty accurate: 1.012 KHz. But, if we select on the same graph more then a single period, we'll get the following:



Calculated frequency is now 1.318 KHz. More predictable results can be expected if more periods are included into selection that presume also lower sampling rate. The same sinewave measured on the same instrument with 125 MSPS will looks like this:



A word about graph navigation. When graph is opened for the first time its displayed as Zoom default option is selected:



Zoom all option will try to display it as big as possible, in our case amplitude (y-axis) resolution will be changed:



You can select with a cursor part of the graph to zoom into it (displayed it as big as possible on x-axis). Simply click on the first point, drag and release to the second point. Here is how that could looks like before releasing the mouse button:



It's possible to enable or disable X-axis and Y-axis rulers (see Rulers tab). In that case cursor selection define part of the graph that will be used for measurements. In that case selection boundaries will looks a little bit different (bold white lines):



Click inside selection to move it inside graph, or select boundary line to resize it.

Finally note about graph export: you can save it as file using Save option beneath graph (visible when you exit preview mode in instrument session history). In that case graph will be saved in raw format an in our case it will generate a 7.5 MB file size. But if you'd like to exchange graph with other EEZ Studio users, use Export as notebook file option described in previous post. In that case the same file will be compressed and only 18.6 KB in size.









Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
EEZ Studio 0.9.3 (M3 Hot Fix 2) release and instruction guide for creating IEXT
« Reply #66 on: February 25, 2019, 04:24:15 pm »
After so many delays and preoccupations with other tasks, I've managed to finish first draft of instruction guide how to create an IEXT (Instrument extension) for the EEZ Studio. Instructions are available here, and .odt files are committed to GitHub here. Thanks in advance to anyone who is willing to improve that text for better understanding.

I'd like to announce also the 0.9.3 release (M3 Hot Fix 2) that include few essential fixes and improvements that process of creating IEXT can be possible.

Finally, I've also set up EEZ Discord server (mind that Discord has desktop client too where you can enter invitation link!) that possibly could speed up communication about creating an IEXT, but also for general discussion about EEZ Studio and other open source projects.

 
The following users thanked this post: Kean, RoGeorge, s8548a

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 189
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #67 on: February 26, 2019, 09:19:13 am »
Hello,

After about a year I have decided to check the progress of this very promising software.
I have decide to test with the SSA3032X instrument.
I have installed the extension SSA3032X without issues and it is shown as "installed"

I can connect to the instrument and send basic scpi commands but my shortcuts and scripts are empty.
Is it seems SSA3032X extension is empty. correct?
I will try to add some shorcuts but for the script related with https://github.com/eez-open/studio/issues/31 I may need some help
   
Thnaks
Dimitar
 

Offline prasimixTopic starter

  • Supporter
  • ****
  • Posts: 2023
  • Country: hr
    • EEZ
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #68 on: February 26, 2019, 09:44:34 am »
Hi Dimitar, you're right, the Siglent IEXT is "half baked" and is missing some SCPI subsystems, and shortcuts and scripts, too.
But, the :HCOPy:SDUMp:DATA? that does not follow SCPI standard for transferring data block is implemented. For start, please let me know if it now can return meaningful data.

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 189
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #69 on: February 27, 2019, 10:12:58 am »
Hello,

Yes I already confirmed that :HCOPy:SDUMp:DATA? is working fine with SSA3032X instrument.
I may try to add some shortcuts to set the f_start, f_stop, RBW and detector. 

Do you think making vector plots as for Rigol scopes is complex to be implemented?
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #70 on: February 27, 2019, 12:10:34 pm »
dpenev, take a look at the new project editor, looks like we should be able to even script up a full UI for the things if we needed to,

to prasimix, Very stupid question, but with SCPI is there anyway to have the prefix be a variable, e.g. C1, C2, C3, C4, for C1:BWL, when I approach it with digital channels it blows things out very quickly,
 

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 189
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #71 on: February 28, 2019, 09:35:36 am »
Hi Rerouter,

Thanks. I have checked the project editor but I am not sure if this is what I need.
I need to be able to include vector chart/plots for my SSA3032X to be able to zoom and export to CSV things (for example) which seems to be made for the Rigol scopes.
And this is not that I need this desperately but I think this is required to make this tool more useful for SSA3032X
Being able to dump the screen and adding few shortcuts which I plan to do is already a step forward.

As for the project editor I have to admit that I don't get the idea.
Is it going to help me with achieving the above goals I have mentioned?

Thanks
Dimitar
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #72 on: February 28, 2019, 09:51:55 am »
Sorry, I should explain better as I am learning it myself aswell for a SDS1104, Currently it doesn't appear to natively support vector plotting, I missed that point, However It could likely be added as a GUI option in a later version,

Most of the shortcuts are Javascript based, so with some massaging I'm working to get the graphing working with the siglent scopes, (pretty much just formatting it in the correct way) from that point its just pipe to the correct GUI element, However for your currently requested display mode, I recommend adding an issue to the github project.

https://github.com/eez-open/studio/issues
 

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 189
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #73 on: February 28, 2019, 12:06:34 pm »
Thanks Rerouter,

I have added an issue an year ago actually.

However we have to thank the developers for their work so far and start helping I believe. :)
I will see what I can do next few weeks for SSA3000X
 
 

Offline dpenev

  • Regular Contributor
  • *
  • Posts: 189
Re: Open source EEZ Studio for accessing your (SCPI) instruments
« Reply #74 on: February 28, 2019, 12:45:34 pm »
OK I have decided to give it a try with a shortcut
All is meant to be super easy so good.
Unfortunately I am complete dump with Javascript.

I saw how to create edit box in javascript from Internet and tried this:

var fstart = prompt("Enter the Start Frequency", "");
connection.command(`:FREQuency:STARt ${fstart}`);

The EEZ studio however said that "prompt() is and will not be supported".
What is the suggested way to make simple  edit box so I can enter one or few parameters if the shortcut/script requires it?
connection.command(`:FREQuency:STARt 1e3`); works so I am half way there. ;)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf