Level 1
Ready
Level 1
Aug 05, 2022
12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
1 Reply
Moderator

Moderator
Aug 05, 2022
01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Rashi