[BUG]: Auto-generated TSP functions containing arguments with defaults require all optional arguments to be provided values if any are desired to be changed #285
Labels
bug
Something isn't working
Description of the bug
Hello,
I am trying to get the sample code
smu_2460_solar_panel_sweep.py
to work withoutfail_abort
restraint. Any idea how to turn offfail_abort
? I set it to0, '0', 'smu.OFF', 'False', False,
andinst.commands.smu.OFF
with no effect.The parameter calls for a
str
, but when I input a string, it just spits out:I changing the function to `sweeplinearstep()' and it shows the same error. When I put in 0 nothing changes. The sweep still stops when the smu hits compliance.
Steps To Reproduce
smu_2460_solar_panel_sweep.py
sweeplinear()
parameters and addfail_abort=inst.commands.smu.OFF
The text was updated successfully, but these errors were encountered: