All that needs to be done is to modify the SCPI strings so that a particular DMM can achieve proper configuration and readback. After that, calibration should be a breeze. Just need to copy the modified commands from TelnetTest into TelnetCal.
If you look at the output I listed as the test was run, you'll see that the 34461A readings appeared to be the commands that were being sent, like this...
ch1 DAC-V calibration
step 0, cal point: 0.2v, meas val: 34461A> 1
step 1, cal point: 0.5v, meas val: 34461A> *opc?
step 2, cal point: 1.2v, meas val: 34461A> 1
step 3, cal point: 2v, meas val: 34461A> *opc?
step 4, cal point: 3.2v, meas val: 34461A> *opc?
step 5, cal point: 4.1v, meas val: 34461A> *opc?
step 6, cal point: 5.2v, meas val: 34461A> :fetch?
Do you have any understanding on why that may be? I can issue the sequence of dmm commands in your code from telnet and see the expected responses so I believe there's an issue with the read/write buffers in Java or at least something fundamentally wrong with the sequence of data exchange.
Any ideas?.