@HKJ I'm making good progress on defining Owon Load devices. Along the way have found a bug (or doc typo?), and need a hint...
BUG/TyposIn the Configuration doc file, it says:
To check variable names, it is possible to use:
:enable: return1(displayVar(split(getVarList(1),"\n")));"
Instead of displayVar(), it is also possible to use printConsole() or printLog().
1) There's a spurious quote (") at the end of the example line.
2) If I change displayVar to printConsole or printLog -- I get a Java exception:
dk.hkj.script.ProgramExceptions$UnknownException: A array can not contain a value
return1(printLog(split(getVarList(1),"\n")))____<----____;
at dk.hkj.script.Script.expression(Script.java:1242)
at dk.hkj.devices.SetupFormats.calcEnable(SetupFormats.java:426)
at dk.hkj.devices.SetupFormats.enableItems(SetupFormats.java:411)
....
Hint NeededI've got a situation that's got to be pretty common:
In the Load settings are a variety of items that combine two values in a particular way:
* An enabling toggle (Example: Vstop ON/OFF)
* An associated value, that is disabled if the toggle is off (Example: nnn.nnn V)
In both the physical device and the PC software supplied by the mfg, this is a very simple UI/UX:
* The toggle clicks on/off, which highlights or grays out the value
* The value can be directly edited, which immediately modifies the value in the device as soon as you leave the field.

In TC, I'm hoping to put those together on a single, reasonably nice-looking line. I'm not particularly close...

* I'd love to shrink the On/Off button if possible
* The number input doesn't need a prompt. That's supplied by "Vstop".
* I don't know how to fit both onto a single line. (Seems maybe multi could do this but I don't see how -- these are two separate settings...)
AND... this makes a few
suggestions obvious. I realize these are likely "Round Tuit -- someday if ever" ideas

* Having a way to avoid the "Set" button would be awesome
* Having a way to enhance with more color would be great:
- Buttons with defined colors for foreground text and background (particularly nice for toggles)
- Defineable colors for data entry fields
* Related: I'd love to be able to combine info and indicator items all together on one status line
