When you call a VI as a sub-vi, all front panel objects become connectors on the sub-vi icon. You can then wire constants to the connectors. The individual connector values are not shared between sub-vis.
I'd suggest looking through the videos on
http://frcmastery.com