Hi @Kees ,
Using the same logic from the example method above, you can do some of these custom error handlings based on the error codes returned. See below a list of the Main Error codes that the logic would use:
For the submerge depth change, you would need to feed it into your aspiration step as an array of variables, so I would recommend setting the default values outside of the retry loop.
Within the logic that sets the recovery based on error code, you can add the if statement for the Insufficient Liquid level error. Within that logic you can set the submerge depth to the retry depth for that channel.
You can use a different error handling based on the retry counter. Cancel is what my example uses, but if the loop = the total retry then you could go down the exclude route.
Using the following codes for recovery, you can build your own output file for Excluded wells.