GET the total number of I/Q data

Discussion in 'Module Connector (MC)' started by Wang Bo, Dec 25, 2019.

  1. Wang Bo

    Wang Bo New Member

    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?
  2. wen shun

    wen shun New Member

    In matlab, it seems that there are programs that can display the raw, in the worksheet can be viewed. My question is that how the raw works.what does they mean?I am very confused