How long time can it take before a LPR event is ready on the server?

I have made a component integration in order to search for LPR events on the Milestone server. I have a narrow time slot (5-15 seconds) where I need to search for a LPR event from a specific location.

I have observed a situation where I have requested all LPR events at 13:53:02 and 15 seconds back (13:52:47), but I got no LPR events back. But I can see in the XProtect client that there was a LPR event at 13:52:55 wich is within the timespan in my request.

So my assumption is that the LPR event at 13:52:55 was not ready in the server at 13:53:02 - is this possible?

How long latency can we expect in the Milestone server?

Here is the code that executes the request:

                var alarmClient = nummerpladeLaeserLoginProvider.Connection.GetAlarmClient(EnvironmentManager.Instance.MasterSite.ServerId);
                var events = alarmClient.GetEventLines(0, 5,
                    new EventFilter
                    {
                        Conditions = new[]
                        {
                            new Condition {Operator = Operator.Equals, Target = Target.Type, Value = "LPR Event"},
                            new Condition {Operator = Operator.Contains, Target = Target.SourceName, Value = kameraNavn},
                            new Condition {Operator = Operator.GreaterThan, Target = Target.Timestamp, Value = timeStamp.ToUniversalTime()}
                        }
                    });

When you can see the event in SC you will also be able to read it in your code.

It is possible to subscribe to NewEventsIndication (See this page - https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_messaging_1_1_message_id_1_1_server.html&tree=tree_search.html?search=neweventsindication ), this might be faster. See the Alarm and Event Viewer sample - https://doc.developer.milestonesys.com/html/index.html?base=samples/alarmviewer_sample.html&tree=tree_search.html?search=alarmeventviewer

!

For optimization of Milestone XProtect LPR, please consult the documentation or ask questions in the support community. (This is not related to software development with the MIP SDK, which is the focus of this forum. You should get better help from the partners using the support community.)

https://supportcommunity.milestonesys.com

This is a component integration question. I only used the Milestone XProtect klient to view if there was a LPR event.

“Might be faster” is a very loose term :slight_smile:

The subscription solution is not optimal for our use - we would have to save the information until we need it.

I have not gotten an answer to my question:

So my assumption is that the LPR event at 13:52:55 was not ready in the server at 13:53:02 - is this possible?

How long latency can we expect in the Milestone server?

Kind regards

Peter Frederiksen

The plate should detect.

The Analytics Event sent and received in the Event Server.

The analytics event committed to the SQL by Event Server.

We have no testing within Milestone what the typical timing on this is.