12-07-2012 02:46 AM
Hi to everyone,
it looks like LabVIEW 2012 RT doesn't support User Events anymore. VIs are not listed in the function palette and the LabVIEW help says that this is not supported. In LabVIEW 2010 everything seems to be fine.
What happened? We need this feature.
Thanks in advance.
Solved! Go to Solution.
12-07-2012 02:49 AM
Sorry, here is the correct version.
LabVIEW 12.0f3 (32bit)
12-07-2012 03:13 AM
Have you tried running existing code containing user event registration nodes on LV RT 2012? Does it work?
12-07-2012 03:39 AM
Hi,
we tried this and it works like a charme.
I have attached both versions (LabVIEW 2010 and LabVIEW 2012).
If you open existing code VIs are still executable and functionality is OK.
Sounds curios...
12-07-2012 03:49 AM
Well, there seems some confusion with the palettes and the documentation. I think that there went something wrong when deciding which functions are to be available on the palettes for LV 2012 and how they should be documented.
That this is not very consistent shows the fact that:
a) Event Structure itself is still available on RT palettes
b) Register for Event ist NOT available
c) Both elements have the following note in their help:
(Real-Time Module) You cannot use this structure in VIs that run on RT targets.
d) The Event Structure adds the following in the help right after it:
The following details apply when you use this object in an RT target VI.
Event structures on RT targets do not support events associated with user interface objects, such as VI panels or controls. For example, associating the Value Change event with a control does not work. RT targets support only user events.
This somehow does not make much sense.
For your question: With the updated VI, you should be able to copy and use the Register for Event node in your LV 2012 RT application development. Is that a good-enough workaround for you right now?
Norbert
12-07-2012 04:00 AM
Hi,
thank you very much. We will use this work-around, which is not much work if you know what to do. Developing a VI on My Computer and switching the execution target in left down edge also implements the correct block diagram objects as well as functionality.
This might be fixed in the next Hotfix-Patch because many users might by irritated by this behaviour?
Thank you
Tyler
12-10-2012 09:54 AM
Tyler,
thanks for pointing out the issue. It really seems to be a little mess up in the development environment.
I filed CAR #382460 for this.
Norbert