Adding RMS Functionality
zerodev
Posts: 10
I am trying to add some RMS functionality to our systems, but it doesn't seem to work and I'm not sure why. Here are the snippets of code:
DEFINE_FUNCTION RMSSetCurrentInput(CHAR cValue[])
{
LOCAL_VAR CHAR bInit
if (acRMSCurrentSource <> cValue || bInit = FALSE)
RMSChangeStringParam(dvPanel1_1,'Source',RMS_PARAM_SET,cValue)
acRMSCurrentSource = cValue
bInit = TRUE
}
BUTTON_EVENT...
{...
RMSSetCurrentInput(sSource[nCurrentSource - INPUT_OFFSET].cDeviceName)
}
The parameter simply doesn't show up in RMS like the Lamp Hours do. Any ideas?
DEFINE_FUNCTION RMSSetCurrentInput(CHAR cValue[])
{
LOCAL_VAR CHAR bInit
if (acRMSCurrentSource <> cValue || bInit = FALSE)
RMSChangeStringParam(dvPanel1_1,'Source',RMS_PARAM_SET,cValue)
acRMSCurrentSource = cValue
bInit = TRUE
}
BUTTON_EVENT...
{...
RMSSetCurrentInput(sSource[nCurrentSource - INPUT_OFFSET].cDeviceName)
}
The parameter simply doesn't show up in RMS like the Lamp Hours do. Any ideas?
0