LEGO Engineering

| | | | | | | |
How do you build your own VI with inputs?


22nd of April, 2010

(1 )
100% thumbs up 0% thumbs down


As an example program, here is a VI that receives sensor readings from a motor sensor:



The first step is to select only what you want to be in the VI. in this case, the user should be able to select which user containers were specified so user3 or user4 constants were not selected.

Then choose Edit -> create sub VI. This creates your own custom VI.

At this point, you can double-click on the VI just created and edit it and its default values.  When saving you can take this opportunity to create a VI library, which is a good idea if you are going to create multiple VIs and need to keep them organized.

It is possible to configure the default values. To see the block diagram for your VI, press Ctrl + e.





AG
ses

   :
   :
* :
* :
 


Home | About Us | Contact Us

© 2013 Center for Engineering Educational Outreach, Tufts University
© 2013 The LEGO Group. All rights reserved.