How to have AlarmPreview ViewItem display and not initially play video.

I’m working with the AlarmPreview Sample. MipDocs say, “UserControl will be placed together with … CameraViewItem’s within the AlarmPreview ViewItem.”

WHAT I’M TRYING TO DO: Get A Reference to the AlarmPrview video, so that I can attempt to begin displaying the video in PAUSE mode. Is this possible? Thanks.

  1. TO CLARIFY MY ABOVE QUESTION: … “begin displaying the video” AND PAUSE IT RIGHT AWAY.
  2. ALSO: Assuming I’m also listening for incoming Alarms, how do I programmatically select/mark the latest Alarm in the Alarm List (need to know how to get a reference to the Alarm List) ? [OR] How can I create a new instance of AlarmList and place it anywhere I choose in my plugin?

While working on the above, I tried to set up “listening for alarms” and add line to dataGridOfAlarms. Having trouble referencing the dataGrid’s containing class from the BackgroundPlugin. Can you explain why VisualStudio allows one “EnvironmentManager.Instance” but does not allow the other??

I cannot explain. We might be able to investigate if you can supply a project where we can see and debug the issue. Would you like to upload a little project and have the developers at Milestone try it out?

I resolved this, (sorry I don’t recall how).

Thanks though.

No, it is not possible. You can add your own AlarmPreview ViewItem but cannot get hold of the other items that might run or present themselves.

PS. I am so sorry to see this post has been here so long without any reply. It was simply overlooked, sorry.