DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem Scripts Naming Conventions

Is there any recommended naming convention for scripts? I am mainly asking about variable names eg. should I include type prefix?

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.
0 Kudos
Message 1 of 2
(2,310 Views)

The only things I can recall and that I would apply :

  1. function names in DIAdem tend to be something like ObjectAction(parameters). E.g ChnSmooth() which smoothes (action) a channel (object).
  2. the "o" at the beginning of objects. E.g "oMyGroup".

You can look at the examples which give a great overview of how you should write your scripts 🙂

 

Other than that you can still follow those interesting ones : http://www.csidata.com/custserv/onlinehelp/vbsdocs/vbs3.htm. But nothing is mandatory.

 

CLAMaxime -- Kudos are a great way to say thank you
Message 2 of 2
(2,295 Views)