iqm.station_control.client.serializers.task_serializers.serialize_sweep_task_request#
- serialize_sweep_task_request(sweep_definition, queue_name)#
Wrap sweep_definition and queue_name into a protobuf message and serialize into a bitstring.
- Parameters:
sweep_definition (SweepDefinition) – The content of the sweep.
queue_name (str) – Name of the destination queue.
- Returns:
SweepTaskRequest
encoded into a bitstring.- Return type: