Tank server

From Applied Optics Wiki
Revision as of 14:08, 31 July 2012 by Matt (talk | contribs) (Created page with "== tank_server == The tank is controlled using a back end or deamon called tank_server. This is required because the low level drivers and hardware are not stateful and everyti...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

tank_server

The tank is controlled using a back end or deamon called tank_server. This is required because the low level drivers and hardware are not stateful and everytime they are restarted the stages forget everything (like where they are). So the deamon controls the stages and runs all the time and the scanning software tells the deamon what to do.

Hopefully the computer "hammock" has been left running and the tank_server deamon is normally just left running all the time. However if there has been a power cut or a computer crash this might not be the case. Worst of all someone has performed an unwanted software update and the daemon can't run.

To run the tank_server deamon:

  1. Login as root
  2. cd /home/scan/source/hardware/tank/copleycandriver/copleycan_0.4.0/
  3. tank_server &

If someone has updated the software and it doesn't run then the deamon needs to be rebuilt:

  1. Login as root
  2. cd /home/scan/source/hardware/tank/copleycandriver/copleycan_0.4.0/
  3. make ; make install
  4. tank_server &

If this doesn't work then you need Matt or Steve to sort it out.