transmitters module

_BaseTransmitter

class pysmurf.core.transmitters._BaseTransmitter.BaseTransmitter(*args: Any, **kwargs: Any)[source]

SMuRF Data BaseTransmitter Python Wrapper.

_DataToFile

class pysmurf.core.transmitters._DataToFile.DataSlave(*args: Any, **kwargs: Any)[source]

A Rogue slave device, used receive a stream of data and write it to disk.

write_data(file_name)[source]

Method to write the data buffer to a text file. Writes the content of the data buffer (self._data) to the output file, one data point on each line as text.

Parameters

file_name (str) – Path to the output data file.

class pysmurf.core.transmitters._DataToFile.DataToFile(*args: Any, **kwargs: Any)[source]

Class to write data to a file

getDataChannel()[source]

Method called by streamConnect, streamTap and streamConnectBiDir to access slave. This is method is called to request the data channel.

getMetaChannel()[source]

Method called by streamConnect, streamTap and streamConnectBiDir to access slave. This is method is called to request the metadata channel.

class pysmurf.core.transmitters._DataToFile.MetaSlave(*args: Any, **kwargs: Any)[source]

A Rogue slave device, used to connect to the metadata channel.