NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

updating list of sequence prototypes

Hello, I know there is a way to update all the modules used in a sequence automatically without having to go into each error and reload it. What I am referring to is here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGeKCAW&l=en-US

 

 

I am trying to find a way to this but with a list of sequences called in my sequence. I need to update a list of sequence prototypes. Error in the analysis tool is the same. Code modules must have expected prototype.

 

I tried tools-> update sequences but this did not do anything

0 Kudos
Message 1 of 2
(50 Views)

odules must have expected prototype" error for individual code modules within a sequence. However, you're encountering a similar issue with sequence prototypes called within your main sequence, and "Update Sequences" isn't resolving it.

Here's a breakdown of the problem and how to address it:

Understanding the Problem

Code Modules vs. Sequence Prototypes:
Code modules are individual pieces of code (DLLs, VIs, etc.) that perform specific tasks.
Sequence prototypes are reusable sequences that you call from other sequences. They have their own inputs and outputs (parameters).
Prototype Mismatch:
When you modify the parameters (inputs/outputs) of a sequence prototype, the calling sequences need to be updated to reflect those changes. If they're not, you get the "Code modules must have expected prototype" error, but in this case, it refers to the sequence prototype's interface.
"Update Sequences" Limitation:
The "Update Sequences" tool in TestStand primarily focuses on updating code module references and some sequence call parameters, but it might not always automatically detect and update changes to sequence prototype interfaces, especially if the changes are complex.
Solutions

Message 2 of 2
(16 Views)