Owning Palette: VI Scripting VI and Functions
Requires: VI Scripting
This cluster provides a way to define the location input of the New VI Object function as an offset from another object. Refer to the New VI Object Location Argument example VI in the labview\examples\Application Control\VI Scripting\Creating Objects directory for a visual comparison of the three acceptable types of arguments for the location input.
You must initialize the Refnum element to a reference to a pre-existing object by using the Bundle or Bundle By Name function.
Add to the block diagram | Find on the palette |
Refnum is a reference to the object next to which you want the New VI Object function to place a new object. | |||||||||||||||||
Relative Direction is the direction relative to the object referenced by Refnum where you want the new object to be placed.
|
|||||||||||||||||
Point32 indicates the offset of the new object in the given direction from the referenced object.
|
The New VI Object Offset From Referenced Object cluster contains a reference to another object, an enumerated list of relative directions from that object, and a sub-cluster of offset coordinates. Together, the relative direction and offset specify where the New VI Object function places the new object in relation to the referenced object.
Refer to the New VI Object Location Argument VI in the labview\examples\Application Control\VI Scripting\Creating Objects directory for an example of using the New VI Object Offset From Referenced Object VI.