Site hosted by Angelfire.com: Build your free website today!

XNode Return Parameter - termSpecs

XNode Return Parameters

Summary:External Terminal Specifications
Located:
  • C:\Program Files\National Instruments\LabVIEW 7.1\Utility\XNodeSupport.llb\XTermSpec.ctl
  • Also returned from C:\Program Files\National Instruments\LabVIEW 7.1\Utility\XNodeSupport.llb\XTermSpec.vi
Type:An array of cluster typedefs; each containing a cluster bounds, a long flags, a string attrs, a long width, and an array of Images wImgs.
bounds:"These are the bounds of the external node. You should probably make the top-left corner (0, 0) since they are only used for size currently."
Cluster containing four longs: t, l, b, and r.
These bounds specify where on the item the terminal occupies when you wire to it. If these numbers exceed the range of the bounds of the item itself, then it probably only refers to the extent of the bounds of the item itself. It is unknown what happens if you specify terminals to overlap.
flags:This is a long that specifies the flags that determine the behavior of the terminal.
The terminals must be numbered (and thus the order in the array is irrelevant) as such: 0xn0000 where n is the number of the terminal, beginning with 1.
Other flags:
  • 1: enabled
  • 2: indicator (otherwise, control)
  • 4: ? (it is used, however)
  • 8: ?
  • 10: ?
  • 20: ?
  • 40: ?
  • 80: ?
  • 100: ?
  • 200: ?
  • 400: ?
  • 800: ?
  • 1000: ?
  • 2000: ?
  • 4000: ?
  • 8000: ?
  • n0000: nth terminal
Example: 0x10003 means terminal 1, enabled, is an indicator.
attrs:This element specifies what the data type of the terminal is. This uses the Type String (casted to a string). You can explicitly specify the type by generating it manually (see LabVIEW help at NI for specifications), or the easier way is to Flatten To String the datatype you wish, and then Typecast the "type string" to a string. This can change at any time.
width:Unknown, currently only have set to 0.
wImgs:Unknown, custom images for each terminal?

XNode Return Parameters