From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Currently with LabVIEW Scripting you can very easily create an event structure and add new event cases to the event structure. Unfortunately, for some reason, you cannot programmatically configure the event case after it's created. I think there should be some way, via property nodes, invoke nodes etc, to accomplish this.
PS.. I would love to be wrong about this. If you know of how to do that, feel free to argue it in the comments and we'll get this closed as completed 😄
In my opinion this is one of the biggest holes in scripting. Many G-based scripting frameworks (Quick Drop Keyboard Shortcuts, JKI RCF, etc.) would greatly benefit from the implementation of this feature.
I wasn't going to Kudos this myself because I've never needed to do this kind of scripting, but when Darren tells me that Quick Drop can be improved *even more* by the addition of a feature, it gets my vote.
That's actually how it came up. I was trying to create a Quick Drop Shortcut that would create and populate an event structure with Value change events for every control on the front panel. Too bad that project will have to be tabled for a while 😞
I'm HUGELY in favor of adding new features to the Event Structure VI scripting capabilities. I was specifically looking for a way to read a list of Events Cases given a target event structure using VI Scripting property nodes. Until this is available, I'll have to figure out what my Plan B will be.
----- Juan Carlos Flores ArchonWest Technologies, Inc. http://www.archonwest.com
I'm seeing that this idea has been closed as Completed & Available in LabVIEW 2013, but I'm still not getting any property/method for the Frame Reference (Add/Duplicate) of the ES in LV 2014. It still points to the Diagram. Could you clarify us what was fixed as part of this idea?