Function Definitions; Rmscommon Callbacks; Rmsdevmonregistercallback; Rmsdevmonsetparamcallback - AMX RMS CODECRAFTER Instruction Manual

Hide thumbs Also See for RMS CODECRAFTER:
Table of Contents

Advertisement

Function Definitions

RMSCommon Callbacks

RMS CodeCrafter creates definitions for the following callback functions:

RMSDevMonRegisterCallBack

This function has the following signature:
(***************************************)
(* Call Name: RMSDevMonRegisterCallback*)
(* Function:
(* Param:
(* Return:
(* Note:
(***************************************)
DEFINE_FUNCTION RMSDevMonRegisterCallback()
{
}
Each monitored device and parameter not monitored with a support module will add several lines
of code within this function.

RMSDevMonSetParamCallBack

This function has the following signature:
(***************************************)
(* Call Name: RMSDevMonSetParamCallback*)
(* Function:
(* Param:
(* Return:
(* Note:
(***************************************)
DEFINE_FUNCTION RMSDevMonSetParamCallback(DEV dvDPS, CHAR cName[], CHAR
cValue[])
{
}
Each device parameter with Reset selected should have an entry in an ACTIVE/CASE statement.
Further, all parameters of the same device will be grouped in the same ACTIVE/CASE statement.
As in the following example:
SELECT
{
}
RMS CodeCrafter
time to register devices *)
None
None
Caller must define this
A comment containing the devices logical name
A call to RMSRegisterDevice()
A call to RMSRegisterDeviceNumberParam()
Reset parameters
DPS, Name, Value
None
Caller must define this
// Left Projector
ACTIVE (dvLProj == dvDPS):
{
IF ('Lamp Hours' == cName)
slLeftProjectorLampHours = ATOI(cValue)
}
*)
*)
*)
*)
*)
*)
*)
Code Generation
77

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RMS CODECRAFTER and is the answer not in the manual?

Questions and answers

Table of Contents