Products > Test Equipment
Open source lxi-tools and liblxi v1.0 released for GNU/Linux
<< < (22/67) > >>
lundmar:

--- Quote from: BloodyCactus on November 29, 2017, 01:13:24 am ---hmmm


--- Code: ---> /snap/bin/lxi --version
cannot change current working directory to the original directory: Permission denied

> sudo /snap/bin/lxi --version
cannot change current working directory to the original directory: Permission denied

> cd /tmp
> lxi --version
lxi v1.13

--- End code ---

oh, solved my own problem, posting here for posterity. You get the above error if you run it when your in an NFS mounted directory/path.

--- End quote ---

Oh, by the way. I don't know why I didn't think of this before but you can try install the snap with disabled confinement like so:


--- Code: ---snap install lxi-tools --classic

--- End code ---

Then of course rerun the snap alias command if you want to have it recognize the 'lxi' command.

Try it out - maybe that will solve your permission denied on NFS filesystems.
crispus:
Hi,

I have a couple of suggestions:
1. a parameter for discover - either the network adress, interface name, etc (when you have many interfaces it takes some time)
2. I'm not able to take a screenshot on DM3058:

--- Code: ---user@host: /s/l/out $ bin/lxi discover                   
Searching for LXI devices - please wait...

Broadcasting on interface lo
Broadcasting on interface eth0
  Found "Rigol Technologies,DM3058,DM3XXXX,01.01.00.02.02.00" on address 192.168.1.144

user@host: /s/l/out $ bin/lxi screenshot -a 192.168.1.144 screenshot
Loaded rigol-dm3000 screenshot plugin
<I can hear a beep on the multimeter>
<some time after>
Error: Read error (timeout)
Error: Failed to receive message
user@host: /s/l/out $

--- End code ---
I do have the latest version built from github.
lundmar:

--- Quote from: crispus on December 10, 2017, 04:25:16 pm ---Hi,

I have a couple of suggestions:
1. a parameter for discover - either the network adress, interface name, etc (when you have many interfaces it takes some time)

--- End quote ---

Perhaps I'll add an option for which interface to broadcast on. Something like:

--- Code: ---$ lxi discover --interface wlan0

--- End code ---
For now, to speed things up a bit, you can decrease the timeout. Usually '--timeout 1' is sufficient.


--- Quote from: crispus on December 10, 2017, 04:25:16 pm ---2. I'm not able to take a screenshot on DM3058:

--- Code: ---user@host: /s/l/out $ bin/lxi discover                   
Searching for LXI devices - please wait...

Broadcasting on interface lo
Broadcasting on interface eth0
  Found "Rigol Technologies,DM3058,DM3XXXX,01.01.00.02.02.00" on address 192.168.1.144

user@host: /s/l/out $ bin/lxi screenshot -a 192.168.1.144 screenshot
Loaded rigol-dm3000 screenshot plugin
<I can hear a beep on the multimeter>
<some time after>
Error: Read error (timeout)
Error: Failed to receive message
user@host: /s/l/out $

--- End code ---
I do have the latest version built from github.

--- End quote ---

Do you have the latest firmware from Rigol installed?

I believe that the screenshot plugin has been tested with a DM3068 by PeDre. Perhaps there is a subtle difference in how it retrieves the screenshot for the two models.
crispus:
I didn't (yet) upgrade the multimeter; it is as I received it (version 01.01.00.02.02.00)
I'll try to upgrade it and post the result.

The timeout workaround is good, now it takes 3 seconds instead of 10.
crispus:
If helps, I updated the firmware to the latest version and same error (timeout).
On MSO1104Z-S, DG4062 and DSA815 screenshot works with no problem.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod