Hi Matthias,
if you need controlled conditions, there is nothing wrong with using an SMU module to set V=0 (short circuit) or I=0 (open circuit) and acquiring dark current in that branch (i.e. nested, not afterwards).
However, even without that “apply-zero” module, SweepMe! sends an output off command to the SMU when it is not in the currently active branch.
Which versions of SweepMe! and the SMU driver are you using?
To investigate what’s happening you could test a minimal example like the following:

In the first branch (SMU1) a voltage of 1V is applied for a couple of seconds, and in the second branch (Hold) the SMU should have received the output off command (and thus switched “off”).
Best regards
Felix
Here’s the setting for copy & paste into the sequencer:
{
"child_items": [
{
"child_items": [
{
"child_items": [
{
"child_items": [],
"is_checked": true,
"is_expanded": true,
"module_details": {
"module_type": "SMU",
"Label": "SMU1",
"value": "",
"Device": "SMU-Keithley_2450",
"Channel": "",
"Port": "",
"SweepValue": "SweepEditor",
"SweepMode": "Voltage in V",
"RouteOut": "Front",
"4wire": false,
"Compliance": "0.0001",
"SkipCompliance": false,
"Speed": "Fast",
"Range": "Auto",
"RangeVoltage": "Auto",
"Average": "1",
"Parameters": {},
"Configuration": "",
"PostProcessingResistance": false,
"PostProcessingConductance": false,
"PostProcessingPower": false,
"ShowPulse": false,
"CheckPulse": false,
"PulseCount": "1",
"PulseOffLevel": "0",
"PulseOnTime": "200e-6",
"PulseOffTime": "200e-3",
"PulsePeriod": "1e-3",
"PulseDelay": "0.0",
"PulseMeasStart": 50,
"PulseMeasTime": 30,
"PulseRiseTime": "100e-9",
"PulseFallTime": "100e-9",
"PulseImpedance": "200e-3",
"SweepEditor": {
"sweeps": [
{
"loop": "1",
"start": "1.0",
"end": "1.0",
"step_points": "0.1",
"scaling": "Step width",
"hold": "5.0"
}
]
},
"ListSweepCheck": false,
"ListSweepType": "Sweep",
"ListSweepStart": "0.0",
"ListSweepEnd": "1.0",
"ListSweepStepPointsType": "Step width:",
"ListSweepStepPointsValue": "0.1",
"ListSweepDual": false,
"ListSweepCustomValues": "",
"ListSweepHoldtime": "0.1",
"ListSweepDelaytime": "0.1",
"Comment": ""
}
},
{
"child_items": [],
"is_checked": true,
"is_expanded": true,
"module_details": {
"module_type": "Hold",
"Label": "Hold",
"value": "5",
"Comment": ""
}
}
],
"is_checked": true,
"is_expanded": true,
"module_details": {
"module_type": "Loop",
"Label": "Loop",
"value": "4",
"Repetitions": "4",
"UseReduction": false,
"MaxPoints": 10000,
"Reduction": "Quadratic",
"KeepLastPoints": 10,
"Comment": ""
}
}
],
"is_checked": true,
"is_expanded": true,
"module_details": {
"module_type": "MakeFile",
"Label": "MakeFile",
"value": "ID",
"FileID": "ID",
"ShowAdvancedOptions": false,
"BranchIndex": true,
"FileIndex": true,
"ModuleLabels": true,
"Comment": ""
}
}
],
"data_type": "Sequencer",
"version": "v1",
"sweepme_version": "1.5.8.4"
}