SYS_DATA_TYPE_STRING

Grupo

Valores de Operación

Tipo de dato

UINT

Nombre

Constante de sistema que representa un dato del tipo STRING

Puede usarse junto con GetDataTypeInfo para comparar el tipo de datos uiElementType de los resultados de la DUT DATA_TYPE_INFO_DUT.

Ejemplo
    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;

Modificado el: 27.09.2021Comentarios sobre esta páginaLínea directa de Panasonic