
Originally Posted by
Ben S
Hi Simon,
The numbers Mastiff refers to are plugin instance numbers (he's using 10,11, and 12).
Instead of using fff6, substitute the plugin instance number.
Ah! -
BUT, when I create new instances for mediabridge they get created with numbers over 1000 and there doesn't seem to be any obvious sequence. Is there a magic function to take a host name and return the instance number?
On the issue of setting zones I found this in another thread with Mastiff (http://www.promixis.com/phpBB2/viewtopic.php?t=10197)

Originally Posted by
Ben S
Please try the following:
Code:
NetRemote.ExecuteAction(-10,2,255,'S MP.ZONE Stua',1);
The reason the first doesn't work is that the 2,255 command allows you to issue a MediaBridge protocol command directly. This protocol has been documented (though not revised recently), but is not (currently) available to the public. Let me talk to the guys about whether this information is okay to full release.
I tried that using the following code but it has no effect
Code:
function OnPanelLoad()
local device = NetRemote.GetVariable('NR.DeviceName');
if (device == 'JRMC1') then
if (GSPZone~="") then NetRemote.ExecuteAction(-10,2,255,'S MP.ZONE '..GSPZone,1) end
NetRemote.SetVariable( 'ZoneA', GSPZone );
else
if (remoteZone~="") then NetRemote.ExecuteAction(-10,2,255,'S MP.ZONE '..remoteZone,1) end
NetRemote.SetVariable( 'ZoneB', remoteZone );
end
end;
The SetVariable is so I can see that the fields have the value expected. The idea is to have two different (sets of) panels that display different information for two zones - just in case you were wondering!
Thanks
Simon