Changes between Version 3 and Version 4 of Old/CollectMeasurements


Ignore:
Timestamp:
Sep 30, 2005, 5:30:37 PM (19 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/CollectMeasurements

    v3 v4  
    33The '''ORBIT Measurement Framework (OML)''' was discussed in the first section of this tutorial as one of the ORBIT Services.  It is a distributed software framework enabling real-time collection of data, and, as such, has a client application programming interface (API).  A developer can use this client API through a web interface to define the measurement points and parameters for his or her application.  Measurement points and their frequency of collection are an important part of ones experimental plan.
    44
    5 The definition of a measurement point is illustrated in Figure 12 below.  Measurement point definitions are saved as an XML-based configuration file, and source code for the measurement client is automatically generated that contains application-specific methods that handle type-safe data collection.  This source code can be compiled and linked with the application as illustrated by a Makefile in Figure 13 and sample application code in Figure 14 below.
    6 
     5The definition of a measurement point is shown below.   
    76{{{
    87<measurement-points>
     
    1716}}}
    1817
    19 Figure 12.  Defining Measurement Points
     18Measurement point definitions are saved as an XML-based configuration file, and source code for the measurement client is automatically generated that contains application-specific methods that handle type-safe data collection. This source code can be compiled and linked with the application as illustrated by a Makefile and sample application code below.
     19
     20'''Makefile and include file for Measurement Points'''
    2021
    2122{{{
     
    2526wget -q http://www.orbit-lab.org/oml/client_wrapper\
    2627--post-file $< -O - \
    27 | tar -C $(BUILD_DIR) -xzf –
     28| tar -C $(BUILD_DIR) -xzf
    2829oml_foo.h:
    2930int oml_group1(float rssi, float noise);
     
    3132}}}
    3233
    33 Figure 13.  Makefile and include file for Measurement Points
    3434
     35 '''Application Code Sample'''
    3536{{{
    3637oml_init(&argc, &argv, NULL);
     
    4849}}}
    4950
    50 Figure 14.  Application Code Sample
    51 
    52 Because not all measurements are needed and not all measurement samples are needed, '''OML''' supports preprocessing or filtering at source to reduce the amount of reported and recorded data.  Filters are defined by experimenter, and experimenter-provided filters are supported.  Figure 1. below illustrates the client-side data flow.  Collection of and access to the recorded data requires the use of a database schema.  '''OML''' automatically generates the appropriate schema as diagrammed in Figure 16 below.
     51Because not all measurements are needed and not all measurement samples are needed, '''OML''' supports preprocessing or filtering at source to reduce the amount of reported and recorded data.  Filters are defined by experimenter, and experimenter-provided filters are supported.  Figure 1. below illustrates the client-side data flow.  Collection of and access to the recorded data requires the use of a database schema.  '''OML''' automatically generates the appropriate schema as diagrammed in Figure 2 below.
    5352
    5453[[Image(clientsidedataflow.PNG)]]