- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, I run MATLAB code to collect data from BGT60TR13C and do analysis. The program was running fine until I keep it running for about 2 days, then it shows "IFX_ERROR_NO_DEVICE" error message. The error occurred again even I restarted my program. I can only run my program again after I unplugged and plugged the USB. It seems that my PC cannot find the USB after running for long.
May I know anyone face the similar problem, and any suggestion to solve it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @chengwc ,
Once you run the code in MATLAB, the device object is created and is present until you have a fresh start. So if the device is in connected state and you have run the code once, then the device object is already there. In that case, if you modify anything on the code and run it again, it's trying to create a new device object as it's part of the code. Thus, it gives an error because you're trying to create a new device object after modification when the previous one is already there. Hence, the solution for the same is to clear the device object before each run.
Hope this helps!
Best Regards,
Honey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @chengwc ,
It is very unusual scenario, did the sensor heat up or USB heat up?
You can refer to the documentation for MATLAB wrapper usage for detailed information: radar_sdk/doc/html/pg_rdk_matlab.html#sct_rdk_matlab_algo
Best Regards,
Honey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I found the problem happened when I read data by Dev.get_next_frame() in the while loop.
In my program, I did the following to setup Dev.
Dev = RadarDevice();
Dev.set_config(oDevConf);
Is there a way to check if Dev is available to get_next_frame() before I call it?
What I want to do is to skip getting next frame data if it is not the right to call Dev.get_next_frame()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @chengwc ,
Once you run the code in MATLAB, the device object is created and is present until you have a fresh start. So if the device is in connected state and you have run the code once, then the device object is already there. In that case, if you modify anything on the code and run it again, it's trying to create a new device object as it's part of the code. Thus, it gives an error because you're trying to create a new device object after modification when the previous one is already there. Hence, the solution for the same is to clear the device object before each run.
Hope this helps!
Best Regards,
Honey