Products > Test Equipment

Open source lxi-tools and liblxi v1.0 released for GNU/Linux

<< < (64/67) > >>

RoGeorge:
Happy New Year to you, too!   :D



I was ready to kindly ask for a new feature request:  Python support, only to discover today you already have this on github, wow!   :-+

Thank you very much for the new python module "lxi.py":  https://github.com/lxi-tools/python-liblxi

Since I didn't repair my damaged Ubuntu install yet, I'm still running on a FreeBSD pendrive, so I thought I'll test if lxi-tools can work in FreeBSD, too.  So far, good news:

- liblxi is already in the official binary repository of "FreeBSD 13.0-RELEASE-p4".  In FreeBSD, lxitools can now be installed online with:

--- Quote ---pkg install liblxi
--- End quote ---

- and it's WORKING in FreeBSD  :-+, tested it from Python, with "import lxi", and it could "*IDN?" my Rigol DS1054z.  Python support is a great feature, thank you!



(also made a pull request to python-liblxi, my first pull-request ever, so please don't whack me if I did something stupid there  ;D)

N0NB:

--- Quote from: lundmar on January 09, 2022, 02:08:59 am ---
That means you should be able to send "*IDN?" command to your instrument successfully using the SCPI interface.

Most of the SCPI 1999.0 commands must be used in some combination. Try send ":system:version?" like you see in the screenshots.

":version?" alone is not supported by the standards AFAIK.

--- End quote ---

I am not familiar at all with the SCPI commands, etc.  However, there does seem to be a bit working now as shown by this screenshot:



I was also able to capture this shot from the 'scope via the program:



tautech:

--- Quote from: N0NB on January 10, 2022, 06:43:28 pm ---I am not familiar at all with the SCPI commands, etc.  However, there does seem to be a bit working now as shown by this screenshot:

--- End quote ---
Yes I struggle with this stuff a bit too however we have someone here to thank for your SDS1202X-E definition to use with lundmar's cool program.
Here's the latest programming manual for your scope: 
https://int.siglent.com/u_file/document/SDS1000%20Series&SDS2000X&SDS2000X-E_ProgrammingGuide_PG01-E02D.pdf

However it does include commands for all the other Siglent models but also tables of command compatibility and responses.

lundmar:

--- Quote from: RoGeorge on January 10, 2022, 05:49:58 pm ---I was ready to kindly ask for a new feature request:  Python support, only to discover today you already have this on github, wow!   :-+

Thank you very much for the new python module "lxi.py":  https://github.com/lxi-tools/python-liblxi

--- End quote ---

Ha ha - yes, I forced myself to sit down and write the python bindings on request from a good engineer friend of mine to make it usable in his work environment. It is no secret that I am no fan of python (slow, horrible syntax) but it is what some people want, so here it finally is! :)

All I'm missing is to implement the discover feature for the bindings - I will eventually add that binding unless contributors beat me to it ;)


--- Quote ---- and it's WORKING in FreeBSD  :-+, tested it from Python, with "import lxi", and it could "*IDN?" my Rigol DS1054z.  Python support is a great feature, thank you!

--- End quote ---

You're welcome. Now that liblxi is available on most platforms, the python bindings should work on most systems.


--- Quote ---(also made a pull request to python-liblxi, my first pull-request ever, so please don't whack me if I did something stupid there  ;D)

--- End quote ---

Yes, I see it. Already merged. Thank you!

Perfect first github PR - keep em coming ;) 

lundmar:

--- Quote from: N0NB on January 10, 2022, 06:43:28 pm ---I am not familiar at all with the SCPI commands, etc.  However, there does seem to be a bit working now as shown by this screenshot:

--- End quote ---

Good :-+


--- Quote ---I was also able to capture this shot from the 'scope via the program:

--- End quote ---

Great, I just fixed the screenshot feature for people using the snap. It works fine on my local system but when built in the older snap environment it failed because some GTK image loaders failed to load. With the help of werwaswarum from Github, who reported the issue, we got it sorted out.

Now, we just need more testers and more equipment so we can broaden the lxi-tools instrument support.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod