BaseMultiTest (FB)ΒΆ
FUNCTION_BLOCK PUBLIC BaseMultiTest EXTENDS CBM.ETrigA
This FB is the base for the multi-test POUs and contains the additional inputs and outputs.
- InOut:
- Scope - Name - Type - Comment - Input - diTestCaseIndex- DINT- Index of the test case which will be executed. In combination with xGetTestInfo = TRUE you can fetch the following information about the multi-test POU: - name of the test case 
- categories 
- time-out for the test case 
 - If the test case index is -1 then you get the count of test cases in the multi-test POU. - xGetTestInfo- BOOL- If set to TRUE the outputs return the basic information about the test case. - Output - diTestCaseCount- DINT- If xGetTestInfo = TRUE and diTestCaseIndex = -1 then you get the count of test cases in the multi-test POU. - wsTestCaseName- WSTRING(Constants.WSTRING_LENGTH)- Name of the current test case - wsTestCaseCategories- WSTRING(Constants.WSTRING_LENGTH)- Test categories - diTestCaseTimeout- DINT- Timeout of the test case. In milliseconds. - wsInfo- WSTRING(Constants.WSTRING_LENGTH)- Info about the test case. It can contain the description of the test step if used by a test table with the necessary column. - eError- UT_ERROR- Error ID - wsError- WSTRING(Constants.WSTRING_LENGTH)- Error message - wsWarning- WSTRING(Constants.WSTRING_LENGTH)- Warning message - eFailureMode- Failure mode informs how to proceed after the test case failed. 
Methods:
Structure:
