SetMsvCBValuesReq

This method enables the service: SetMSVCBValues. This method allows the client to write the values of an SV control block (MSV Control Block).
METHOD SetMsvCBValuesReq : BOOL
VAR_INPUT
ipMsvCB : I_AcsiCommonMulticastSampledValueControlBlockClass;
stSet : ST_ScsmMsvCBValuesSet;
hUser : PVOID;
ipSink : I_ScsmSetDataValuesCnfEventSink;
END_VAR
VAR_OUTPUT
nInvokeID: UDINT;
ipResult : I_AsyncServiceResultClass;
END_VARipMsvCB: Interface pointer of type I_AcsiCommonMulticastSampledValueControlBlockClass.
stSet: Structured variable of type ST_ScsmMsvCBValuesSet. This variable determines which MSVCB attribute values are to be written.
hUser: Optional user-defined parameter or pointer. Any value for this parameter can be transferred in the methods for service activation (XyzMethodReq). The value is then mirrored in the event handling routine for the service feedback.
ipSink: Interface pointer of type I_ScsmSetDataValuesCnfEventSink of an object with a user-defined implementation of the event handling routine: OnSetDataValuesCnf (service feedback). This parameter is optional and reserved for future use. The pointer value 0 defines the parameter as optional.
nInvokeID: Identifies the service activation. Each new service activation (XyzMethodReq) is numbered consecutively. A copy of this number is mirrored in the service feedback (OnXyzMethodCnf).
ipResult: Interface pointer of type: I_AsyncServiceResultClass This pointer can be used to query and monitor the status/progress and the result of the service execution.
Return parameter: Positive feedback (TRUE) if the service primitive was sent/started successfully, negative feedback (FALSE) on error.