I recorded a period of data and get a file with the name of xethru_recording_meta.dat. I want to read the I/Q data from the file using MC in python. I find out I can use these codes: mc = ModuleConnector(player, log_level=0) xt_sensor = mc.get_x4m200() iq_data = xt_sensor.read_message_baseband_iq() to read the I/Q item one by one with the help of another loop function. After getting all items, the function read_message_baseband_iq(self) will just “block if queue is empty” according to your description. The whole program will just be blocked there and I cannot do further operations. I want to know if there is any method that I can use to know the total number of I/Q items? Or any other method in Python that I can use to read out all the I/Q data? Thanks!