i’m struggling with dynamic pins, yes…it has been done before but i miss some lines of comments in the template and most github code is doing a lot of special stuff. oh, and yes …i’m still on the c# learning curve.
what i have so far
- a IIOContainer spread of bools (pins will be bool)
- a config pin holding some json, containing the future pin names
- i have an event / method looking for the change of this config pin
what i don’t get is how to manage this IIOContainer spread safely hence adding, removing pins in no order, depending on what’s going on in the json. i can turn the json names into a list. but how to go from there ?
cheers
ps: especially things like
Func<int, IOAttribute> ioAttributeFactory) where T : class
are not understood…