SYS_DATA_TYPE_DATE

Group

Operating values

Data type

UINT

Name

System constant representing data type DATE

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_DATE) then	
				bIsDateMemberFound := TRUE; (* set flag for special handling of date data *)
			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