Kevin Price
2004-07-08 16:03:08 UTC
If you right-click the tunnel you'll see a check mark next to the 'Use
Default if Unwired' option. This is the default behavior of output
tunnels from an Event structure. The partially filled-in appearance
further indicates that at least one of the event cases does not feed a
wire to the tunnel. Thus, your program <i>depends</i> on having
LabVIEW supply that default value implicitly.
You can test this by unchecking the option. The tunnel should
become white and your Run arrow should get greyed out because some
events don't supply a wired value to that tunnel.
The actual default value depends on the datatype, with 0 for
numerics, empty for strings/paths, False for booleans, etc. So your
default error cluster (as pictured) would be a False status boolean, a
0 code, and an empty string.
-Kevin P.
Default if Unwired' option. This is the default behavior of output
tunnels from an Event structure. The partially filled-in appearance
further indicates that at least one of the event cases does not feed a
wire to the tunnel. Thus, your program <i>depends</i> on having
LabVIEW supply that default value implicitly.
You can test this by unchecking the option. The tunnel should
become white and your Run arrow should get greyed out because some
events don't supply a wired value to that tunnel.
The actual default value depends on the datatype, with 0 for
numerics, empty for strings/paths, False for booleans, etc. So your
default error cluster (as pictured) would be a False status boolean, a
0 code, and an empty string.
-Kevin P.