06-02-2017 01:12 PM
I am playing around with creating a user event for the .NET MonthCalendar Control. I would like for the user event to fire when a user selects a day on the Month Calendar control, however, I cant seem to even see a list of user events when I select the Register for Events - User Events pick list.
Am I doing something incorrectly here? This is my first time using the User Events portion of LabVIEW (actually, I am looking to enhance one of my existing programs) and I'd figure I'd play in a VI first.
Solved! Go to Solution.
06-02-2017 02:33 PM
06-06-2017 02:42 PM
Another dumb question. How do I get the DateSelected to trigger an event in my Event Handler (or really, anywhere) so I can place the date into an indicator?
06-06-2017 03:01 PM
06-06-2017 03:39 PM
Ben - Thank you for the help. Learned something too!
05-06-2019 08:18 AM
Hi,
....could you kindly post the VIs converted to LV2015? Thanks in advance!!
07-22-2020 03:18 PM
how can i edit the code for the callback vi? it seems to be running even though it isnt
07-22-2020 05:40 PM - edited 07-22-2020 05:41 PM
Huh.... Seems to be a bug with .NET callback in LabVIEW. I had the same behavior, not being able to edit the callback VI after running the top level VI. This is from NI's own example located at "C:\Program Files (x86)\National Instruments\LabVIEW 201x\examples\Connectivity\Dot NET"
Before running "Passing Data to a .NET Event Callback.vi"
During execution.
After hitting stop, the callback VI is uneditable.
LV 2019 32 bit
07-22-2020 05:51 PM
The workaround is to call GC.collect, shown here: