Kinda noob here, can it control an Agilent L4411A meter thru usb or lan interface, i don't have the gpib interface .... for now
Not sure if it mimick an 34401a controls, searching all the docs i can find about this one ... (snatched a deal on Ebay)
and finally, do we have to install the Keysight i/o librairies even if you use an virtual box to run LXI-tool ??
Or someone compile it for 32-64 bit windows ??
Can the liblxi be used to develop LXI devices?
I know, that lxi tools was developed as a LXI host, to connect with LXI devices. But I thought, that liblxi contains all the functionality to support both the host side as well as the device side. So, would it be possible to expose ADCs/DACs on a Raspberry Pi (maybe from a HAT) as an LXI instrument, with the liblxi?
That would be very good, to one central LXI host and device code base.
Possible problem? Or my misunderstanding?
I installed lxi-tools 2.3 via snap, on debian testing, and I am getting the following error message when running lxi-gui:
Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkX11Toplevel': libEGL not available
I thought a snap was supposed to include all needed libs - or am I missing something?
Thanks. I did "snap refresh", and now I am getting a slightly different message:
Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkX11Popup': Failed to create EGL display
Using "snap refresh lxi-tools --stable" does not produce any such errors on launching; launching seems much slower.
@coromonadalix: Feel free to let me know if you get the Agilent L4411A working with lxi-tools. Then I can add it to our list of tested instruments. Thanks.
But lxi-gui starts regardless of these errors right?
I'm getting similar errors when I start lxi-gui from the edge channel. It is errors thrown from GTK4 - they seem to vary depending on GTK4 version used so I think it is ok to ignore them.
The difference of the snaps are that on the edge channel I'm using a new snap base image (core22). It should be faster to launch.
QUESTION : could it be ported to android as an app But i do think about an RASPI touchscreen version like an cpi-a070wr (raspi panel pc) who sit somewhere
I have an crazy idea to remotely control the meter / far away .... but controlled with an simple tool
Changes since lxi-tools v2.3:
Prefix all lua functions with lxi_
To avoid conflict with existing lua APIs.
The lxi-tools are available in the repositories (not the GUI LXI tool, the command line tool called 'lxi'). Used it a couple of days ago, installed from the Ubuntu repositories.
- To install it, from a terminal type 'sudo apt install lxi-tools'.
- To show the version, type 'lxi --version' (the one installed this week is v2.1)
- To take a screenshot, type 'lxi screenshot -a 192.168.1.4'. Replace 192.168.1.4 with the IP address of your instruments.
- To find more, type 'man lxi'.
lxi v1.21
I've built the flatpak a couple of times. Here are the steps for someone who wants to do it:
- Clone lundmar's flatpak repo, e.g. git clone https://github.com/lxi-tools/lxi-tools.flatpak
- Update the commit for lxi-gui in the file io.github.lxi-tools.yaml (at the end), so in this case 5ee36cdbeb52c021930cac811b63752855e9444e for the 2.4 release
- Pull in submodules to the git repo (git submodule init, git submodule update)
- To build and install, run: flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install
That's it. For more details, consult flatpak documentation for your own distro.
$ flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install
error: org.gnome.Sdk/x86_64/43 not installed
Failed to init: Unable to find sdk org.gnome.Sdk version 43
I got as far as the pulling in submodules step which completed successfully. However the build and install step does not work.Code: [Select]$ flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install
error: org.gnome.Sdk/x86_64/43 not installed
Failed to init: Unable to find sdk org.gnome.Sdk version 43
I cannot tell gnome which package I need to install - there are dozens of them! Google was not too helpful either. I am still trying to figure that out. I tried gnome-devel which installed dozens of packages on my system but didn't work. If anyone has any idea which one it needs, that would be appreciated.
sudo apt install gnome-platform-devel
sudo apt update
sudo apt install snapd
Code: [Select]$ flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install
error: org.gnome.Sdk/x86_64/43 not installed
Failed to init: Unable to find sdk org.gnome.Sdk version 43
I cannot tell gnome which package I need to install - there are dozens of them! Google was not too helpful either. I am still trying to figure that out. I tried gnome-devel which installed dozens of packages on my system but didn't work. If anyone has any idea which one it needs, that would be appreciated.
Ok so does this install it on my system or does Flatpack keep it separate? I am told its not a good idea to mix two different installers...
Code: [Select]lxi v1.21
...
Which Linux distro are you using?
a@b:~$ lxi --version
lxi v2.1
a@b:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
a@b:~$