National Instruments LabView Label Maker User Manual


 
Chapter 2 New Features in LabVIEW 5.1
LabVIEW 5.1 Addendum 2-14
©
National Instruments Corporation
3. Wire the Automation refnum from the container terminal or an
Automation function to the Create ActiveX Event Queue VI.
4. Place the Wait On ActiveX Event VI on the block diagram.
5. Wire the event queue to the Wait On ActiveX Event VI.
6. Dispose of the event queue using the Destroy ActiveX Event
Queue VI.
ActiveX Event Functions for Windows
You can use the other ActiveX Server Event functions to pass an event
queue from one task to another separate task. Figure 2-5 shows the ActiveX
event functions palette, which you access from the block diagram through
Functions»Communications»ActiveX»ActiveX Events.
Figure 2-5.
ActiveX Events Palette
For more detailed information about the ActiveX event functions see the
ActiveX Event Functions topic in the LabVIEW Online Reference.
Improvements to ActiveX Automation
The Automation Open function now includes the optional machine name
string input. Use machine name to specify on which computer you want to
open an Automation Server object. If you do not specify a machine name,
LabVIEW creates the object on the local machine. See the Open
Automation Refnum description in Chapter 51, ActiveX Automation
Functions, in the LabVIEW Function and VI Reference Manual.
Also, LabVIEW 5.1 supports enumerations in the ActiveX Invoke and
Property Nodes. When you right-click an Invoke Node or Property Node’s
terminal that is part of an enumeration or is a constant, you create a ring
with the available enumeration values. See Ring Enhancements, earlier in
this chapter, for more information.