Home AMX User Forum NetLinx Studio

Adding RMS Functionality

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?
Sign In or Register to comment.