get ptz absolute postion in management client plugin.

I don’t have problem get PTZ absolute postion from component samples or event server plugin, however same code using in management client plugin can’t get PTZ absolute position sucessfully, could you help me on this? thanks. Below are code snippet.

var cf = new SiteIQWA_Milestone_SharedResources.CameraFinder();

Item _camera = cf.RetrieveMatchingMilestoneCamera(cameraGuid);

FQID fqid = _camera.FQID;

VideoOS.Platform.Messaging.Message mes = new VideoOS.Platform.Messaging.Message(MessageId.Control.PTZGetAbsoluteRequest);

mes.Data = new PTZGetAbsoluteRequestData();

System.Collections.ObjectModel.Collection objResult = EnvironmentManager.Instance.SendMessage(mes, fqid);

if (objResult.Count > 0)

{

PTZGetAbsoluteRequestData datRequestData = (PTZGetAbsoluteRequestData)objResult[0];

txtPan.Text = datRequestData.Pan.ToString();

txtTilt.Text = datRequestData.Tilt.ToString();

txtZoom.Text = datRequestData.Zoom.ToString();

}

I do not think this method is implemented or possible, even with the latest SDK version (MIP SDK 2014 SP3). I will verify on Monday and reply back to this thread.

Perhaps you could try and outline exactly what you want to achieve from this plugin, please ?