Skip to content

Register Event Callback Node is not supported on non-Windows platforms #30

@logmanoriginal

Description

@logmanoriginal

After reviewing this topic several times over the past weeks, the issue is finally clear to me. Turns out, Register Event Callback Node is actually supposed to be used only for .NET and ActiveX events, even though it clearly also works for user events. Whether this is intended behavior I can't say but it is certainly undocumented...

Use this function to register .NET and ActiveX events only.
-- https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/register-event-callback.html

For the purpose of user events, Register For Events should be used.

This will require some refactoring to fix all calling sites. In the meantime, there will be a hotfix to disable callback refnums on non-Windows platforms.

Originally posted by @logmanoriginal in #23

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions