06-02-2017 02:31 PM
I think my title explains the situation decently, current subVI has local variable inputs, and I want to add another but have no idea how (and couldn't find anything concerning local variables with this). I can make a subVI with local variables, but I can't add any in.
Thanks
Solved! Go to Solution.
06-02-2017 02:48 PM
@GV_KawaiiDesu wrote:
I think my title explains the situation decently, current subVI has local variable inputs, and I want to add another but have no idea how (and couldn't find anything concerning local variables with this). I can make a subVI with local variables, but I can't add any in.
Thanks
I have been coding in LabVIEW since the last millennium and been answering questions about LabVIEW for the last 15 years and I can say without question that NO your title and body of your question does not tell me what you are trying to do.
Try rephrasing the question and include some sample code with comments and arrows etc. that illustrate what you are asking.
Ben
06-02-2017 03:19 PM
I'll give it a go Ben, The magic 8-Ball to the rescue.
I believe the OP selected some code on a largeish Block Diagram that contained a local variable or two then hit Edit, Create subvi. Now he has a subvi that contains local variables wired to his connector pane and wants to add a new input.
You need to:
Now you can wire your new input to the subvi
06-02-2017 03:28 PM
yes, this is what I was asking about, thank you!
Can this work if I want the new input to be a local variable from the original VI?
06-02-2017 03:34 PM - edited 06-02-2017 03:35 PM
Any wire of the correct data type can be wired to the new input.
You might want to look into some of the online getting started material
8-Ball calibration proven
06-02-2017 04:06 PM
I actually have it all figured out, just wasn't sure if this worked for local variables too (but it does), thanks!
06-02-2017 10:43 PM
@GV_KawaiiDesu wrote:
I actually have it all figured out, just wasn't sure if this worked for local variables too (but it does), thanks!
No, you don't have it all figured out. But, you are learning: