root / trunk / code / projects / diagnostic_station / server / README @ 1606
History | View | Annotate | Download (991 Bytes)
1 | 1122 | jsexton | ##################################################################### |
---|---|---|---|
2 | 1606 | erhart | # Server Code |
3 | 1122 | jsexton | # |
4 | 1606 | erhart | # Emily Hart |
5 | 1122 | jsexton | ##################################################################### |
6 | |||
7 | This folder contains code intended to be compiled and run on a |
||
8 | computer acting as the server for the diagnostic station. All data |
||
9 | analysis will occur at this level. |
||
10 | 1606 | erhart | |
11 | This code has only been tested on Windows, but probably doesn't need a lot of |
||
12 | modification to run in Linux. Make sure PORT_DEFAULT, line 14 in |
||
13 | SerialComm.java, is set correctly when you run this code. The directions below |
||
14 | are for running this code in Eclipse. |
||
15 | |||
16 | To use this code, the three .jar files need to be added to the build path To do |
||
17 | this in Eclipse, select the following in the Package Explorer: |
||
18 | -jcommon-1.0.16.jar |
||
19 | -jfreechart-1.0.13.jar |
||
20 | -RXTXcomm.jar |
||
21 | Right them and select Build Path >> Add to Build Path. The four java |
||
22 | classes should stop showing errors now. |
||
23 | |||
24 | To run the code, right click Main.java and select Run As >> Java Application. |