PTMAP_get_point_info

This subroutine sends a request to Point Management for information about the point data type.

Syntax

int PTMAP_get_point_info (point_adr, data_type,
                          data_length, elements,
                          data_size, display_format,
                          retstat)
PTMAP_ADDR      *point_adr;
PTM_DATA_TYPE   *data_type;
PTM_DATA_LENGTH *data_length;
PTM_ELEMENTS    *elements;
COR_I4          *data_size;
CHAR            *display_format
COR_STATUS      *retstat;

Input Arguments

point_adr Pointer to the point.

Output Arguments

data_type Point data type.
data_length The length of the data type.
Elements Number of elements in point.
data_size Total data size.
display_format The configured display format from POINT.DAT.
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 .