Products > Test Equipment
Open source lxi-tools and liblxi v1.0 released for GNU/Linux
crispus:
--- Quote from: lundmar on December 11, 2017, 02:44:39 pm ---@crispus, Please test latest git or snap and let us know if works or fails. Also, thank you for testing :-+
--- End quote ---
If you refer to https://github.com/lxi-tools/liblxi/commit/12017460e30654e6b10ac99e982bb0d534b9df5e , I tested yesterday and it doesn't seem to work.
I will check again this evening and post the results.
--- Quote from: lundmar on December 11, 2017, 02:44:39 pm ---Man, I wish I had more instruments so I could create a small lab with various instruments for regression and feature testing.
--- End quote ---
I mentioned that I have also MSO1104Z-S, DG4062 and DSA815-TG. And periodically I could run some regression tests.
lundmar:
--- Quote from: crispus on December 11, 2017, 03:04:33 pm ---
--- Quote from: lundmar on December 11, 2017, 02:44:39 pm ---@crispus, Please test latest git or snap and let us know if works or fails. Also, thank you for testing :-+
--- End quote ---
If you refer to https://github.com/lxi-tools/liblxi/commit/12017460e30654e6b10ac99e982bb0d534b9df5e , I tested yesterday and it doesn't seem to work.
I will check again this evening and post the results.
--- End quote ---
I appreciate the double check. Even I sometimes forget to install the library after updating it he he. Otherwise, the snap is readily available (revision #214 or newer).
--- Quote from: crispus on December 11, 2017, 03:04:33 pm ---
--- Quote from: lundmar on December 11, 2017, 02:44:39 pm ---Man, I wish I had more instruments so I could create a small lab with various instruments for regression and feature testing.
--- End quote ---
I mentioned that I have also MSO1104Z-S, DG4062 and DSA815-TG. And periodically I could run some regression tests.
--- End quote ---
If you can confirm/test that your DG4062 and MSO1104Z-S works with discover+scpi+screenshot then I would like to add them to the list of tested instruments. The DSA-815 is already in the list. Thanks.
Regarding regression testing, I might reach out to you if I feel that some testing is needed before a release that includes significant changes.
crispus:
Still doesn't work (neither with snap --edge, nor from source files)
Same error (the following output is from snap):
--- Code: ---$ lxi
Usage: /snap/lxi-tools/220/bin/lxi [--version] [--help] <command> [<args>]
$ lxi screenshot -a 192.168.1.144 -
Loaded rigol-dm3000 screenshot plugin
Error: Read error (timeout)
Error: Failed to receive message
--- End code ---
Discover && screnshots works from other instruments:
--- Code: --- $ lxi discover --timeout 1
Searching for LXI devices - please wait...
Broadcasting on interface lo
Broadcasting on interface eth0
Found "Rigol Technologies,DG4062,DG4xxx,00.01.12" on address 192.168.1.67
Found "RIGOL TECHNOLOGIES,MSO1104Z,DS1xxxx,00.04.04.SP3" on address 192.168.1.149
Found "Rigol Technologies,DM3058,DM3xxx,01.01.00.02.02.00" on address 192.168.1.144
$ lxi screenshot -a 192.168.1.67 - | convert - fg.png
$ lxi screenshot -a 192.168.1.149 - | convert - osc.png
$ ll *.png
-rw-rw-r-- 1 user user 141799 dec 11 22:34 fg.png
-rw-rw-r-- 1 user user 20750 dec 11 22:34 osc.png
--- End code ---
Maybe it is useful to include in version name the git commits id (tools & lib) in order to be sure on what commit is the binary.
SCPI commands seems to work as well.
lundmar:
--- Quote from: crispus on December 11, 2017, 08:47:13 pm ---Still doesn't work (neither with snap --edge, nor from source files)
Same error (the following output is from snap):
--- Code: ---$ lxi
Usage: /snap/lxi-tools/220/bin/lxi [--version] [--help] <command> [<args>]
$ lxi screenshot -a 192.168.1.144 -
Loaded rigol-dm3000 screenshot plugin
Error: Read error (timeout)
Error: Failed to receive message
--- End code ---
--- End quote ---
Update 2: Your trace confirmed we get a timeout waiting for response to the screenshot capture command. Please try the following (requires latest because of a fix to interactive mode):
--- Code: ---$ lxi scpi --address <ip> --interactive
--- End code ---
And in interactive mode please enter the following:
--- Code: ---:disp:data?
:system:error?
--- End code ---
I'm not fully convinced that your DM firmware supports the first command so I expect you will see a system error message like e.g. '-113,"Undefined header; keyword cannot be found"'.
--- Quote from: crispus on December 11, 2017, 08:47:13 pm ---Discover && screnshots works from other instruments:
--- Code: --- $ lxi discover --timeout 1
Searching for LXI devices - please wait...
Broadcasting on interface lo
Broadcasting on interface eth0
Found "Rigol Technologies,DG4062,DG4xxx,00.01.12" on address 192.168.1.67
Found "RIGOL TECHNOLOGIES,MSO1104Z,DS1xxxx,00.04.04.SP3" on address 192.168.1.149
Found "Rigol Technologies,DM3058,DM3xxx,01.01.00.02.02.00" on address 192.168.1.144
$ lxi screenshot -a 192.168.1.67 - | convert - fg.png
$ lxi screenshot -a 192.168.1.149 - | convert - osc.png
$ ll *.png
-rw-rw-r-- 1 user user 141799 dec 11 22:34 fg.png
-rw-rw-r-- 1 user user 20750 dec 11 22:34 osc.png
--- End code ---
--- End quote ---
Thanks - I've added them to the list of tested instruments. Also, I've added you to the list of contributors.
--- Quote from: crispus on December 11, 2017, 08:47:13 pm ---Maybe it is useful to include in version name the git commits id (tools & lib) in order to be sure on what commit is the binary.
SCPI commands seems to work as well.
--- End quote ---
Yeah, I might add that.
crispus:
Yeah, you're right:
--- Code: ---$ lxi scpi -a 192.168.1.144 --interactive
Connected to 192.168.1.144
Entering interactive mode (ctrl-d to quit)
lxi> :disp:data?
Error: Read error (timeout)
Error: Failed to receive message
lxi> :system:error?
-113,"Undefined header; keyword cannot be found"
lxi> :system:error?
0,"No error"
lxi> :disp:data?
Error: Read error (timeout)
Error: Failed to receive message
lxi> :system:error?
-113,"Undefined header; keyword cannot be found"
lxi> ^C
--- End code ---
I can't see any screenshot related in the programming manual for DM3058
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version