In what condition CyU3PEventGet would return 5?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Ready
Level 2
Level 2
10 sign-ins 10 replies posted 5 sign-ins

Hello, recently I met a problem that  when I call CyU3PEventGet, it always return 5 (CY_U3P_ERROR_BAD_SIZE), instead of return 7 (CY_U3P_ERROR_NO_EVENTS).  Do you know which cases would trigger this?

 

Thanks in advance. 

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please confirm if the parameters passed to the API are proper. Please refer to the FX3 API Guide for more details.

Kindly confirm if the event is created  in application define function  and SET successfully before using CyU3PEventGet API

Regards,
Rashi

View solution in original post

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please confirm if the parameters passed to the API are proper. Please refer to the FX3 API Guide for more details.

Kindly confirm if the event is created  in application define function  and SET successfully before using CyU3PEventGet API

Regards,
Rashi
0 Likes