LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-VI connections not shown

Hello,
I have 2 little problems:
1. I made a sub-VI, but when I import it into another VI, the connection-pins arent visable. What did I forget?
2. every time I re-open my VI, I lose parameters that I typed into a string. How can I arrange it, that I fe. store them in a local variable, and won't lose them when I shut down my PC.
0 Kudos
Message 1 of 5
(2,908 Views)
1. From the front panel of your subVI popup on the icon and select Show Connector. Then click on the connector panes and the controls/indicators to connect them. Save the subVI again.

2. To change the default values set the values as you wish them to be. Go to menu Operate >> Make Current Values Default. Save the VI. If you want to save values that a user entered at runtime, write the data to a file. When the program starts, read the file and use property nodes or local variables to set the controls/indicators to the saved values.

Lynn
0 Kudos
Message 2 of 5
(2,895 Views)
1. Did you define the pin connections in the connector pane of the sub vi?
2. Whenever you want to save an entry in a control, you must right click on the control and select Data Operations - Make Current Value Default. Save the vi. The next time you open it, the default value should be there.
- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 5
(2,894 Views)
Good Day Kuvak,

Hope this might help 😃

Regards,
Daniel
0 Kudos
Message 4 of 5
(2,871 Views)
I was on holiday so I`ll try this methods next Monday.
thanks a lot!
0 Kudos
Message 5 of 5
(2,846 Views)