Thursday 10 November 2011

My Tutorial

For the research task the tutorial that made is subject on how to read the xml and then record the  first seven values that is taken from the xml. From there I will step by step  show what node that need to use to read and rewrite the xml. One other skill that is I will be showing in the  tutorial is how to read (breakdown) xml. Showing three main part of xml that need to be read which are the root, child and  attribute.
 For the first part of the tutorial i show how to break down the xml that was download from pachbe .The step that i show in the  video where the location of all the key section of the xml file . Pointing out the root, child and the value xml so that you can feed into the sandbox nodes . Root for most of the file that is download from pachbe  start off the emml as the root.than for the child would be the environment and the "id" is the attribute. The number between current_values is the value.
The second part of the vidoe show  how to read the xml file in sandbox. What i shown in video is the key node that must be use so that the data  feed in. The first node is xml:OpenDocument  which open the file you have download. The next node xml:GetRoot was the get the root of the  is file than after the node xml:GetChild which get the child in the xml file. Than three other node which open the subchild in the child.  last node is to get the value by adding extra  in flow graph the xml first 7 values was record in new xml.
The flow graph recorded the 7 value was last part of the video. This part show how  to create   flow graph that  record down any 7 values that was feed in sand with the first flow graph. The flow graph is in two section when i show how to create it the first is how to create new document and make new child that can recoded the value. so we start off with the node that create the new document which is the xml:NewDocument  from there we use another node that   create the new child that recorded the values this node is xml:NewhChild .From there we want to write down values feed in to the new xml we use the node xml:setvalue . After getting the values from the feed we have to use node to save the xml which h is the xml:saveDocument. From there we open the document again so we can record last six values this done by repearting the node newchild, setvalues, opendocument and save document 6 more time and link each to one another.    

Final engine video

Tuesday 8 November 2011

Brief and files

 
THE ANALYTICS ENGINE

My analytics engine is a 3 stage processing plant.  It is based on analyzing data and is represented in three different modes and where the final result would have undergone 3 layers of processing.  The data that will be fed into this analytics engine was a live feed in xml format of light Sensors.

My environment is set up to have 3 laboratories or 3 stations.  They are visually linked by glowing wires to show it’s a series of processing plants. These three stations are interconnected in a way where the information is being processed in three stages.  The information starts off in Station 1. Once its analysed, will then be fed into Station 2 for processing.  Station 3 then gathers the resulting information from Station 2 and processes the final results.

Station 1- analyses the variation in the data and is represented by light.  The light source will
display different intensities depending on the numerical data.  At the same time the numeric data will be displayed in a HUD as it analyses information.

Station 2 – gathers the information from the HUD of Station 1.  This information is divided by 10 where the results are represented by bar graphs.  The heights of the bars are easily visible and the resulting information clearly represented.  This station again produces a HUD display with the resulting data .

Station 3 – this final stage gathers the information from the results in Station 2. This information is further reduced and divided by 10.  The resulting information is represented by the stack of paths in the station.  And the ultimate final result of this series of processing stations  as an analytic engine is displayed on the HUD.

THE LIVE FEED

This live feed is about the light level at curtain time of day in week. 
It can be accessed through https://pachube.com/feeds/35484#graph-builder-container
  
THE MAP AND THE ENGINE