Monday, March 17, 2008

Tips for creating Sub VI

Everyone knows the method of creating the SubVI by using wiring tool & connector pane (click on control & click on necessary connector pane terminal).The easy & quickest method for creating the SubVI is,

Select the part of the code which one you like to create as a SubVI & go to Edit menu then select the option “Create SubVI”(See Picture 1) .Now the selected part of the code is automatically converted into a SubVI(See Picture 2).

Tuesday, March 11, 2008

Tips for insert the function in-between wiring

Inserting the function tool in-between wires is easily done by right click->Insert->select tool from function palette. For two input function (like Add,Subtract… ) insertion in-between wiring you have two options, if you like to insert the first terminal of the function on the wiring- Right click below the wiring and insert it or you like to insert the second terminal of the function on wiring- Right click above the wiring and insert it. (See Picture 1)

Sunday, March 9, 2008

Swapping the wire terminals (two input function)

If you have function of two inputs like Add, Multiply…etc , you can easily swap the input wire terminals without deleting the wires. For example you have connected x1,x2 as input terminals in Subtract function, the swapping of x2 into x1 and x1 into x2 is done by the following method,

Keep auto tool selection enable – move the mouse over subtract function input terminals and press control key you got a symbol like -8 just click it now you got swapped input terminals.

Thursday, March 6, 2008

Randomly mixing the array elements

There is no direct tool for mixing the array elements randomly in LabVIEW 7.1 & below versions .Use the following method for mixing the array elements (See Picture 1)