RequestHistoricalData

<< Click to Display Table of Contents >>

Manual > Control Reference > Other > Historical data control > Method >

RequestHistoricalData


 

Request historical data.

 


syntax

RequestHistoricalData(

         startTime,

         bIncludeStartTime,

         endTime,

         bIncludeEndTime,

         maxRecord,

         requestID

         )

 


Parameters

 

startTime


Type:

character


The start time of the data you want to retrieve.

 

bIncludeStartTime


Type:

Boolean


Get TRUE hours, including the start time.

 

endTime


Type:

character


The end time for the data you want to retrieve.

 

bIncludeEndTime


Type:

Boolean


Get TRUE hours, including the end time.

 

maxRecord


Type:

Number


The maximum number of records to retrieve.

 

requestID


Type:

Number


Please specify any number. This ID will be passed in the OnRecvData event.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference