NI TestStand Idea Exchange

About NI TestStand Idea Exchange

Do you have a feature idea for how to improve NI TestStand? Submit and vote on ideas now!

  1. Browse by label or search in the TestStand Idea Exchange to see if your idea has previously been submitted. If your idea exists sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea. Be sure to submit a separate post for each idea. Note: the TestStand Idea Exchange is not the appropriate forum to submit technical support questions.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see implemented!

The TestStand R&D team is committed to reviewing every idea submitted via the TestStand Idea Exchange. However, we cannot guarantee the implementation of any TestStand Idea Exchange submission until further documented.

Top Authors
cancel
Showing results for 
Search instead for 
Did you mean: 
RayFarmer

User Defined Expression Functions

Status: New
Wouldn't be nice to beable to define one's own set of Expression Functions. This seems to be the one area of TestStand that cannot be customised. eg. Locals.name = NameOf(Step), Locals.IsValid = DoSomethingNotDefinedByDefaultFunction(Locals.name),.....(carry on with expression) Regards Ray Farmer
Regards
Ray Farmer
6 Comments
asbo
Member
Where would you define these, though?
RayFarmer
Trusted Enthusiast

Defined in a similar way  custom step types are defiend. I see this as a way of using the code defined in a custom steps type but being able to use it in an expression.

 

It would be like having a custom step or a code module which has a pre-expression and post expression but it's all done in the Expression control.

Regards
Ray Farmer
EMR
Member
Member

I had to think about this one for a bit,  but on second-look I could see that as a great way of cleaning up some very ugly expressions I've encountered/written over the years... especially the sort people are obliged to make when tweaking the sequence view in an operator interface or the ModuleDescription within a custom steptype. 

 

It could be like definining mini VB scripts/ stored proceedures within TS... but with the potential to make use of the API / existing expressions.

 

 

Cheers,
Elaine R.
www.bloomy.com
j_dodek
Active Participant

Hi Ray

 

Good idea !

I would like to write my functions in C or C#  🙂

 

Regards

 

Juergen

--Signature--
NIWeek 2017: Standardized HIL Test Automation With TestStand
NIWeek 2016: Capturing ATE Requirements With Requirements Gateway

Feedback or kudos are welcome
Levic
Member

Hi,

 

I like this idea very much>

 

More less at the time you post it I also send it to NI as Product Suggestion, but so far no feedback.

 

Regards

Marek

BalazsNagy
Member

Kudos for the Idea!!

CLA, CLED