EventStore issue

46 views
Skip to first unread message

Yue Li

unread,
Feb 5, 2024, 4:42:03 AMFeb 5
to dv-users
Hi,
In DV API it says: An EventStore contains a collection of dv::Event, monotonically increasing. I'm wondering how to add event data with different (x,y) coordinates but with the same timestamp to EventStore. I'm working on laoding data from csv file (contain x, y, polarity and timestamp) to EventStore. Is there any possible solution for me to do that? I just want to find some ways for DV to read data from csv.
Thanks a lot.

Luca Longinotti

unread,
Feb 6, 2024, 6:53:20 AMFeb 6
to dv-u...@googlegroups.com
Adding data with same timestamp is possible, as per documentation it has to be monotonically increasing, not strictly monotonically increasing.
So a new timestamp has to be bigger or equal (>=) than the previous one added to the EventStore.
-- 
Luca Longinotti (llongi)

Head of Embedded Platforms
iniVation AG - https://inivation.com/
Zurich, Switzerland
Office: +41 44 500 32 14

Yue Li

unread,
Feb 19, 2024, 5:38:07 AMFeb 19
to dv-users
Thanks for your reply.
As I was trying to get the number of events in event store, I used .getSize(). But it turned out EventStore has no memer named 'getSize'. Are there any other possible ways for me to get the number of events?getsize().pnggetsizeerror.png

Luca Longinotti

unread,
Feb 19, 2024, 6:10:54 AMFeb 19
to dv-u...@googlegroups.com
There is the size() method. I can't find any reference to getSize() in the dv-processing documentation.
Please don't use the old documentation at https://inivation.gitlab.io/dv/dv-docs/ the new one is at https://docs.inivation.com/
Reply all
Reply to author
Forward
0 new messages