AnsweredAssumed Answered

Unable to load N6705B with .state file through Python

Question asked by amitra on Mar 20, 2015

I am able to set on a channel, set voltage and read it back through my Python code as below:

#Set voltage
power_manager.write("VOLTage 3,(@2)")
(16L, )

#Switch on channel
power_manager.write("OUTPut:STATe ON,(@2)")
(22L, )

#Read voltage back
print(power_manager.ask("MEAS:VOLT? (@2)"))

But, I am unable to find a SCPI command using which I should be able to load the power manager with a *.state file. The *.state file gets generated in the power manager once a configuration is saved. I want to load the .state file through my Python code and measure power for different such .state files.

Kindly help me in this regard.