traps
-Interested User-
Posts: 15
Joined: May 24, 2011
|
Posted: Jun 16, 2011 06:44 AM
Msg. 1 of 3
Hi
When using the historical lookup COM method ReqHistoryTickTimeframe, I am wondering how one is supposed to use the dataPointsPerSend parameter.
If it is set to some non-zero value, say 100, then the time-series of ticks will be split up into separate messages, each with no more thant 100 ticks in it.
My question is, how do I know when all the messages/ticks have been received? My call-back will get called for each message, but is there a way to tell when all messages pertaining to this request have been received? Since I do not know the number of ticks beforehand, I do not know how many messages to expect.
thanks
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Jun 16, 2011 08:12 AM
Msg. 2 of 3
Hello, per the documentation, you should receive an endmsg when any lookup completes.
However, there is a bug in 4.7.2.0 which will cause a request to sometimes not complete properly in the HistoryCOM interface. This has been fixed in the 4.8 beta available on the developer site.
|
traps
-Interested User-
Posts: 15
Joined: May 24, 2011
|
Posted: Jun 16, 2011 08:48 AM
Msg. 3 of 3
I see, I misunderstood the behaviour (thinking ENDMSG occurred with every callback).
thanks again
|