To display this Procedure Properties window, select a procedure in the Tree View. Right-click and select Properties from the context menu.
Enter a name following Identifier Naming Conventions.
Click on the pull-down menu to select from a list of data types.
If this procedure does not return a value, select the Void type.
For more information on the return type, see Declaring the Return Type.
Note: A procedure cannot return an array or structure data type.
The data types that you can enter by name include the form name, structure variable, enumerated variable, typedef variable, or COM class. In addition, you can apply the scope operator where applicable using the following syntax:
[Module.][Library.]Type
Where Module is an optional Program, System, or a Driver module name. Library is an optional library name; and Type is the name of the data type. Brackets denote an optional syntax component.
For example, you can enter System.Student.fixed as the data type.
Select or de-select the checkbox to toggle the Public state.
When a checkmark is visible, the procedure is public and may be available to other modules.
When the checkmark is not visible, the procedure is private. For more information on how public procedures are used, see How ATEasy Searches for Procedures.
If this flag is checked, then ATEasy will compile this procedure even if there exists no reference. This flag should be checked, for example, when the user specifies user defined command handler for a command.
In general, ATEasy will not compile if a procedure is not called by any other routines.
Available when project target is set to DLL. Checking this will add the procedure to the DLL export table so it can be called by applications using the DLL.
Used for multi-threading or Multiple UUTs with parallel run mode applications. When Synchronize is checked, it allows only one thread to execute the procedure with the specified (optional) Synchronize Resource Name, other threads executing tasks, tests or procedures with the same name will be suspended until the procedure is complete. The synchronize flag is used to protect shared resources such as instruments, shared variables from being accessed more than once at the same time. Internally, ATEasy run-time creates an AMutex object for synchronization. The Synchronize Name text box is only displayed if Synchronize is checked. Any series of characters/string can be used for the name.
Enter a comment that more fully describes the procedure. Click the Desc button to expand the Desc edit box. When you are finished entering the description, click the Desc button again to shrink the box.
The description can also be entered in the Procedure Description View.