Hi,
I’m trying to use the ApplyCamerasAndLayout method as mentioned in the documentation, but the videowall object returns null.
I used the following:
managementServer = new ManagementServer(EnvironmentManager.Instance.MasterSite);
VideoWall videoWall = managementServer.VideoWallFolder?.VideoWalls.FirstOrDefault();
MonitorFolder monitorsFolder = videoWall.MonitorFolder;
ICollection<Monitor> monitors = monitorsFolder.Monitors;
foreach (var monitor in monitors)
ServerTask applyCamerasAndLayouts = monitor.ApplyCamerasAndLayout(cameraPath, cameraGroupPath, 0, layoutPath);
What am I doing wrong?
In addition, I saw the following method in the documentation: ApplyCamerasAndLayoutServerTask
How can I use it? What is the difference between the 2?
Thanks!
Can you use the methods in the VideoWallController sample?
Hi @Bo Ellegård Andersen (Milestone Systems) ,
I checked the sample you mentioned, when I click on the “select layout” and “select monitor” buttons, the list returns blank (I can see the server name without any values - no layouts and no monitors), When I click on the “select cameras” I can see my list of cameras perfectly.
I there is something I need to change in the server configuration?
(I created a layout and I created 2 monitors and I can see the under the “smart wall” section in the server and in the smart client application).
Thanks
What is the version of the XProtect VMS?
VMS and MIP SDK must both be 2017R2 or newer to have the necessary support. http://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2017r2_intro.html&tree=tree_home.html
Hi @Bo Ellegård Andersen (Milestone Systems) ,
Thanks for the fast reply! The XProtect version is corporate 2016 and the SDK version is 2018R1. You believe that is the reason that I can see the monitors or layout using the samples?
Thanks!
Yes. To use the posibilties for Smart Wall control which was introduced in 2017R2 both server and MIP SDK needs to be 2017R2 or newer. An upgrade will be needed. I hope it is a consolation when I tell you that much have been improved since the 2016 versions.
Hi @Bo Ellegård Andersen (Milestone Systems) ,
My customer is not willing, at the moment, to upgrade the XProtect version. Is there a way to change the smart wall monitors layouts and attach a camera to the layout using the 2016 SDK? I can’t seems to find it in the documentation.
Thanks again!
Thanks @Bo Ellegård Andersen (Milestone Systems) !
I looked the option of using user-defined events to run rules. I’m wondering of there is a way to create user-defined events using the SDK? (in every version of the SDK).
The ability to add and manage user-defined events using the Configuration API was introduced in 2018R1 (XProtect and MIP SDK). So unfortunately this one also require a newer version.
http://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2018r1_intro.html&tree=tree_search.html?search=userdefined