Hi Axel,
as I thought, this was easy to solve for you
Thanks a lot, using the “==” and “!=” worked perfectly!
I initially wanted to use the reverse order, and by using “If selection != value then skip branch” this works now as intended.
Maybe one additional, unrelated question: When I set the current compliance via the form parameter in mA, and then try to put this in the SMU compliance by using {Form1_Forming_Compliance_mA}*1e-3 (to get it in Ampere), its giving me an error message:
Is this problem related to the Simulation-Diode-SMU? Because I tried it out this morning on a real SMU, and it worked without problems.
Here is the debug code:
Time: 12.11.2025 14:49:51
Message: Error in driver ‘SMU-Simulation_Diode’ in update_gui_parameters_with_fallback
Python Error:
Traceback (most recent call last):
File “MeasClasses.py”, line 1979, in _get_device_properties
File “pysweepme\EmptyDeviceClass.py”, line 300, in update_gui_parameters_with_fallback
File “C:\Users\max\AppData\Local\SweepMe!\SweepMe!_1.5.7\Devices\SMU-Simulation_Diode\main.py”, line 73, in get_GUIparameter
self.protection = float(parameter[“Compliance”])
ValueError: could not convert string to float: ‘1.0*1e-3’
------------------------------------------------------------
------------------------------------------------------------
Debug: 12.11.2025 14:49:51 Run stopped due to error
Best regards
Benjamin