Project

General

Profile

Error using the WJ2 tool box MaskParameterCallback

Added by Radu Rotaru about 1 year ago

Hi,

I have installed the WJ2 toolbox for the ESP32 microcontroller and I noticed that I get this error every time I access a block from the block set libraries. This error prevents the model from building as well

Any ideas on how to solve this issue?


Replies (11)

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Parth Maheshwari (พาร์ท) about 1 year ago

Hello,

Thank you for reaching out.

Firstly, in your screenshot it shows that you have Waijung 23.1a installed. However, we released 23.2a. View

Did you download it from here?

After downloading/installing, did you change anything in the source files?

If your block still shows Waijung 2 version 23.1a, kindly download Waijung 2 version 23.2a, install as shown here, and activate your license as shown here

Thank you.

Sincere regards,
Parth

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Radu Rotaru about 1 year ago

Hi,

Thanks for your quick reply. I confirm that I have downloaded the 23.2a version from your website. I know the block shows 23.1 instead. I even tried the older version 22.12 and I have the same issue.
I have tried to download it on another machine, still the version 23.2a and I get the same error.

No, I have not changed anything in the source file. I have downloaded one of your .slx examples from the tutorial page on how to use the HTTP server, it might be the fact that that .slx was created with the 23.1a version?

I am using Matlab R2022a.

Regards,

Radu

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Radu Rotaru about 1 year ago

I reinstalled everything this morning


Still, in the device configuration block, it shows the previous version:

I have checked and this issue is consistent with the older WJ2 version 22.12a, it shows 22.11a in the device configuration block set.

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Parth Maheshwari (พาร์ท) about 1 year ago

Hello,

We are taking a look and will update you as soon as we can.

Sincere regards,
Parth

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Parth Maheshwari (พาร์ท) about 1 year ago

Just to confirm, when you did a fresh download of version 23.2a from our website on both machines, are you still getting the popup error when you try to access any Waijung 2 block?

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Parth Maheshwari (พาร์ท) about 1 year ago

If you are still unable to build, kindly schedule a call with us as per your convenience. We will then look and debug the issue in real-time.

Sincere regards,
Parth

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Radu Rotaru about 1 year ago

Hi,

Thank you for your support!
I think I found the issue here. After I installed the WJ2 toolbox I opened the http_server_demo_2.slx from your website which I assume was created with an older version and from that point it either cached that version and propagated it through all of the blocks used after or I don't know. I have reinstalled the toolbox and created an empty model and dragged the target block and it set to 23.2a, everything works fine now.

Regards,
Radu

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Parth Maheshwari (พาร์ท) about 1 year ago

Yes we were not worried about the 23.1a --> 23.2a as it doesn't affect performance of the blockset, but more concerned about the popup error you were getting when accessing blocks. Glad that all is resolved now.

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Radu Rotaru about 1 year ago

Oh, well, at least I thought it was sorted

I get this build error when trying to build. Anu ideas?

The call to esp32_make_rtw_hook, during the entry hook generated the following error:
system command error, Please restart matlab.

The build process will terminate as a result.

Caused by:
system command error, Please restart matlab.
Component:Simulink | Category:Block diagram error

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Parth Maheshwari (พาร์ท) about 1 year ago

Did this error go away after you restarted MATLAB and tried again? You can also try deleting the build files and trying again.

RE: Error using the WJ2 tool box MaskParameterCallback - Added by Radu Rotaru about 1 year ago

Hi,

The error is very very temperamental. Sometimes I have the issue sometimes I don't without changing anything. It does not go away by deleting the build files.

    (1-11/11)