SYS_DATA_TYPE_TIME

Gruppo

Valori operativi

Tipo di dato

UINT

Nome

Costante di sistema che rappresenta il tipo di dati TIME

Utilizzabile insieme con GetDataTypeInfo per confrontare il tipo di dato uiElementType dei risultati della DUT DATA_TYPE_INFO_DUT.

Esempio
    if ( bEnable ) then
		
		adutDataTypeInfo := GetDataTypeInfo(dutVariable);
		
		for iIndex_i := 0 to Elem_OfArray1D(Array1D := adutDataTypeInfo) do 
			
			if (adutDataTypeInfo[iIndex_i].uiElementDataType = SYS_DATA_TYPE_TIME) then	
				bIsTimeMemberFound := TRUE; (* set flag for special handling of time data *)
			elsif (adutDataTypeInfo[iIndex_i].uiElementDataType = SYS_DATA_TYPE_INVALID) then
				exit; (* No more member data types *)
			end_if;
			
		end_for;
		
    end_if;

L'ultima revisione: 27.09.2021Feedback su questa paginaPanasonic hotline