Measure()

From SweepMe! Wiki
Jump to navigation Jump to search

The measure() function in SweepMe! is used to trigger the acquisition of new data from an instrument. It is designed to initiate a measurement without waiting for the data to be ready. This non-blocking behavior allows multiple devices to be triggered in parallel, improving measurement efficiency.

Complementary Function - request_result()

The request_result() and read_result() functions work in conjunction with measure(). While measure() starts the measurement, request_result() is responsible for checking whether the data is ready, and read_result() retrieves it from the instrument. This separation ensures that SweepMe! can manage multiple measurement processes in parallel.

Driver Development

measure() is used only for modules that acquire some data such as SMU, Logger, or Temperature. It is not needed for Switch drivers that only set values.