Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Problems Loading LabVIEW Module in TestStand With a Custom Type-Def

Primary Software: TestStand
Primary Software Version: 4.2.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Development System

If I try to load a module developed in LabVIEW 2010 SP1 or earlier in TestStand, I receive the following load error:

The parameters specified by the step do not match the controls and indicators of the VI. Press this icon to reload the prototype, which maps the current arguments to the controls and indicators wired to the VI connector pane.

The error persists after selecting Reload VI Prototype. I have no problems opening the VI in LabVIEW and running it, and the error persists if I mass compile the VI or try to load a copy of the VI in TestStand. Why is this occurring and how can I prevent it?

This error can occur if boolean controls in the connector pane of the VI have invalid default values. This issue has been fixed in LabVIEW 2011. If you cannot upgrade to this version of LabVIEW, use one of the following workarounds:
  • Modify the inputs on the connector pane in the LabVIEW code module you are trying to load in TestStand. If you delete all of the booleans from the custom type definition in your LabVIEW module, recreate them, then save, TestStand should have no problems loading the module.
  • Ensure all boolean controls have a valid default value. To ensure this is the case, follow this procedure:
    1. Wire the boolean constant False to all the boolean controls. 
    2. Run the VI. 
    3. Wire the boolean constant True to all the boolean controls that should have a default value of true. 
    4. Run the VI. 
    5. Select Edit»Make Current Value Default 
    6. Save the VI. 

Related Links:
KnowledgeBase 5Z9CRFUB: Error -17313 When Calling a VI with a Cluster Parameter from TestStand
Developer Zone Tutorial: Best Practices for Code Module Development


Report Date: 07/21/2012
Last Updated: 07/23/2012
Document ID: 5ZKL5I2G

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit