Document for HASC Tool User
HASC Tool is the activity information processing tool developed by HASC (Human Activity Sensing Consortium).
You can collect, analyze, use and evaluate your activity data by using this tool.
HASC Tool is developing now.
If you would like to get latest information about HASC Tool, please refer to following page.
http://hasc.jp/
I'm sorry that this page is written in Japanese now.
How to Execute HASC Tool
- On the Windows version, you can execute HASC Tool by hasctool/eclipse.exe.
On the Mac version, you can execute HASC Tool by hasctool/Eclipse.app.
- On the first time, HASC Tool ask you the place of your workspace.
Please decide the place of your workspace.
Workspace is the directory which saves your projects and setting information.
- Please open welcome page and refer to guidance in this page.
If you select following tab, welcome page is opened. (Menu: Help > Welcome)
You should import sample project in this tool.
Text Editor with Wave View
- To edit a label file(*.label) or csv file visually, please push "Wave" or "Wave&Labels" tab in the file.
- Sensor X axis:blue,Sensor Y axis:red,Sensor Z axis:green
- If you push the button(+t, -t, +v, -v) on the wave view, a range to display is changed.
- If you push the rt button on the wave view, the start time of measurement become 0.0 sec.
- If you push the ?r button on the wave view, you can get the data within the time range which you select.
- If you push the +L button on the wave view, the selected time range is written to the label file.
- To create label file, please operate it as follows.
Project Explorer > csv file > context menu > choose "the new making of the label file"
HASC Logger Server
- HASC Logger Server receive log file from iPhone's HASC Logger application.
- To execute HASC Logger Server, please select the directory which store log file and push the (H) button.
- To set up HASC Logger Server, please decide the port number to bind.
If you use Mac PC, the port number should be bigger than 1025.
- To set up HASC Logger, please push "iPhone's Settings > HascLogger" tab and set up Server URL.
When you set up "Server URL", please refer to following format.
Server URL Format: http://(PC IP Address):(port number)/
- When you upload your log file from iPhone's HASC Logger, you can find your log file on HASC Tool.
- To terminate HASC Logger Server, please push the (H) button again.
HASCXBD File (Block Diagram)
- HASCXBD file is block diagram. You can create block diagram by connecting some blocks which you create.
By using HASCXBD File, you can do various data processing.
- To execute HASCXBD file, please select the ExecBD button on tool bar.
- To terminate HASCXBD file, please select the StopBD button on tool bar.
Block Diagram Editor
- Now, there is not wizard which make a new HASCXBD file.
To make a new HASCXBD file, please copy the existing HASCXBD file.
- When you open a HASCXBD file, block editor execute.
- To edit the block diagram with viewer, please select GraphEdit tab on the HASCXBD file.
- If you push the +B button, a new block is created.
Please select the class which the block refer to.
- You should rename the block, please input the name of block at Name element in Properties.
The name of each block have to be unique.
- To create a new connection, please operate it as follows.
While pushing Ctrl(control key), please select input block and output block.
After that, please push the +C button.
- If you push the Del button, the selected block is deleted.
- To edit file information such as comment, please push the Inf button.
- By selecting the block, you can setup block property (only String and primitive type).
- After you edit the block diagram, please push the "Ctrl" and "S" buttons and save it.
After that, please execute it.
- To Undo/Redo, please switch to the text editor "HascXBD tab".
- Time unit is microseconds. If value is 1 second, you should input 1000000.
- The output port of each block can be connected with some blocks.
- The input port of each block can be connected with only one block.
If the block has some input port such as VectorConcatinator, you should setup the number of input port at inputPortCount property.
After that, please input connection the following information about input port such as inputPort[0],inputPort[1],….
HASCXBD File Format
- <model.BeanBlock> : This tag expresses the block.
- <name> : This tag expresses the name of block.
- <class> : This tag expresses the instance of java class.
- The class needs to refer from JavaBeans which mount jp.hasc.hasctool.runtime.RuntimeBean.
- <properties> : This tag set your input data to the class.
- <entry> : On this tag, first element "<string>" is property name, second element is value.
- <model.Connection> : This tag connect input port <input> and output port <output>.
- blockName: The name of block <name>
- portName: The name of port property
Guideline for HASC Tool Bug
- Now, there is not wizard which make a new HASCXBD file.
To make a new HASCXBD file, please copy the existing HASCXBD file.
- Now, You can not save your block layout.
When you open the HASCXBD file again, block layout is reset.
- In the wave view of LabelEditor, if both of label edge are not within the range of window,
you can not find this label in the window.
- When you open a file on Project Explorer, there is a possibility to open it by another editor.
In this case, please right click it and select "Open With" tab and select editor.
- If you edit some files on the outside, you should refresh Project Explorer.
- Sometimes, the problem not changing from the state of Refreshing workspace is happened.
- In this case, you should push the StopBD button.
How to Confirm Version Information
- Please select following tab.
Menu: Help > About HascTool > Installation Details > Plug-ins
- Please search the row "Privider:hasc.jp, Plug-in Name:HascTool" and you can find HASC Tool version information.