PTMAP_get_type

This subroutine gets the configured data type for the point from the POINT_TYPE configuration file.

Syntax

int PTMAP_get_type (point_adr, data_type, retstat)

PTMAP_ADDR      *point_adr;

PTM_DATA_TYPE   *data_type;

COR_STATUS      *retstat;

Input Arguments

Point_addr

A point ID created by a call to PTMAP_add_point.

Output Arguments

Data_type

The data type of the point ID.

Retstat

Pointer to status structure. The following errors may be returned (see Appendix A for an explanation of this code):

 

PTMAP_ADR_PTR_NULL

 

PTMAP_PT_ADR_NULL

 

PTMAP_PT_ADR_NOTF

 

PTMAP_SEQ_NUM_MISMATCH

Return Value

The contents of retstat.status.

More information

Point Management API subroutines.