In my apparent Quixotic attempt to 'fix' the ttsource/front panel issue I did find this interesting bit:
SCPI Commands are found within library:
libhtg1000.soused by:
test_cmd
afg_bin
[root@Hantek /dso/app]#./test_cmd
./test_cmd: error while loading shared libraries: libanolis-1.1.0.so: cannot open shared object file: No such file or directory
Argh.
Ok let try simlinking to the 0.0.0 lib available:
ln -s /dso/lib/libanolis.so.0.0.0 /dso/lib/libanolis-1.1.0.so
-------------------------------------------------------------------------------
./test_cmd
lib htg version:1.00.1.0
<7>dma0: s3c2410_dma_request:734: ls=0, cur= (null), (null) (null)
0
Usage: htg -cmd `scpi cmds`
0
Aha! it runs. Funny thing is that I hear relays clicking even when no command is specified.
-------------------------------------------------------------------------------
./test_cmd -cmd *IDN?
lib htg version:1.00.1.0
0
input is *IDN?
findCommand: cmd founded, *IDN?
hantek,HDG2002B,DDSxxxxxxx,result is 1
serial xxx'ed out-------------------------------------------------------------------------------
./test_cmd -cmd IDN?
lib htg version:1.00.1.0
<7>dma1: 00000002 to DMASKTRIG
0
input is IDN?
SCPI_Parse: undefined cmd
**ERROR: -113, "Undefined header"
result is 0
0
Purposedly skipped the * so its invalid.Interesting thing is that sometimes when turning a Output On/OFF I would get:
SQL error: database is lockedSeems the control's status is maintained via SQLlite.