-
Notifications
You must be signed in to change notification settings - Fork 0
Low level API for IFBeam and other csv data
License
fnal-fife/libwda
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
04/05/2012 New version of API for IFBeam data. The low level function(s) are now isolated from the user. Two higher level functions introduced: getBandle4t and getBandle4tt, they allow to get the data for the bundle either for given time or for the time range. They both return the pointer to the NULL terminated data record array, which has to be destroyed after use. The sequence of operations may look like this: #include "ifbeam_csv.h" #include "ifbeam_decode.h" ......... DataRec **dataRecs = getBandle4t("url_for_the_service", "bundle_name", time0); // Get the data for bundle DataRec **dr = dataRecs; // Set moving pointer to the first record for ( ; *dr!=NULL; dr++) { // Walk through record array ExperimentData *eData = decodeMBED1x(*dr); // Try to decode MBED10/MBED12 record if (eData) { // If we get a decoded record do something with it... ........ } } destroyDataRecs(dataRecs); // Free allocated memory ......... See file 'test_ifbeam_csv.c' for complete example.
About
Low level API for IFBeam and other csv data
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published