What to do with the list_tags.c example program?

46 views
Skip to first unread message

Kyle

unread,
Dec 22, 2021, 5:13:08 PM12/22/21
to libplctag
The list_tags.c program is supposed to be an example of how to list tags so that you can build a better one.  However, it is both too complicated to be a good example and too limited to be a useful tool.  

Would it make more sense to get rid of the example and fold the functionality into tag_rw2 such that you could simply use @tags directly and @udt/xyz directly?   I could have a simple example that is more limited and simple like the other examples for tag and UDT listing.   And tag_rw2 would be a decent tool if you just wanted to list tags.

Extending list_tags.c to be better tool will make it more complicated and less useful as an example.  For instance there is no way to set a longer timeout without recompiling the code.   Yet on slower systems, it will time out with the current timeout value.

Does anyone have thoughts on this?

Best,
Kyle

Reply all
Reply to author
Forward
0 new messages