EM1 Update P00-05-00 10/1/02
Installation Instructions
- First of all make a copy of your c:\VxWorks directory (right click on
VxWorks, choose "Copy" then in the same window choose "Paste"). This will
create a directory called "Copy of VxWorks". Rename this to VxWorks_SCL
- Unzip pyLAT archive to "C:\", replacing the old files (for first time
install there shouldn't be any old files to replace)
- On VxWorks enter "< startupaemevt" for AEM or "< startuptemevt" for CAL
- Make sure "ActiveState Python 2.2.1 or later is installed. If not download
it from:
http://www.activestate.com/Products/Download/Download.plex?id=ActivePython
- Install pyXML: Open up a "Command Prompt" and enter "pyppm". At the "PPM>"
prompt enter "install pyXML". You need to have an active internet connection
for this to work. If you are in an internal network, use another machine that
is connected to the internet to download pyXML from
http://download.sourceforge.net/pyxml/PyXML-0.8.1.win32-py2.2.exe, copy it
to a floppy and then install it on the teststand machine.
- Open up a "Command Prompt" and change the directory to "c:\Online\work\LAT"
- Type "python -i test_aem.py" for AEM or "python -i test_cal.py" and press
enter. At the ">>>" prompt type "test()" and press enter You should see the
event data being displayed.
- If you need to go back to using SCL, rename the VxWorks directory to
VxWorks_Python and rename the VxWorks_SCL directory to VxWorks and use the "<
startupaem" or "< startuptem" scripts.
- We will provide tutorials and how-to documents on using the python
interface in the near future. In the mean time the test_aem and test_cal
examples and the
LAT-SS-00586-01 Subsystem Interface Control Document should help you in
developing your scripts.
Please contact Selim Tuvi at stuvi@slac.stanford.edu or Ric Claus at
claus@slac.stanford.edu
if you have problems or any questions.
Back