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:

../../../_images/toolbox_templates.png

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.

../../../_images/cyclic_voltammetry_template.png
  1. Set variable start_value to 500 mV

  2. Set variable end_value to 1500 mV

  3. Set variable OCV to the result of an open circuit voltage determination

  4. Switch on at OCV in potentiostatic mode

  5. Ramp from OCV to start_value at a rate of 100 mV/s

  6. Perform a polarization at start_value

  7. Measure a cyclic voltammetry with start_value and end_value, 2 cycles and vertex values of 500 mV and -500 mV.

  8. Measure a polarization at end_value

  9. 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.

../../../_images/peis_template.png
  1. Set variable start_value to 500 mV

  2. Set variable OCV to the result of an open circuit voltage determination

  3. Switch on at OCV

  4. Ramp from OCV to start_value at a rate of 100 mV/s

  5. Measure a potentiostatic EIS at start_value with a 100 mV amplitude

  6. 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.

../../../_images/chronoamperometry_template.png
  1. Set variable start_value to 500 mV

  2. Set variable OCV to the result of an open circuit voltage determination

  3. Switch on at OCV

  4. Ramp from OCV to start_value at a rate of 100 mV/s

  5. Set a stability condition of 1 mA/s or at least 3 seconds

  6. Measure a polarization at start_value for a maximum of 5 seconds

  7. Switch off

CC-CV

This example demonstrates how to use stop conditions to create a combined constant current - constant voltage (CC-CV) charging experiment.

../../../_images/cc_cv_template.png
  1. Set variable charging_voltage to 4.13 V

  2. Set a stop condition for the range between 3.5 V and charging_voltage, to stop if the voltage goes outside this range

  3. Switch on in galvanostatic mode

  4. Measure a galvanostatic polarization at 1 A until the stop condition is met or 1800 s have passed

  5. Switch off and afterwards switch on in potentiostatic mode

  6. Set an additional stop condition for current below 50 mA

  7. Measure a potentiostatic polarization at charging_voltage until a stop condition is met or 1800 s have passed

  8. 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.

../../../_images/naming_combinations_template.png
  1. Set start_value to OCV

  2. Initialize a variable last_bias with start_value

  3. Switch on at start_value

  4. Create a for-each loop with the loop parameter bias that will iterate over the list [500m, 1.0, 1.5]

  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}”

  6. Measure ramp from last_bias to bias at 100 mV/s

  7. Measure potentiostatic polarization at bias for 10 s

  8. Measure cyclic voltammetry starting and ending at bias, with vertex values of +/- 500 mV from bias. The dataset name is “cv_at_bias_{bias}”

  9. Set last_bias to bias for the next iteration

  10. Iterate over all bias values in the list, then switch off