This routine is only applicable for points with an update criteria of either On Demand On Change or On Demand On Scan. This routine is called whenever the demand status for one of these points is changed. This lets you perform device specific actions for the specified point when its demand status changes.
You can find the template for this subroutine in:
void user_on_demand_response (address_struct, ptState,
Contains the new Demand State of the point.
A value of TRUE indicates that the point is going into demand.
A value of FALSE indicates that the point is no longer in demand.
Indicates whether the function successfully obtained all of the requested information. Valid values are:
Function completed successfully.
Function did not complete successfully.
Device Communications toolkit subroutines.