Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/30/2021 in all areas

  1. I can't give a solution for your specific problem, but .net callbacks are easy to understand: - Place the Register Event Callback node from the .NET palette into your VI - Wire the .NET class reference to the Event input (the third connector from top-left! not the first!) -> Now you can select an event from the drop-down box where all available Events are listed - Once you've selected your event, rightclick the VI Ref terminal and select Create Callback VI - Do whatever you want in the callback VI (like trigger a LabVIEW event) Now whenever the event is fired, your callback VI is called... Try it with a message window Hint: Wire some data to the User Parameter input of the Register Event Callback node and re-create the callback VI. This is how you could send a LabVIEW event refnum (or any type of data) into a callback VI. Hope that helps. Upload your VI if you need help for your specific solution. EDIT: Ehem, I hate to post links but: http://zone.ni.com/reference/en-XX/help/371361J-01/lvcomm/reg_event_callback/ https://decibel.ni.com/content/docs/DOC-9161
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.