Inicio / Soporte / User Forum / Settings - Actions / Possibility of 2 event counters (extracting counter variables)

Navigation



Possibility of 2 event counters (extracting counter variables)

You need to be logged in to get access to the forums. You can do so here.

Author Message

Ruben d'Hont

Posts: 0

Possibility of 2 event counters (extracting counter variables)

23 julio 2007 14:39:47

We have a M12D-Secure camera pointed on a road.
Standard it's possible to count the objects that passes a detection field (video motion 1, 2) through the event counter.
But is there any way to get 2 separated counters, for example 1 counter for video motion 1 and 1 counter for vm2? The idea is that we have 1 counter for the objects on the left side of the road, and another counter for the objects on the right side of the road.
It's not possible with the standard possibilities in the interface of the camera. But I was thinking there would be some way of getting the counter variables out of the camera. Maybe theres also a possibility to extract the counter variables from the events (VM, VM2, Periodic event, User click etc.) to a txt file if it's not possible to add extra counters to the camera?
Any help would be much appreciated.
Thanks in advance,
Ruben d'Hont

user815

Posts: 1

Log events to a Syslog server

05 enero 2008 18:47:25

You could log every event (including event types) to a Syslog server (http://en.wikipedia.org/wiki/Syslog ).

This server must accept TCP (!) messages (Standard: UDP port 514). (the free syslog daemon for windows "Kiwi" works very well: http://www.kiwisyslog.com/ ).

For logging events:

1.) Add a new IP Notify Profile:
- Destination Address: IPADDRESS:PORT (of your syslog server)
- Data Protocol: Raw TCP/IP
- Plain Text Message (example):

Camera $(ID.NAM), event $(FPR.ENO), types: $(EVT.EST.ACTIVATED).

(One line! The last variable is important)

2.) Use >Setup >Event Control >Messaging (or Messaging2) to activate a Messaging Profile. Select the events you want to log and select your new IP Notify Profile.

Now every event should send a message with its activated event types to the syslog server. In the log file of the server you should see single lines for every event (example from Kiwi):

+++++++++++++++++++++++++++++++
2008-01-05 17:28:25 Local7.Debug 192.168.26.13 Camera mx10-1-2-3, event 14560, types: UC.
2008-01-05 17:29:25 Local7.Debug 192.168.26.13 Camera mx10-1-2-3, event 14561, types: VM,VM2.
2008-01-05 17:35:29 Local7.Debug 192.168.26.13 Camera mx10-1-2-3, event 14562, types: UC.
2008-01-05 17:36:28 Local7.Debug 192.168.26.13 Camera mx10-1-2-3, event 14563, types: VM2.
2008-01-05 17:36:32 Local7.Debug 192.168.26.13 Camera mx10-1-2-3, event 14564, types: VM2.
2008-01-05 17:36:53 Local7.Debug 192.168.26.13 Camera mx10-1-2-3, event 14565, types: UC.
+++++++++++++++++++++++++++++++

If you filter the log for a specific event type and then count these lines, you get the number of events.

Sam Speight

Posts: 0

Use event counter to see number of events.

26 noviembre 2008 23:09:08

Hi would you be able to tell me what settings i would need to use in event counter? I want to count the number of times a window is triggered. Where and how can i view this information? I could not figure this out.

user815

Posts: 1

Re: Use event counter ...

27 noviembre 2008 11:55:24

In the example above you could use the variables $(SEN.VM1) and $(SEN.VM2).

Note: the example does not (!) use the "event counter" of the Mobotix cam but external logging. So you have to use your own external scripts/programs for log analysis or counting.

Sam Speight

Posts: 0

Event Counting

27 noviembre 2008 20:54:38

Ok thanks Kurt I will give that a try

Ahsan ali

Posts: 0

Mobotix C++ API

08 enero 2010 06:14:42

Hello All
I am New to this field of mobotix camera and its API,s.
Any one can help me of getting started with C++ API using Linux.

Thanx.