Templates & Examples
When creating a new custom experiment, you can leverage the pre-built templates provided in the Custom Experiment Builder to get started quickly. These carefully designed templates help you understand how to use the blocks effectively and serve as a foundation that can be easily modified to meet your specific experimental requirements.
Each template is also conveniently available as an example in the toolbox, as shown below:
The examples in the Methods category represent Zahner Lab experiments that have been built using visual blocks.
The examples below are explained in general terms. Comprehensive documentation that explains everything in detail is available for each block in the documentation or via the block context menu. The relevant documentation pages that go beyond connecting blocks are linked.
Cyclic Voltammetry
This example demonstrates how to create a cyclic voltammetry (CV) experiment using the Custom Experiment Builder, equivalent to the CV available in the standard GUI.
Set variable start_value to 500 mV
Set variable end_value to 1500 mV
Set variable OCV to the result of an open circuit voltage determination
Switch on at OCV in potentiostatic mode
Ramp from OCV to start_value at a rate of 100 mV/s
Perform a polarization at start_value
Measure a cyclic voltammetry with start_value and end_value, 2 cycles and vertex values of 500 mV and -500 mV.
Measure a polarization at end_value
Switch off
Potentiostatic EIS
This example demonstrates how to create a potentiostatic EIS experiment using the Custom Experiment Builder, equivalent to the Potentiostatic EIS available in the standard GUI.
Set variable start_value to 500 mV
Set variable OCV to the result of an open circuit voltage determination
Switch on at OCV
Ramp from OCV to start_value at a rate of 100 mV/s
Measure a potentiostatic EIS at start_value with a 100 mV amplitude
Switch off
Chronoamperometry
This example demonstrates how to create a chronoamperometry experiment using the Custom Experiment Builder, equivalent to the chronoamperometry available in the standard GUI.
Set variable start_value to 500 mV
Set variable OCV to the result of an open circuit voltage determination
Switch on at OCV
Ramp from OCV to start_value at a rate of 100 mV/s
Set a stability condition of 1 mA/s or at least 3 seconds
Measure a polarization at start_value for a maximum of 5 seconds
Switch off
CC-CV
This example demonstrates how to use stop conditions to create a combined constant current - constant voltage (CC-CV) charging experiment.
Set variable charging_voltage to 4.13 V
Set a stop condition for the range between 3.5 V and charging_voltage, to stop if the voltage goes outside this range
Switch on in galvanostatic mode
Measure a galvanostatic polarization at 1 A until the stop condition is met or 1800 s have passed
Switch off and afterwards switch on in potentiostatic mode
Set an additional stop condition for current below 50 mA
Measure a potentiostatic polarization at charging_voltage until a stop condition is met or 1800 s have passed
Switch off
Naming and Combination
This is a complex example that demonstrates how to combine multiple measurement primitives into a single dataset using dynamic naming.
Set start_value to OCV
Initialize a variable last_bias with start_value
Switch on at start_value
Create a for-each loop with the loop parameter bias that will iterate over the list [500m, 1.0, 1.5]
Create a dynamic dataset name for the ramp and settling polarization to the next bias voltage with the name “ramp_and_settling_to_bias_{bias}”
Measure ramp from last_bias to bias at 100 mV/s
Measure potentiostatic polarization at bias for 10 s
Measure cyclic voltammetry starting and ending at bias, with vertex values of +/- 500 mV from bias. The dataset name is “cv_at_bias_{bias}”
Set last_bias to bias for the next iteration
Iterate over all bias values in the list, then switch off