Usage
Thomas Hayes
Junior Member
Hello,
I'm just writting my first complete RMS code to interface with my present room code. I am about 80% complete and working to this point. I am however wondering about how to track the useage of a wireless microphone that may or may not be active regardless of the source selected. I also don't want to stop it's useage monitoring when another soucre is selected. Any ideas on the best way to proceed with this?
I'm just writting my first complete RMS code to interface with my present room code. I am about 80% complete and working to this point. I am however wondering about how to track the useage of a wireless microphone that may or may not be active regardless of the source selected. I also don't want to stop it's useage monitoring when another soucre is selected. Any ideas on the best way to proceed with this?
Comments
-
Might Help
Thomas,
As far as tracking sources, if the source is still on, you can keep it on. I built a wonderful for loop that has helped me with source tracking from room to room. So if you build your system that the mic is a different "room" if one instance of it is on, it will stay on. I know this is very different from your implementation, but keeping track of a source is possible when switching.
DEFINE_VARIABLE
volatile integer RMS_OFF_FLAG[Number_of_Rooms][Number_of_Sources]
S
H
I
DEFINE_PROGRAM
for(H=1;H<=number_of_rooms;H++)
{
for(S=1;S<=number_of_Sources;S++)
{
if(vSOURCE_TO_CONTROL[H]=S)
{
on[vdvSources_In_Use,S]
off [rms_off_flag[h]]
}
else
{
on[rms_off_flag[h]]
}
}
}
for(i=1;i<=Number_of_Sources;i++)
{
if(
(rms_off_flag [1]=1) and
(rms_off_flag[2]=1) and
(rms_off_flag[3]=1) and
(rms_off_flag[4]=1) and
(rms_off_flag[5]=1) and
(rms_off_flag[6]=1) and
(rms_off_flag[7]=1) and
(rms_off_flag[8]=1)
)
{off[vdvSources_In_Use,i]}
}
Then in RMS Main
DEFINE_EVENT
BUTTON_EVENT [vdvCLActions,nchCLSourceTrackerButtons]
{
PUSH:
{
DO_PUSH(vdvSources_In_Use,nchCLSourceTrackerPanelButtons[GET_LAST(nchCLSourceTrackerButtons)])
}
}
CHANNEL_EVENT [vdvSources_In_Use,nchCLSourceTrackerPanelButtons]
{
ON:
ON[vdvCLActions,nchCLSourceTrackerButtons[GET_LAST(nchCLSourceTrackerPanelButtons)]]
OFF:
OFF[vdvCLActions,nchCLSourceTrackerButtons[GET_LAST(nchCLSourceTrackerPanelButtons)]]
} -
Thanks for the idea, I'll give it a try later tonight and test it tomorrow.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums