ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making an Output Required

I want to make a sub VI output Required. This is apparently not an option. Am I missing something here?

(VI attached. Notice that this can't work as a sub VI without wiring the output terminal because LabVIEW will crash.)
0 Kudos
Message 1 of 8
(5,119 Views)
If LabVIEW crashes, we a more serious problem. Can you tell us your LabVIEW version and exact steps on how to recreate the crash?
 
What is your setting for automatic error handling?
0 Kudos
Message 2 of 8
(5,117 Views)
Erm, sorry, "LabVIEW crashes" is really not what I meant. (I was in a hurry... ironic in that it's making this take longer, eh?)

I get the "Error XXXX occurred at blah blah blah... Continue/Stop?" pop-up. Yeah, that's automatic error handling (not a "crash"), but I like automatic error handling. I don't want to turn it off. Thus, I need to make sure those terminals are always wired.

Should I try to dig up that "make a feature suggestion" page, or has this issue been covered already?
0 Kudos
Message 3 of 8
(5,111 Views)
A couple of people have managed to create a VI with required outputs. The 'secret' han not yet been revealed, but you can monitor the discussion on the LAVA forums... I would like to know how too...

(Even some NI folks would like to know how this was done, so it certainly sounds like a "suggestion page" candidate Smiley Happy
0 Kudos
Message 4 of 8
(5,103 Views)
I still don't see why the VI would crash if the output is not connected. Which VI are you talking about that needs a required output?


Message Edited by S G on 12-11-2007 01:20 PM
S G
Certified LabVIEW Architect, Certified TestStand Architect, Certified Professional Instructor
0 Kudos
Message 5 of 8
(5,086 Views)


S G wrote:
I still don't see why the VI would crash if the output is not connected. Which VI are you talking about that needs a required output?

Read further, he's not crashing, just bothered by the automatic error handling if the error output is not wired and an error occurs. 😉
 

 
0 Kudos
Message 6 of 8
(5,074 Views)


Phillip Brooks wrote:
A couple of people have managed to create a VI with required outputs. The 'secret' han not yet been revealed, but you can monitor the discussion on the LAVA forums... I would like to know how too...

(Even some NI folks would like to know how this was done, so it certainly sounds like a "suggestion page" candidate Smiley Happy


yea, i am still waiting on them to give it away. my patience is stretched Smiley Very Happy i would love to have this feature.
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 7 of 8
(5,056 Views)
Anyone know if there was any further development on this? The thread on the LAVA forums seemed to take a detour. I was playing around with this a while back using LabVIEW 7.1.1 and scripting, but got side-tracked by real work, and I never went back to it. This morning I decided to try doing it with a hex editor and was successful, though there's the odd side-effect that the Info window shows the correct display in terms of its wiring property, but when you right-click on the indicator it doesn't. And, yes, placing the subVI in a new VI causes the parent to indicate that you must wire to the output, as expected. That part is just "neat".
0 Kudos
Message 8 of 8
(4,945 Views)