sync#

Session.sync() None[source]#

Synchronize all connected devices.

Synchronization in this case means creating a defined state.

The following steps are performed:
  • Ensures that all set commands have been flushed to the device

  • Ensures that get and poll commands only return data which was recorded after the sync command. (ALL poll buffers are cleared!)

  • Blocks until all devices have cleared their busy flag.

Warning

The sync is performed for all devices connected to the DAQ server

Warning

This command is a blocking command that can take a substantial amount of time.

Raises:

RuntimeError – ZIAPIServerException: Timeout during sync of device

Return type:

None