Teststandees / hcal_teststand_scripts

HCAL teststand scripts
0 stars 11 forks source link

ts_setup.py #5

Closed titasroy89 closed 9 years ago

titasroy89 commented 9 years ago

This shouldn't happen:

[tiroy@vmepc-e1x07-06-01 hcal_teststand_scripts]$ python ts_setup.py
> Setting up the 904 teststand ...
> Setting up the AMC13 ...
> Can ping T1.
> Can ping T2.
> [!!] Can't fetch FW versions.
> Setting up the uHTRs ...
> Setting up uHTR in slot 12 ...
> uHTR set up.
> [!!] Set up aborted.

Fix it, Tote!

awhitbeck commented 9 years ago

Hi titas,

I think this problem is not with the code, but with your local setup. You should rerun that install.py script:

python install.py 904

and then the ts_setup.py script should work fine. I also had this problem and only realized yesterday, while talking with tote that this was the solution. Can you give it a try and see. If so, close this issue.

Andrew

elliot-hughes commented 9 years ago

While Andrew makes a good point, there was a also a small bug allowing the uHTRs to be set up even when something went wrong with the AMC13. This is fixed with this line in ts_setup.py.