int tableGet( const wxString& tblName, 
                const wxDateTime& from, 
                const wxDateTime& to,
                wxArrayString& resultArray,
                bool bFull = false  )



Name of an existing table.


Datetime from which data should be fetched. Should be given on ISO 8601 format YY-MM-DDTHH:MM:SS.


Datetime up to which data is fetched. Should be given on ISO 8601 format YY-MM-DDTHH:MM:SS.


String array that is filled with resulting rows (if any) from the table. The format is

'count' rows<CR><LF>
YY-MM-DDTHH:MM:SSsss, value1[,other fields]<CR><LF>
YY-MM-DDTHH:MM:SSsss, value2[,other fields]<CR><LF>
YY-MM-DDTHH:MM:SSsss, value3[,other fields]<CR><LF>
YY-MM-DDTHH:MM:SS, valuen[,other fields]<CR><LF>
+OK - Success.<CR><LF>


If true all fields of a table row is returned (other fields above) in a comma separated list. Note that datetime is always listed first followed by value regardless of how the columns of the table is arranged.

Return Value

CANAL_ERROR_SUCCESS on success or an error code on failure.


Get data from a named table in a range to-from. One can fetch all columns of the table (bFull) or just datetime and value (default).

Very Simple Control Protocol
Fri Jan 11 2019 17:30:44 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""