I do not really know what you are doing.
One last resort solution is to store settings locally in TC, but they will first match after you have send a value to the device.
The power supply cab be set in low or high range bij 2 differnte command.
SSHIFTL
SSHIFTH.
But it can only go to low range if the set voltage is below 150V. In low range the maximum current can set 2x higher
So if i send the command SSHIFTL and the power supply is above 150V the power supply reject the command but i have no way of knowing this.
I want somehow to use So i was trying this.
#scpiCmd Range? txrx? (value?"SSHIFTH":"SSHIFTL")
Sending the comand SSHIFTH if value = 1 and together readback the answer? Is this even possible?
[/quote]
I do not know why your command do not work, it is supposed to, but Range? must be called with a parameter to get anything into value