Logo nanonisDetail

Scripting tool

Script your own high-speed measurement sequences on the real-time system with the scripting tool QT SI 5

Custom 2D-sweep script
This script runs spectroscopy measurement on 2 axes at high speed with custom parameters
SQUID characterization script
This script ramps a voltage and monitors an input channel. As soon as the input signal is above a certain threshold it stops the ramping and writes the last voltage to file

When speed and precise timing matter, measurement routines just can’t be fast enough. With a time-deterministic approach and 50 μs time interval between commands, scripting significantly boosts execution speed and reduces measurement time.

The module is seamlessly integrated in standard measurement modules: Scripts can be easily called from other modules, and custom functions or pre-defined measurement can be started from within a script.

The scripting module is not intended as a replacement of the Nanonis Programming Interface, but as complementary module: It allows 100x faster execution speed while the Programming Interface offers more flexibility.

See below for some script examples.


  • Fast and precise: Up to 20’000 commands/s executed on the real-time system
  • Seamless integration with standard modules and programming interface
  • FOR-loops for repeated measurement loops
  • IF-commands for conditional execution and real-time feedback
  • Data acquisition options for customized measurements 

Script example: SQUID maximum current determination

The following script solves an issue typical for SQUID measurements where it is necessary to detect the maximum current at which the SQUID will have zero voltage across the device. But the script could also be used to detect any threshold.

The script increases the voltage (which is converted to currrent over a resistor or voltage controlled current source) on a user-selectable output and monitors an input channel. As soon as the signal at the input channel reaches a certain threshold, ramping of the output stops and the final output voltage value before the ramping stopped is stored.

This measurement is typically either slow, requires signal generators with complex triggering, or will run without feedback driving the SQUID in its non-superconducting state for longer periods of time with the risk of damaging the device. The very simple script shown below solves all these issues offering a very fast and safe method of determining the transition point.

The script consists of two FOR loops: The first one performs a set of voltage ramps to determine the voltage (and therefore current) corresponding to the transition point (100 ramps in the example). The second loop generates the measurement points within a voltage ramp. An IF condition in the second loop stops the loop if the signal at one of the inputs (input 5 in the example) is above a certain threshold (15 mV in the example), and then writes the last output value into a data buffer.

The module runs 20'000 commands per second, meaning that the complete sequence can be run in significantly less than a minute. 

Note that these are not the input commands of the scripting module, this is the script file generated by the module

IF("I_1;Input 5>1.500E-2)




Your web browser is deprecated
This could effect the presentation and some functions of our website.