| Products > Test Equipment |
| Making scalable oscilloscope graphs with a Siglent SDS1104X-E via SCPI |
| (1/4) > >> |
| HendriXML:
Hi, Before the Siglent I used an entry level Pico scoop, and one thing I liked was the ease of making good looking screenshots. Sometimes it is just nicer to have a white background and darker traces. I know the Siglent can sort of invert too, but then the traces become hard to see. First I got a normal screenshot working via SCPI, where I worked out how to get binary data. Then I enhanced my script to take the waveform and write it to an XML file. In this way one can export tables to Excel (I think it can be multiple) but also combine them with single fields. So a solid way to pass data to Excel, much better than CSV. In the current setting I use one file for one trace. This way the time axis is also independent between traces. Excel can handle many files with ease and show them in a single graph. In Excel it is also possible to configurate two vertical axis’s. What really nice is, is that via a cut ‘n paste to Visio and then an export to a SVG file the graph is now in a scalable image format. I like those SVG files for my schematics as well, because these allow high quality zooming. Which really works nice on a iPad for instance. To bad this forum does not support the format. |
| tautech:
--- Quote from: HendriXML on February 04, 2019, 09:22:42 pm ---Hi, Before the Siglent I used an entry level Pico scoop, and one thing I liked was the ease of making good looking screenshots. Sometimes it is just nicer to have a white background and darker traces. I know the Siglent can sort of invert too, but then the traces become hard to see. --- End quote --- Well yes, but as they say there is more than one way to skin a cat. To use the features within the scope....and there are a few ;) .... first enter the Display menu and adjust Intensity and Graticule higher, especially Graticule for them to show up well in screenshots. Within the Save/Recall menu rather than just use the blue button Print, we can select various picture and data formats and with any of the picture formats any good image editor can scale them to suit your needs. A couple of quick examples using Save/Recall PNG and Invert, the first with default Intensity and Graticule settings and second with those both set to maximum. Further, there are additional features in the Webserver that I urge everyone to experiment with and a recent similar discussion with further info and a link to a Siglent video is here: https://www.eevblog.com/forum/testgear/siglent-sds-1104x-e-what-to-do-with-waveform-files/msg2175023/#new |
| HendriXML:
--- Quote from: tautech on February 04, 2019, 10:02:00 pm ---Well yes, but as they say there is more than one way to skin a cat. --- End quote --- While it is still acceptable, I wonder who of the Siglent developpers thought it was a good idea to use yellow on white... I will dive into the link. |
| HendriXML:
--- Quote from: tautech on February 04, 2019, 10:02:00 pm ---Within the Save/Recall menu rather than just use the blue button Print, we can select various picture and data formats and with any of the picture formats any good image editor can scale them to suit your needs. --- End quote --- When you scale (especially low res) bitmaps files they become blurry/unsharp. With SVG files text and lines don’t get pixelated. They also print very crisp. https://en.wikipedia.org/wiki/Scalable_Vector_Graphics I wonder if a fft spectrum graph can be created this way as well, that would be nice as well. |
| HendriXML:
I followed the link. What I did was read the “bin” data via VISA and parsed and converted it myself to XML. (The binary data is not hard to understand. Just a header and 8 bit samples.) No manual step required. The script runs in less than a second, and then Excel can be refreshed and the new graph is constructed. As said: via XML (user editable text file) also other parameters can be passed through as well. Like for example date time, scope settings, etc. These can then also be processed by Excel. So it provides lots of possibilities extra. |
| Navigation |
| Message Index |
| Next page |