PTMAP_send_sl

This subroutine sends all requests on a specified Shopping List request to the appropriate PTMRP. If a request is already outstanding or disabled, the request is ignored. New requests are now flagged as "outstanding." If no requests are sent, a warning is returned. PTMAP returns control to the application after the response or group of responses for the point have been received.

Syntax

int PTMAP_send_sl (sl_adr, retstat)

PTMAP_ADDR  *sl_adr;

COR_STATUS  *retstat;

Input Arguments

sl_adr

Identifier of Shopping List.

Output Arguments

Retstat

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

 

PTMAP_NO_REQ_SENT

 

PTMAP_REQ_NOT_FOUND

Return Value

The contents of retstat.status.

More information

Point Management API subroutines.