-
Notifications
You must be signed in to change notification settings - Fork 63
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
Enabling gRPC Generic Event in Server Template #400
Comments
I don't have a lot of background context on this, but I'm not sure this feature was really ever fully implemented/tested. Either that or subsequent changes to the LV code broke it. From looking at the code, it appears that only one event type is active in the server code at a time. So you can either receive a single generic event notification for all RPCs or an event that is specific to each RPC but not both. By default, the server template is generated such that it enables the RPC specific user events. This can be seen by looking at the generated This generated VI calls All of these comments are made from code inspection. I haven't actually tested any of this. I suspect you can probably get this to work by applying what I described above. However, my take from looking at the code is that this was never a fully fleshed out feature. This, |
A generic user event was added to the template few years back (#29), so that users can have the option of getting a single event for all gRPC methods, like below:
This was quite handy for keeping the generated code and user code separate as well as allowing users to implement their own handlers/dispatchers.
Could someone please let me know how I can get this feature with the latest template?
AB#2963372
The text was updated successfully, but these errors were encountered: