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

Expose new libplctag APIs #17

Closed
timyhac opened this issue Jul 3, 2020 · 6 comments
Closed

Expose new libplctag APIs #17

timyhac opened this issue Jul 3, 2020 · 6 comments

Comments

@timyhac
Copy link
Collaborator

timyhac commented Jul 3, 2020

New APIs are available in the core dll. Expose these functions to end users.

@timyhac
Copy link
Collaborator Author

timyhac commented Jul 3, 2020

Started work on this - see https://github.com/libplctag/libplctag.NET/tree/new-API

@kyle-github
Copy link
Member

kyle-github commented Jul 3, 2020 via email

@timyhac
Copy link
Collaborator Author

timyhac commented Jul 4, 2020 via email

@timyhac
Copy link
Collaborator Author

timyhac commented Jul 4, 2020

Figured it out, you have to set a debug level in the attribute string. Seems like it works.

@kyle-github
Copy link
Member

Sorry, I must have missed this yesterday :-(

You can set a debug level in the attribute string or you can call plc_tag_set_debug_level(). Setting it to PLCTAG_DEBUG_INFO or PLCTAG_DEBUG_DETAIL will give you plenty of output. Do not use PLCTAG_DEBUG_SPEW unless you want to test your IO subsystem :-)

Best,
Kyle

@timyhac
Copy link
Collaborator Author

timyhac commented Jul 5, 2020

This is done as part of c61f68a

@timyhac timyhac closed this as completed Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants