Returns or sets a string used for setting the required value in a Ref2 Test.
Object.Ref2 [ = sRef2 ]
The Ref2 property syntax has the following parts:
Name |
Type |
Description |
Object |
ATest |
ATest control |
sRef2 |
BString |
The bit string used for comparison in the Ref2 Test. The string may contain 0, 1 or x representing that result bits should be 1, 0 or ignored. |
This Ref2 property value represents the expected result of the test and is compared against TestResult Variable value to determine if the test pass or failed. If x is specified for a certain bit, than that bit is not compared and skipped (similar to the Mask property). The property is set by the ATEasy run-time from the test properties window at the start of the test. You can override that value by setting this value setting the property value at run-time.
The following statement sets the string in this Ref2 Test to the required pattern for the output register of the device under test:
Test.Ref2 = "0101xx1011"