title: Get value of control refnum in one step in SubVI
body: <p>I'm trying to de-spaghetti a big UI by creating SubVIs that handle only the controls that are relevant, via control refnums.</p>
  
  <p>Now, when extracting the code from the main VI and re-wiring into the subVIs, things get clutter-y.</p>
  
  <p>To read/write these refnums, I have to do a two-step process. First add a terminal to get the control refnum value and then another to get the value of the control.</p>
  
  <p><a href="https://i.stack.imgur.com/TRyhZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TRyhZ.png" alt="get value from refnum"></a></p>
  
  <p>Wiring the refnums everywhere is not really an option as that will create more  spaghetti if there are more than two of them. (usually 4-10)</p>
  
  <p>Is there a better way? </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Guys, this is a low-level question about the picture above, not really a queston about large scale architecture / design patterns. I'm using QMH, classes,  et.al. where appropriate. </p>
  
  <p>I just feel there should be a way to get the typed value from a typed control ref in one step. It feels kind of common.</p>