MIT License - see the LICENSE.txt file in the source distribution.Ĭopyright (C) 2018 LORD Corporation. In the NI Example Folder window that pops up, search for MSCL to view example VIs. Select the Help menu, and choose the Find Examples. Navigate through that palette to see the examples and available SubVIs. The installation will add a LORD Sensing - MicroStrain sub-pallet to the standard Functions (block diagram) palette. Install this package using the JKI VI Package Manager. While this does not provide example code for all of the MSCL functionality, a full version of MSCL is included, and all of its features can be accessed via the. The provided SubVIs can be used to build applications that utilize both the simple and complex MSCL library features. The package contains example VIs that demonstrate the basic functionality of the MSCL library. This add-on has helper VIs for many common methods and properties provided by the MSCL library. Repeat these steps for all the controls and indicators that you will use to pass data to and from the calling VI.LabVIEW-MSCL is a VI package that provides an easy to implement LabVIEW interface to the.Click an open space on the front panel to deselect the control.If you need to unassign a terminal, right-click the terminal and select Disconnect this Terminal.You also can select the control or indicator first and then select the terminal.Note that the terminal color changes to that of the data type to which you have connected it.It is generally good programming practice to organize the inputs to a subVI on the left and the outputs on the right.Click the front panel control or indicator you want to assign to that terminal.Click a terminal of the connector pane.Assign (or re-assign) connection terminals to controls and indicators.The linked input/output will become highlighted on the front pane You can check the default configured connections by left-clicking on the colored boxed in the connection pane.Examine the connection terminals that are connected (if any).This tutorial will be useful for a beginner LabVIEW user or a user who is looking to capitalize on the modular design benefits of LabVIEW. Creating and editing subVIs is a process available in all LabVIEW development systems. In LabVIEW, you build a user interface, or front panel, with controls and. This lesson describes the front panel and the block diagram refer to Modular Programming (Section 2.1) for more information about the icon and the connector pane. In this tutorial, you will learn how to create a subVI, how to edit its icon display, and how to build and configure the connector pane. LabVIEW VIs contain three components-the front panel, the block diagram, and the icon and con-nector pane. You can also edit the icon of the subVI that is seen when it is on the block diagram to be an intuitive representation of what your function does. Unlike built-in LabVIEW function, when creating these VIs yourself, you must configure the a connector pane to set your VI’s inputs and outputs. SubVIs contain front panels and block diagrams which you specify when creating the subVI. Using modular programming helps you reduce duplication of efforts through code reuse, streamline and visually clean up code, manage changes to code, and debug the Block Diagram quickly. After you create a VI, you can use it on the Block Diagram of another LabVIEW program – this VI can now be referenced as a subVI. The power of NI LabVIEW software lies in the modular nature of the VI. A subVI is similar to a subroutine in text-based programming languages. Within LabVIEW, program modularity means creating smaller sections of code known as subVIs. Modularity, by definition, means to use modules or smaller parts for the overall objective.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |