RAW DATA FROM XETHRU X4M03

Discussion in 'General' started by Sruthy Skaria, Apr 10, 2019.

  1. Sruthy Skaria

    Sruthy Skaria New Member

    I downloaded the latest matlab example (with all the other examples in the updated folder) 'xt_modules_plot_record_playback_radar_raw_data_message.m' and I tried to run. However I am getting an error as shown below,

    Error using ModuleConnector.RadarInterface/xep_x4driver_get_downconversion (line 361)
    Call returns status=1

    Error in ModuleConnector.XEP/x4driver_get_downconversion (line 171)
    status = this.radarInterface.xep_x4driver_get_downconversion(this.x2_instance, itPtr );

    Error in disp_x4_settings (line 21)
    [downconversion, status] = xep.x4driver_get_downconversion;

    Error in xt_modules_plot_record_playback_radar_raw_data_message (line 131)
    disp_x4_settings(xep);


    Would you be able to advice me for the same.


    Many Thanks,

    Sruthy
     
  2. Hongjie Cui

    Hongjie Cui New Member

    Hi Sruthy, try running it while xetru explorer is openning
     
  3. Sruthy Skaria

    Sruthy Skaria New Member

    Hi Hongjie,

    Thank you so much. I will try that.

    I have another doubt. I tried to run XEP_X4_congifure_radar.m, it is woking some times, some times it says it cannot detect the COM port.

    But even some times it is working. So my question is how to the execution? That is once it starts running how can we stop it. I always had to press cntrl+c to abort the program. Is there any way we can stop the streaming after say 3 seconds?

    Please advice me for the same.

    Many Thanks,

    Sruthy
     
  4. Sigurd Pleym

    Sigurd Pleym New Member Staff Member

    to stop streaming set fps(0)
     
    Sruthy Skaria likes this.
  5. Hongjie Cui

    Hongjie Cui New Member

    Hi Sruthy,
    I have the same problem. It shows "nva_create_module_connector failed (COM4/libModuleConnector), verify COM-port and check the logs" and I never get any plot. This error happens all the time and I do verify the port, but it still doesn't work.
    If you have any ideas how to deal with it please advice me, thanks so much.

    Bests,
    Hongjie
     
  6. Sruthy Skaria

    Sruthy Skaria New Member

    Hi Hongjie,

    I was able to get raw data. but times it was unable to detect the com port, so I just disconnected and connected again and it worked.

    I am not sure if it is the right way. Please try that.

    Best Regards,
    Sruthy
     
  7. Sruthy Skaria

    Sruthy Skaria New Member

    Thanks Sigurd. It helped...!! much appreciated.
     
  8. abcd

    abcd New Member

    Hi,
    How to get raw data with matlab and what changes do i need to make? Can you explain step by step?
    Best regards
     
  9. Charlie Shao

    Charlie Shao Moderator Staff Member

  10. abcd

    abcd New Member

    Hi, i have used this example and include all files as it is demanded, but it report errors:

    Error using ModuleConnector.RadarInterface/xep_x4driver_get_downconversion (line 361)
    Call returns status=1

    Error in ModuleConnector.XEP/x4driver_get_downconversion (line 171)
    status = this.radarInterface.xep_x4driver_get_downconversion(this.x2_instance, itPtr );

    Error in disp_x4_settings (line 21)
    [downconversion, status] = xep.x4driver_get_downconversion;

    Error in xt_modules_plot_record_playback_radar_raw_data_message (line 132)
    disp_x4_settings(xep);

    Can you advise me how to solve errors. Best regards
     
  11. abcd

    abcd New Member

    Hi, i commented disp_x4_settings(xep); and it worked. Best regards
     
    Charlie Shao likes this.