How Do I Enable Test Executive 5.1 To Prompt Me When Saving VIs in Which it Has Automatically Modified the Connector Pane?
Primary Software: LabVIEW Toolkits>>Test Executive
Primary Software Version: 5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem: Whenever I have a test VI that has an invalid connector pane, Test Executive will automatically modify the connector pane and save the VI. This causes VIs that are referencing this test VI to contain errors. How do I enable Test Executive to prompt me when saving a VI that it has modified?
Solution: Test Executive 5.1 now contains a feature that uses VI-server in order to specify a series of connector panes that are valid for test VIs, and callbacks, used within your sequence. For explanation purposes we will refer to the VIs that are called directly from the steps of a Test Executive Sequence as "Step VIs". Once the sequence is loaded into memory, there is a VI in the engine that validates the connector panes of all the Step VIs being called. This name of this VI is "Assign Connector Pane.vi" and is used to ensure that all of the STEP VIs have one of 4 possible types of connector panes. You can see what those types are by placing the following four VIs in the diagram of an empty VI and looking at their connector panes:
- Test VI - Input Buffer and Invoc Info.vi
- Test VI - Input Buffer Only.vi
- Test VI - Invoc Info Only.vi
- Test VI - Outputs Only.vi
As the names imply, the connector pane that is valid for each STEP VI depends upon the options that have been selected for that step in the Sequence Editor. This means that the VIs are going to be called by strictly-typed reference when you run the sequence. The Test Executive can run into problems when the STEP VIs do not have one of the above listed valid connector panes. If this is the case the Test Executive will attempt to modify the connector panes of the STEP VIs in which there are too many connections and it can determine that one of them needs to be removed. Remember that at this point the names are also checked, so if the connections do not exactly match one of the four defined types it will attempt to remove that connection from the connector pane. The Test Executive attempts to reassign the connector panes to all of the STEP VIs depending upon the preferences chosen in the Sequence Editor and then automatically save them with the changes. The problem with this is that all of the other VIs that reference your STEP VIs will now have broken connections since the connector pane for the STEP VIs will be saved with the new changes. Test Executive 5.1.1 alleviates this problem, by prompting you to save the modified VIs. Refer to the KnowledgeBase titled "Test Executive Test VIs: Connector Pane Issues" (linked below).
If the Test Executive cannot reassign the connector pane it will produce an error similar to:
Runtime error(s) - Call to step "<Name Of Step>" failed Property node (arg1) in Assign Connector Pane.vi » Call Test.vi » Run Step.vi » Test Executive.
This error means that the STEP VI either had a different type of data connected to the connector pane, or it had some other problems that the "Assign Connector Pane.vi" could not overcome in order to assign a connector pane. If this happens you will have to redesign your connection pane to use one of the four defined types, which might mean rebuilding the STEP VI.
Related Links: Knowledgebase 22TB3RV7: Upgrading to Test Executive 5.1.1
Knowledgebase 2AADD16F:
Test Executive Test VIs: Connector Pane Issues
Upgrade Advisor
Attachments:
Report Date: 03/16/1999
Last Updated: 10/31/2004
Document ID: 1JF8IUGX