NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter passing between TestStand and Labview

Solved!
Go to solution

Hi everyone,

 

I'm trying to pass a value from LabVIEW 8.5 to TestStand 4.0.  After reading some of the posts it appears I need to have terminals coming from the icon and that these can be editted in the 'connection pane'.

 

I've spent a considerable period of time looking for the 'connection pane' and found an unedittable instance in the class browser.  I've attached my simple VI below.  I want it to give me the opportunity to edit the output string value in TestStand when i load the module.

 

Does anyone know how I can place terminals on my VI?

 

TIA

Sean

0 Kudos
Message 1 of 3
(3,454 Views)
Solution
Accepted by topic author SeanMcM

Hi,

 

Try the LabVIEW User manual Chapter 7 Creating VIs and SubVIs and Building the Connector Pane in Chapter 7.

 

 

Also look at the demo sequence file Computer Motherboard Test Sequence.seq (the LabVIEW version) found in the TestStand examples folder.

 

Hope this helps you

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,453 Views)

Thanks Ray,

 

Don't know how I forgot it! Doh!

 

I found this as well if anyone gets stuck witht this....

 

Creating Connector Terminals for SubVIs in LabVIEW

Primary Software: LabVIEW Development Systems>>Full Development System
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>Professional Development System, LabVIEW Development Systems>>Base Package


Problem: I would like to use a previously created VI within another VI, but when I drop my subVI onto the block diagram of another VI, the input and output connectors aren't there. How do I create input and output connector terminals for a subVI?

Solution: Once you have finished creating a subVI, simply follow the steps below in order to set up its connector terminals:

  1. Open the subVI's front panel and right-click the subVI's icon in the upper-right portion of the window.
  2. Select "Show Connector", which will display the subVI's default connector pane. The connector pane shows you how the subVI's connector terminals will be positioned on the icon when the subVI is placed on another VI's block diagram.
  3. If you are satisfied with the pattern of the default connector pane, go to the next step, but if you would like to browse and choose other connector pane patterns, right-click the existing connector pane, select "Patterns", and then choose a different pattern to use.
  4. Next, you will need to associate the empty connector pane terminals with specific controls and indicators (inputs and outputs) on the front panel:

    1. Hold the cursor over the connector pane terminal that you would like to associate with a front panel object and left-click it (best programming practice dictates that you always try to keep inputs on the left side of the connector pane and outputs on the right).
    2. The connector pane terminal that you are operating on should now be filled black.
    3. Now hold your cursor over the control/indicator that you would like to associate with the blackened connector terminal and left-click it.
    4. The connector pane terminal that was filled black should now be filled with the color corresponding to the data type of the control/indicator with which you associated it, and this indicates that the connector terminal has now successfully been created.
    5. Repeat this process for all connector terminals that you wish to create.

  5. All connector terminals for the subVI should now be created and the subVI should be ready for use within other VIs!

This information, along with many other useful basic concepts, can be found in the LabVIEW Help under the heading, "Creating VIs and SubVIs". The LabVIEW Help can be asked from the Help menu located on LabVIEW's menu bar.

0 Kudos
Message 3 of 3
(3,450 Views)