I haven't seen any other posts on this but i could be mistaken. It would be helpful to include an enum of which event fired for "Value Change" or other events, especially for different data types. Currently you have to use the CtlRef to get the label or class ID to identify which datatype/control fired and then use a Variant to Data to convert the datatype correctly. Two ideas came to mind to simplify this operation. First, add an Event enum which consists of all the objects for that particular event. This enum could then be wired to a number of finite cases eliminating invalid datatype problems of using the label names which could change during development. Second, since labview always keeps track of old values for each control in an event structure, it could always give the ability to choose any old and/or new values for each control (shown below). Let me know what you think?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.