Signin()
The signin() function is used to notify a device that a new sweep value or configuration context is active.
It is called whenever a module higher up in the sequencer changes its sweep value, allowing the device to update its internal state or prepare for new conditions before measurement continues.
Immediately after signin() is called, SweepMe! automatically calls reconfigure() for the same device.
This ensures that both functions work as a pair, where:
signin()handles the transition or preparation for a new context.
reconfigure()adapts the device configuration to the new parameters.
For more details on reconfigure(), see the reconfigure() page
Sequencer Example
Temperature - Eurotherm (Sweeps 10–50 °C)
└── Logger - Multimeter
└── SMU - Keithley 4200-SCS (Sweeps 1.0 – 2.0 V)
In this sequence:
The Temperature module is above the Logger, which is above the SMU.
When the Temperature sweep value changes, SweepMe! calls the signin() and reconfigure() functions of both the Logger and SMU drivers.
When the SMU sweeps, only the SMU’s own signin() and reconfigure() functions are called - not those of the higher modules.
This mechanism allows each module to react only to relevant changes in the experiment’s hierarchy.
Execution Order
Unlike most SweepMe! step functions (such as connect(), initialize(), start(), etc.), which are executed for all devices in sequence (e.g. all connect, then all initialize),
the signin() and reconfigure() pair is handled device-by-device.
The execution order is therefore:
- Device 1:
signin() - Device 1:
reconfigure() - Device 2:
signin() - Device 2:
reconfigure() - ...
This ensures that each device is fully updated and reconfigured before the next device begins its own signin phase.