SYS_DATA_TYPE_STRING

Group

Operating values

Data type

UINT

Name

System constant representing data type STRING

Can be used together with GetDataTypeInfo to compare the data type uiElementType of the results of the DUT DATA_TYPE_INFO_DUT.

Example
    if ( bEnable ) then
		
		adutDataTypeInfo := GetDataTypeInfo(dutVariable);
		
		for iIndex_i := 0 to Elem_OfArray1D(Array1D := adutDataTypeInfo) do 
			
			if (adutDataTypeInfo[iIndex_i].uiElementDataType = SYS_DATA_TYPE_STRING) then	
				bIsStringMemberFound := TRUE; (* set flag for special string handling - consider max string length! *)
			elsif (adutDataTypeInfo[iIndex_i].uiElementDataType = SYS_DATA_TYPE_INVALID) then
				exit; (* No more member data types *)
			end_if;
			
		end_for;
		
    end_if;

Modified on: 2021-03-30Feedback on this pagePanasonic hotline