Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change debug after tag creation. #39

Closed
kieranHay opened this issue Nov 27, 2016 · 3 comments
Closed

Change debug after tag creation. #39

kieranHay opened this issue Nov 27, 2016 · 3 comments
Assignees
Milestone

Comments

@kieranHay
Copy link

Not a issue or rather important.

At the moment the only way to change the debug open is to recreate the tag. It would be nice if there was a method plc_tag_set_debug within the API. It gives the ability to turn it on/off while the application using the API is running.

Thanks again!

@kyle-github
Copy link
Member

You can fake this by creating another tag while the first one is still around. The debug level is now "global" and it is set by the last tag created.

@kyle-github kyle-github added this to the 1.5.2 milestone Dec 18, 2016
@kyle-github kyle-github self-assigned this Dec 18, 2016
@kyle-github kyle-github modified the milestones: 1.6, 1.5.2 Jan 18, 2017
@kyle-github
Copy link
Member

Changing milestone to 1.6 as that is the next API update.

@kyle-github kyle-github modified the milestones: 1.5.4, 1.6 Mar 28, 2017
@kyle-github
Copy link
Member

This is now supported in version 1.5.4. It is not a new API function. Instead it uses special tags and the existing tag API to read and write the value in the library. This will be used in the future to allow for special tags for each protocol type and other uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants