Changes

Jump to: navigation, search

SHOC

990 bytes added, 13:38, 13 March 2014
/* Overview */
* Test the GUI
'''Stop the service''' [Note - you MUST be administrator to do ALL the steps expect test the GUI, and can be done from the SAME cygwin terminal window]
* Open a cygwin terminal session
* Type
/cygdrive/c/cygwin/bin/cygrunsrv.exe -R E filterweb [This stops the service] '''Remove the [existing] filterweb service'''* In the same cygwin terminal from above, type the following:  /cygdrive/c/cygwin/bin/cygrunsrv.exe -I filterweb -e 'PYTHONPATH=c:\cygwin\home\Administrator\shoc\instruments\filterwheel\' -c 'c:\cygwin\home\Administrator\shoc\instruments\filterwheel\' -p 'c:\Python33\python.exe' -a 'web\manage.py --serial <b>COM8</b> runserver -r -d' -1 /cygdrive/c/var/log/filterweb.log -2 /cygdrive/c/var/log/filterweb.errThis will install a service called '''filterweb'''. Please check the COM port and replace COM8 above with whatever COM port the USB-2-Serial adapter is showing under the System -> Devices in Windows.
=== Filter Wheel ===
163
edits