03-12-2019 06:24 AM
After importing my DLL LabView import wizard kindly created Vi-s for me, i specified which variables i want to be shared or not.
I also have the main vi where i use all my DLL functions as subvi-s
I manually added a variable in the subvi that i want to receive in the main vi (i want subvi to do some stuff apart from just containing my DLL function I/O)
I make it similar to my function output variables. But when i add this subvi to the main vi i still see the same amount of terminals on it.
How do i properly create a variable in subvi which i can access from my main vi? Am i doing something wrong? I thought i need to reconfigure the subvi to specify new variable accessibility, but i couldn't find a way to do it...
Thanks in advance!
PS I'm new to LabView and i don't know it that good yet, it takes time to find things i need because i don't know where they are...
Solved! Go to Solution.
03-12-2019 06:37 AM
Hi Kitt,
How do i properly create a variable in subvi which i can access from my main vi?
Are you talking about in/out values, connected in the ConnectorPane of your subVI?
(LabVIEW doesn't use "variables" in the sense of textual programming.)
Am i doing something wrong?
I don't know. You didn't attach any code…
03-12-2019 06:38 AM
Did you learn how to use the Connector Pane yet?
03-12-2019 06:45 AM
After importing my DLL LabView import wizard kindly created Vi-s for me, i specified which variables i want to be shared or not.
I also have the main vi where i use all my DLL functions as subvi-s
I manually added a variable in the subvi that i want to receive in the main vi (i want subvi to do some stuff apart from just containing my DLL function I/O)
I make it similar to my function output variables. But when i add this subvi to the main vi i still see the same amount of terminals on it. (My output var does not appear)
How do i properly create a variable in subvi which i can access from my main vi? Am i doing something wrong? I thought i need to reconfigure the subvi to specify new variable accessibility, but i couldn't find a way to do it...
Thanks in advance!
PS I'm new to LabView and i don't know it that good yet, it takes time to find things i need because i don't know where they are...
03-12-2019 06:52 AM
03-12-2019 07:22 AM
I'm sorry, Chrome bugged out, could not create the thread for some reason (please try again in a few minutes), maybe it created several threads or smth...
03-12-2019 07:52 AM
@GerdW wrote:Are you talking about in/out values, connected in the ConnectorPane of your subVI
Yes, exactly. Now i know how this thing is called at least so i can go and learn how to use it properly. Maybe you could tell me how to deal with my specific problem to save me some time?
Offtopic - Captcha makes me sick already. Cant reply to the message for the fifth time. "Error: verification failed"
Six. This website hates me.
03-12-2019 08:02 AM - edited 03-12-2019 08:03 AM
Hi Kitt,
Maybe you could tell me how to deal with my specific problem to save me some time?
Learn about using the connector pane.
It is explained in the LabVIEW help (there's a "basics"/"first steps" chapter) and in the Training section in the header of this LabVIEW board…
03-12-2019 08:06 AM