05-09-2006 08:38 PM
05-10-2006 12:12 PM
Hi Melissa,
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?
05-10-2006 01:52 PM
05-11-2006 10:06 AM
Hi Melissa,
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"
05-11-2006 04:10 PM
05-12-2006 05:03 PM
Hi Melissa,
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
03-01-2016 09:02 AM
Hello,
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)
Thanks,
Elmar
03-01-2016 11:19 AM
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.