Suggestion for IO004 App

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

cross mob
User5581
Level 3
Level 3
Hi All,

I'd like to suggest an enhancement to the IO004 App:

It would be nice to be able to write code that can iterate over all the IO004 instances without having to hard reference all of the IO004_Handlexx symbols user source code. If IO004 or a similar app provided a const array of pointers to all the IO004 instances, that would be useful.

For now, I need to create and initialize such an array myself. This means if I add or subtract an IO004 App instance, I must remember
to edit the initialization of my array of pointers in my source code as well. It would be nice to have an DAVE3 app that encapsulates a collection of IO004 instances.

Thanks.
0 Likes
5 Replies
Not applicable
Hi Zoompig

I agree that referencing an App by it's handle is problematic when adding or removing instances.

I would like to be able to reference each instance by it's 'User label', for example the 'User label' of IO004 instance 3 could be "Fuel Pump".

Then I could change the following function call...

from

IO004_SetPin(IO004_Handle0);

to

IO004_SetPin(Fuel Pump);

Best regards
Aaron
0 Likes
Not applicable
Hi Aaron,

A new feature (eTicket 561007783) has been planned which fits your requirement.

Best regards,
Sophia
0 Likes
Not applicable
Hi Sophia,

Perfect. Thank you again.

Best regards
Aaron
0 Likes
Not applicable
Hi Sophia,

Could you give an update on this feature request please ? (eTicket 561007783)

Thank you very much
Aaron
0 Likes
Not applicable
Hi Aaron,

This feature will be available in the next DAVE major release.

Best regards,
Sophia
0 Likes