Sending alarm events

I am developing a plugin for Milestone XProtect Management Application and the requirement is to generate an alarm for a camera.

I am referring the sample Library Event Generator (Analytics) which creates alarm from Smart Client. If I use the code of the sample for management application it’s not working, but if I use the same in smart client its working.

what’s the reason behind this?

Can’t we implement it in management application?

The intention was that Smart Client was for operating the VMS system and the Management Application was for configuring the VMS system. I guess on that note it was not thought a likely scenario to raise alarms from the Management Client environment.

If instead of submitting alarms you submit analytics events you can do it via the Event Server’s port 9090. See this document - http://download.milestonesys.com/MIPSDK/Samples/TriggerAlarmFromExternal-ConceptSolution.pdf

Thanks for the answer!