When you create a custom step type, you can right-click and select Properties. Within this window, you can modify what the description will show. For the VI that you are creating, where is the data coming from for that input parameter? Is it coming from a TestStand variable or another VI?
Try putting this expression in the description field. You will need to amend it to reflect your parameter name. My parameter was named ‘Log Text’. This expression checks to verify that the parameter has a value. If it does, the description is set to the VI Name + Parameter Name. Otherwise, it sets the description to be the Module Description. Let me know how this works.
PropertyExists("Step.TS.SData.ViCall.Parms[\"Log Text\"].ArgVal")? Step.TS.SData.ViCall.VIPath + "(" + Step.TS.SData.ViCall.Parms["Log Text"].ArgVal + ")": "%ModuleDescription"
You can add this expression to the other one to test for a
default value. You will not be able to
show what the default value is, since that is coming
I know that this Topic is very very old 🙂 But I think my question is similar to the starting question.
What is the best way to display all elements in an (no fixed size) array in my description?
(My first idea was something with "Step.TS.SData.ViCall.Parms["Data"].Elements.Item()". Within a For-Loop this is how I do it in a LabVIEW VI. But I don't know how to automatically get access to all elements in a TestStand expression)
You could theoretically create a recursive expression similar to what is described in this example: https://decibel.ni.com/content/docs/DOC-5826
However, recursive expressions like this are difficult to create and might not be easily understandable if another developer looks at the expression later. Another option would be to hard-code an expression that is capable of displaying a maximum number of possible elements in the description.