Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

One Case Handling Multiple Notify Events

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

A single case in an Event structure can handle multiple notify events. However, if the events are not the same type, only the event data fields common to all events that the case handles appear on the left side of the case. If you handle multiple Value Change events for controls with different data types in the same case, the OldVal and NewVal event data fields return variant data.

If a single case in an Event structure handles multiple notify events for objects of different VI Server classes, the reference type is the common parent class of all objects. For example, if you configure a single case in the Event structure to handle events for a numeric control and a color ramp control, the type of the control reference of the event source is Numeric because the numeric and color ramp controls are in the Numeric class. If you register for the same event on both the VI and Control class, LabVIEW generates the VI event first.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit