This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR1642BOOST: GUI Customization

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: IWR1642

Hi

I am currently working with IWR1642 and implementing people counting application. Now after lot of trouble shooting the experiment is working fine. Now i want to make some changes in GUI and add some details. When I  try to modify the mainpplcount.m using MATLAB and have it as a standalone application I'm encountering a lot of errors. I am unable to edit any line of the code and generate a new GUI. Actually, I need to calculate the time spent by each person in every subzone. For that as an initial step, I was commenting those Bytes available,etc lines . But when I run that, the GUI is getting crashed.

  • Prabanj,

    You need to provide some details/snapshot of the errors you encountered. Make sure you have the correct Matlab version (mentioned in the user guide) installed.

    Regards
    -Nitin
  • Hi Prabanj,

    Are you still struggling with this error? If so, can you send screenshots and a description of the error?

    Thanks,
    Justin
  •  Hi,

    I was trying to calculate the waiting time of each person inside all the target boxes. So, to start with I thought of just displaying the no.of persons. For example, if there are 3 people inside the box, then in GUI below that box count, it should display as Person 1,Person 2, Person 3...So that in the future I can calculate and add the waiting time. For this I made some modifications in the code. Now the box count is also not getting updated and also most of the time, the stand-alone application crashes.

  • Hi Prabanj,

    As this is purely a challenge with Matlab programming, I suggest posting on the Matlab Forum.  If you are having issues getting the data out of the device or interpreting the data, E2E is the right forum.

    Regards,

    Justin

    https://www.mathworks.com/matlabcentral/answers/index

  • Hi Justin,

    Is there any extra libraries that TI has included in MATLAB while programming?

    Also when we run the MATLAB file we encountered with errors whereas when we generate a standalone application of the same program it is perfectly working?

    As you can see in the command window those set of errors are always displayed in-spite of the application working. We did not place a web camera along with it. Does it influence these errors or the working? 

    I find this problem more associated with E2E Community. Please guide us as we are struck here. 

  • Hi Prabanj,

    I agree that the above post is a relevant question for TI.

    1. TI has not included any extra libraries in Matlab.  However, we have only tested to ensure that the gui is compatible with Matlab 2017a.
    2. This error occurs because the webcam is not detected.  You can remove the code that activates the webcam to remove the error that Matlab is reporting. This will not affect performance of the GUI, however.  You can see the lab 0015 gui for an example of commenting out this code.

    Regards,

    Justin 

  • Hi Justin,

    I am working with Matlab 2017a. So I guess that is not the problem here.
    I tried removing that part of the code as well as connecting a webcam. In both ways Matlab is displaying the same error. I removed the code and it displayed the same error but it was working. When I connected the webcam, it got detected and when I enabled the webcam option in GUI and started to run, the GUI crashed.
  • Hi Prabanj,

    The gui for lab0015 is almost identical to the gui for lab0011, except that the webcam functionality has been removed, so there is no longer any error that appears when running the demo with this gui.  You will need to ensure that you use the configuration for the IWR1642 when using this gui.

    Regards,

    Justin

  • Hi Justin,

    Yeah I used the configuration for IWR1642 and removed the webcam functionality but still encountered the same error. I think the version of Industrial Toolbox matters here. In which version of Industrial Toolbox should lab0015 taken from?
  • Hi Prabanj,

    I have version 3.3.0. I do not receive errors due to the webcam in this version.

    Regards,
    Justin
  • Hi Justin,

    I'll try with mmWave Industrial Toolbox 3.3.0. Is the demo code for the following application available?

  • Hi Prabanj,

    We would expect the customer to use the information from the People Counting demo (or Indoor False Detection Mitigation) to make an application that works like the above. 

    The GUI has the option to add sub zones - this can be used to establish a line area and a waiting area.  Then you just need to add some logic to track the time spent of each customer.

    Regards,

    Justin