Calling an IO Table from a Test

An I/O Table is a type of ATEasy procedure. As such, they can be called directly from tests or procedures (if declared public). I/O Tables may also be called using Driver Commands as explained in the Commands chapter. There, you will be calling the I/O Tables you created in this chapter via driver commands. The examples below are provided for your information.

When using a procedure or any symbol that is defined in another module or test, you can either make an explicit call specifying the module the symbol belongs to or make an implicit call in which the module is not specified. In such cases, ATEasy will search the system and all configured drivers for the specified symbol.

The following example is for an implicit I/O Table call for the first I/O Table you have created.

SetFunctionVDC()

The next example is for an explicit call to the same I/O Table.

MyDMM.SetFunctionVDC()

The third example demonstrates an implicit call to an I/O Table with an argument (parameter). As you recall, this I/O Table uses the Parameter to Discrete String argument and "1" represents the VDC function.

SetFunction(1)

The fourth example demonstrates an explicit call to the Measure I/O Table with an argument TestResult.

MyDMM.Measure(TestResult)