View Single Post
  #4   Spotlight this post!  
Unread 12-01-2009, 21:35
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Adding Inputs or Outputs to existsing VIs

Regarding adding inputs and outputs - if you right click on the icon for the VI in the upper right corner (typical from the front panel), you can select "edit connections" (if memory serves) and select a different node map. Then you simply click a node and then click on the input/output on the front panel. Click node then input/output and repeat until you're wired up. It's very simple once you understand that EVERYTHING (almost) is available via right-clicking. When in doubt - right-click. You'll be amazed at what you'll find.

Case structures can be controlled by almost any data type. My favorite is to use an enumerated type and let the case structure automatically assign cases to each value. I know that, when using a fixed point number to determine case, you can use ".." to denote a range (for example, "1..5" to refer to any value between 1 and 5, inclusive). I don't believe that this works for floating point numbers and I'm not sure that you can do this with > or <. You can certainly, however, use the boolean operators and "in range?" function to determine TRUE/FALSE or enumerated values to drive your case structure's input.

Russ
Reply With Quote