XEP_X4_configure_radar with the X4M300 radar

Discussion in 'Module Connector (MC)' started by jmcfadden, Oct 11, 2017.

  1. jmcfadden

    jmcfadden New Member

    I am running "XEP_X4_configure_radar" on a X4M300 with Matlab on a windows 10 OS. The software seems to load properly, but when the plot window pops up, it depicts a flat line rather than the data from the sensor. I have tried this several times, and occasionally the proper plot is shown. Any thoughts on this?
  2. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi jmcfadden,

    This situation happened on my computer once before, but other times are fine, I can not repeat it. I suggest you add some waiting time like below, this will help to make sure the connection is really built. Just try it, and let me know if this will help for your issue.
    % Create ModuleConnector object
    mc = ModuleConnector.ModuleConnector(COMPORT,0);
  3. jmcfadden

    jmcfadden New Member

    Thank you, that solved it. I really appreciate the help.
  4. Øystein Bjørndal

    Øystein Bjørndal New Member

    I believe I have seen a similar issue when interfacing with C++, the module occasionally outputs 0 in all range cells, no matter what the DAC settings are. Checking for an all zero frame and re-connecting; seems to be an alternative to the pause solution above.