NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

What is TestStand "Ex Method"?

Solved!
Go to solution

From time to time I see that some methods in TS has "Ex" suffix in the name. For example "PostUIMessageEx" or "EvaluateEx". What does that "Ex" mean?

Michał Bieńkowski
CLA, CTA

Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
Message 1 of 3
(2,572 Views)
Solution
Accepted by topic author bienieck

My understanding is that it stands for extended.  They created the Ex functions so as not to break backwards compatibility with previous versions.  So basically they added functionality or changed the prototype but they wanted existing code to port over without breaking the code.  In all cases you should use the Ex functions.  The non-Ex functions are obsolete.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(2,543 Views)

Appending "Ex" to method names if the call itself is changed (data type, number of parameters, etc.) is common for ActiveX. As Jigg says correctly, it is done to not break backward compatibility.

You can find this approach also in the ActiveX interface from many Microsoft products like Office tools.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 3 of 3
(2,536 Views)