LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get another terminal to come out of a VI that was pre-programmed but I reprogrammed?

My son is on a FIRST robotics team and has asked me to try and find the answer to this question.  He's a beginner in Labview and I know ziltch so feel free to assume such when resoponding with requests for clarification if needed.

 

Thanks!

0 Kudos
Message 1 of 4
(2,896 Views)

Assigning Terminals to Controls and Indicators Dim hasPlayer, playerversion hasPlayer = false playerversion = 10 Do While playerversion > 0 On Error Resume Next hasPlayer = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & playerversion))) If hasPlayer = true Then Exit Do playerversion = playerversion - 1 Loop is_FlashVersion = playerversion is_Flash = hasPlayer From the LabVIEW help file you can use these steps.

 

 

Assigning Terminals to Controls and Indicators

After you select a pattern to use for the connector pane, you can assign a front panel control or indicator to each of the connector pane terminals. When you assign controls and indicators to the connector pane, place inputs on the left and outputs on the right to prevent complicated or confusing wiring patterns.

Complete the following steps to assign terminals to controls and indicators in a connector pane.

  1. Ensure that you have selected a pattern sufficient for the number of controls and indicators you want to assign to the connector pane.
  2. Right-click the VI icon in the upper right corner of the front panel window and select Show Connector from the shortcut menu to display the connector pane. The connector pane appears in place of the VI icon.
  3. Click a terminal of the connector pane. The tool automatically changes to the Wiring tool, and the terminal turns black.
Note  Although you use the Wiring tool to assign terminals on the connector pane to front panel controls and indicators, no wires are drawn between the connector pane and these controls and indicators.
  1. Click the front panel control or indicator you want to assign to the terminal. A marquee highlights the object.
  2. Click an open space in the front panel window. The marquee disappears, and the terminal changes to the data type color of the control to indicate that you connected the terminal.
Note  If the connector pane terminal turns white, a connection was not made. Repeat steps 3 through 5 until the connector pane terminal changes to the proper data type color.
  1. Repeat steps 3 through 5 for each control and indicator you want to assign to a terminal. If you need to change the control or indicator assigned to a terminal, you must first delete the connection and repeat steps 3 through 5 to assign another control or indicator to the terminal.
  2. If necessary, confirm each terminal connection.

If automatic tool selection is disabled, you can use the Wiring tool to select the control or indicator first and then select the terminal.

You can specify which terminals are required, recommended, and optional.

Tim
GHSP
0 Kudos
Message 2 of 4
(2,895 Views)

The above is what happens when you try to copy and paste directly from the LabVIEW Help file. Doesn't work all that well, especially with it copying the Javascript underlying the Flash player. And, all the links are bogus.

 

Here's a link to the page on NI's web site: Assigning Terminals to Controls and Indicators. It's the same operation for other LabVIEW versions.

 

Message 3 of 4
(2,870 Views)

Hi all,

 

Please remember that FIRST questions should be directed to the FIRST forums as ni.com/first.  Thanks.

Stephen Meserve
National Instruments
0 Kudos
Message 4 of 4
(2,844 Views)