| Products > Test Equipment |
| Open source lxi-tools and liblxi v1.0 released for GNU/Linux |
| << < (34/67) > >> |
| lundmar:
--- Quote from: ralphrmartin on January 10, 2018, 07:02:06 pm ---Good to know I haven't done something wrong. Will try again later, and report back. Thanks for the rapid responses! :) --- End quote --- The lxi-tools snap is now up to date. The snap build service is finally up and running again after they patched their build servers with Spectre/Meltdown fixes. |
| ralphrmartin:
Great! :-+ I now managed to snap refresh lxi-tools, and can confirm that the Keysight screenshot works as intended. :-+ The UI looks good too. Will it be possible to have multiple windows open, so you can send commands to more than one device at once? E.g. you might want to send frequency commands to an AWG, and measurement commands to a scope... |
| lundmar:
--- Quote from: ralphrmartin on January 12, 2018, 06:04:18 pm ---Great! :-+ I now managed to snap refresh lxi-tools, and can confirm that the Keysight screenshot works as intended. :-+ --- End quote --- Good - I've added it to the list of tested instruments. Thanks for testing :-+ --- Quote from: ralphrmartin on January 12, 2018, 06:04:18 pm ---The UI looks good too. Will it be possible to have multiple windows open, so you can send commands to more than one device at once? E.g. you might want to send frequency commands to an AWG, and measurement commands to a scope... --- End quote --- Well, yes and no. You can open multiple instances of the application and this way control multiple instruments through different windows. However, the tab views you see will only support one instrument at a time - namely the one selected. The feature you are describing is something that I hope to eventually support in a script feature which might become part of lxi-gui. Meaning, you will be able to use lxi-gui to build a script which contains various action items such as SCPI commands managing one or more instruments. Each action item will be written in Lua which is a simple, fast, and powerful scripting language. Lua will make it possible to create scripts looking like this (example): --- Code: ---inst0 = connect("vxi11://10.0.0.42") inst1 = connect("vxi11://192.168.0.21") scpi(inst0, ":source:frequency 10000") sleep(1000) voltage = scpi(inst1, ":measure:voltage:dc?") if (voltage < 10.5) then fail() end disconnect(inst1) disconnect(inst0) --- End code --- Or, a slightly different but object oriented variation of the same: --- Code: ---inst0 = connect("vxi11://10.0.0.42") inst1 = connect("vxi11://192.168.0.21") inst0.scpi(":source:frequency 10000") sleep(1000) voltage = inst1.scpi(":measure:voltage:dc?") if (voltage < 10.5) then fail() end disconnect(inst1) disconnect(inst0) --- End code --- Each section in this script can be a separate item in a graphical representation of the script. The script can be saved/loaded from the application and there will be "play", "pause", "stop" buttons. When you press play it will run the script and each action item will be marked red or green depending on if they fail or succeed. I think it will work quite nicely. Even though I don't have any plans to add an elaborate GUI for handling graphical scripting blocks I'm making it so it will be possible to add in the future. Ultimately, having Lua scripting support will make it possible to do some of the graphical programming that application such as BenchVue supports. |
| nctnico:
Lua support would be a great feature! :-+ |
| lundmar:
--- Quote from: nctnico on January 13, 2018, 03:27:09 pm ---Lua support would be a great feature! :-+ --- End quote --- I think so too. Of all the scripting languages Lua is quite beautiful/straightforward and it has all the basic language features that are required for logic control. It helps keep the script syntax simple. |
| Navigation |
| Message Index |
| Next page |
| Previous page |