Output activate/deactivate on Adam I/O not working through Messaging Protocols

Setting the Adam I/O outputs to activate or deactivate is not working from either of the messaging.

EnvironmentManager.Instance.PostMessage(new VideoOS.Platform.Messaging.Message(MessageId.Control.OutputActivate), outputList[i].FQID);
 EnvironmentManager.Instance.SendMessage(new VideoOS.Platform.Messaging.Message(MessageId.Control.OutputActivate), outputList[i].FQID);
 _messageCommunication.TransmitMessage(new VideoOS.Platform.Messaging.Message((MessageId.Control.OutputActivate)), outputList[i].FQID, null, null);

However TriggerCommand works fine by triggering the output by using SendMessage, but we are not able set to either activate or deactivate state.

How to set the output state as Activated or Deactivated programmatically?

The versions tested on are Xprotect Essential 2018 R1 and Xprotect Professional 2019 R1.

XProtect e-code VMSs have no concept of activate or deactivate an output, only triggering output will work in e-code. I guess this is one of the differences and improvements you see in the newer codebase when comparing e-code and c-code.

Activate and deactivate will not working in Professional, Essential or any other e-code VMS. You will notice the same if you use the built-in functionality instead of the MIP SDK.

Explanation of e-code and c-code: https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/vms_support.html&tree=tree_search.html?search=c-code

We have tested on Essential+ 2018 , Corporate and Professional+ 2019 (which is C-code) but it output activation/deactivation does not work. Is there something we are missing?

I have now tested with an XProtect Corporate and Adam 6060.

I used

EnvironmentManager.Instance.PostMessage(new VideoOS.Platform.Messaging.Message(VideoOS.Platform.Messaging.MessageId.Control.OutputActivate), _selectItem1.FQID);

and it works fine.

Does the output work when you activate it from within the Management Client?

Does the output work when you activate it from a rule in the rule system?

Yes, from the Management Client the output is getting activated and deactivated and also from rule system, But when we try to activate/deactivate using PostMessage, as you tested, in a plugin it’s not working in any of the environments. We are using 2018 MIP SDK(Corporate) and Adam 6060.

OK I tested a standalone application. Is this a Smart Client plugin?

We want it in Event Server plugin however we have tried it from Smart Client plugin, Event Server plugin and also Management Client plugin.

I used the Message Tester tool plugin sample, and as a result I reproduced your observation. I could not get the activate or deactivate commands to work from plugin. I wil now report this to Milestone Development. I will update here once we have found a solution..

OutputActivate and OutputDeactivate was implemented in standalone only, never in the plugin environments. Based on this case Milestone Development have now developed the new functionality in the plugin environments. OutputActivate and OutputDeactivate will be available in the plugin environments in version 2019R2 and going forward. Version 2019R2 is planned to release in June, there is no confirmed release date currently.

Thank you for your quick response.