Difference between revisions of "Notes on upgrading observatory computer to Windows 7"
(→Current software / settings)
|Line 66:||Line 66:|
# Port 3 / COM 6: Telescope
# Port 3 / COM 6: Telescope
# Port 4 / COM 7: empty
# Port 4 / COM 7: empty
Revision as of 16:31, 20 August 2012
This page is to document our upgrade to a new observatory computer with Windows 7. The original machine used to control the telescope (from commissioning in 2009 through summer of 2012) ran Windows XP. So there may be some issues encountered in the upgrade. Thorough documentation here should (hopefully) help with next time we need to upgrade hardware or software.
Initial testing was done with the same computer, but with a fresh Windows 7 install on a separate disk; so not everything in the first section may be completely the same with the new computer. (Eric Jensen, July 12-13 2012)
(New notes with new computer, August 16- 2012.) To determine best plan for software installation, I contacted Bob Denny at DC3-Dreams (publisher of ACP) for advice on order of installation. He said "Install the ASCOM Platform 6 first. Then install the TheSky Controlled Telescope driver. Then the TCC Software. Then TheSky. Check TheSky out with your scope. Then check it via the ASCOM driver using the POTH tool that comes with the ASCOM Platform. Then MaxIm as ACP will be looking for it during installation. Then ACP and Hot Fix 4. Make sure at the end of the Hot Fix to use the "Register TCC for ASCOM" option, their software fails to do this and is no longer maintained by them. Next install the Digital Domeworks ASCOM Driver (DDWCP is not needed though can be useful for troubleshooting)."
- Installed RealVNC free version
- Installed Norton Ghost and backed up the computer in initial state.
- Installed ASCOM platform 6 SP1 from here.
- Installed TheSky Controlled Telescope Driver version 5.2.10 from here. During installation, chose the option to also have it install the source files.
- Installed RCOS TCC:
- Get files from the RCOS support forum.
- The last full installer there is 1.5.17, so download and install that first.
- Then download and copy over just the 1.5.26 RCOS-ae.exe file into the Program Files -> RCOS TCC folder.
- These programs run into problems with Windows User Account Control, so either need to turn that off completely, or do the workaround below:
- Make shortcuts for both RCOS TCC and RCOS-ae on the desktop.
- Right-click and then choose "Properties", and in that dialog, select "Run as administrator."
- Before the TCC starts up, you will then always be asked if it's OK to run a program from an unknown publisher - just click "Yes".
- In order for the TCC to run under Windows 7, the executable RCOS-ae has to be run first (just once per reboot). When you run this, nothing appears to happen, but if you don't the TCC won't work - you'll just get "unable to connect to RCOS COM object" or something like that. To make this simple:
- Move the shortcut for RCOS-ae (created in the step above) into the "Startup" folder in the Start menu (under the "All Programs" listing).
- RCOS-ae will then run at startup without any user intervention, and so starting the TCC is just as simple as before under Win XP - just double-click the file.
- Finally, to get the presets from the old install, copy over the file RCOS.dat from the Program Files -> RCOS TCC folder. This has those values saved.
- TheSky 6:
- Use the DVD we have to install TheSky 6. (This installs 18.104.22.168; need to enter serial number from packaging.)
- Apply the updater to update to 22.214.171.124 (downloaded from here.)
- Apply a "daily build" update; download from here, then replace only the executable file "TheSky6". This updates to 126.96.36.199.
- To copy over previous settings:
- Copy old Normal.sky file to new installation; it lives in Documents/Software Bisque/TheSky6/Documents. It should contain the Tpoint model as well.
- Also copy over the folder "Field of View Indicators" in Documents/Software Bisque/TheSky6/.
- After telling it that the telescope is a Paramount ME, then also had to configure the server that lets it talk to ASCOM, via the "TheSky-controlled-telescope" plugin. To do this, go to Telescope -> Server Settings and check all the boxes there, as described in more detail here.
- To test the ASCOM connection to the telescope, I used the POTH tool that came with the ASCOM distribution. I found that I could not connect to the telescope unless I disabled Windows 7's UAC, so I did that (which makes some other things simpler, anyway).
- I also had to choose Telescope -> Options -> PEC -> Enable to get it to apply the periodic error correction (stored in the telescope's flash memory); it wasn't enabled by default.
- Tpoint: Download the installer from here. Version 1.00.512; need to enter serial number from inside the manual.
- Apogee camera and filter wheel. Before installing MaximDL, I wanted to make sure that the camera and filter wheel were talking to the USB bus for the computer.
- I downloaded the driver package from the Apogee website, , and unzipped and installed the drivers. On installing, I initially got the error "setupEventLogging has stopped working" and couldn't continue. I realized that I hadn't rebooted since disabling Windows UAC (a pretty major system change), so I rebooted and tried the install again, and it went smoothly the second time.
- I powered up the CCD camera and plugged it in. Windows recognized it, installed the necessary drivers, and then reported that it was working.
- Same for the filter wheel - powered it up, plugged it in, and Windows found it without incident.
- Meade DSI camera: going to the Meade download site, , I wasn't sure whether to install the full Autostar Suite or just Envisage. The latter was smaller, so I went with that to see if it would work. It installed smoothly (version 7.09), and then when I plugged in the DSI camera (our guide camera), Windows recognized it and reported that it was working.
- Download latest version from Diffraction Limited website. Currently version 5.21.
- Installed just fine - I entered our license info, which is currently good through November 2012.
- Following instructions from Doug George in the Yahoo MaximDL group here, I copied over the Users\telescope\My Documents\MaxIm DL 5\Settings folder to the new installation to preserve our old settings.
- Testing this out, the connection to the telescope worked just fine. It didn't initially find the camera and filter wheel on the USB bus, so I went into the configuration and choose the Advanced option where it can search for a device. In this way, it easily found both the camera and filter wheel. I gave it the model of the filter wheel, AFW50-10S.
- For the filter wheel, after discovery it could talk to the filter wheel, but didn't have the correct filter names - it had some default set instead. To fix this, I quit MaximDL and then searched through the new and old settings files. It turns out that the filter names are in Settings/MaxImCCD/SetupFilterWheel.txt. That file had the old filter names in a set of entries with names like Camera0_ApogeeUSBFilterF1, Camera0_ApogeeUSBFilterF2, etc., but it also had a new, default set of filter names with entries like Camera0_ApogeeFilterF1, Camera0_ApogeeFilterF2, etc. (without the "USB" in the name). I copied the old set of filter names and used them to replace the new set, deleting the "USB" from all the names. Then when I restarted MaximDL, the correct set of filter names was there.
- Other than that, the MaximDL settings all seem to be there and to be working fine, though I haven't yet given it a full night-time test.
- Digital Dome Works version 5.2, revision date 12/02/2008, downloaded from here.
- When I tried to install it, I got an error that the file "VB6STKIT.dll" was not installed, and it couldn't proceed with the installation. Searching the web indicated that some other people have had this problem, too. I checked with Jerry Smith at TI, who offered to send me the file. In the end, I just copied the file from our old Windows XP installation onto the new machine - it goes in directory C:/Windows/System32/ . Putting this file in place then allowed the installation to run to completion.
- During the installation, the installer asked about overwriting certain already-installed system files; in each case, I chose to keep the (newer) installed file rather than overwrite it with the older version from the installer.
- To recover our old settings, I copied the file ddw.ini from our old installation into the folder Program Files/TIDigitalDomeWorks.
- Tested it out - seems to work fine.
Ports / connectivity
- The Icron Ranger 2104 (4-port USB hub over ethernet) just worked - no installation of drivers needed. Plugged in a flash drive in the USB hub to test.
- The Edgeport/4 (USB-serial converter), plugged into the Icron hub, did not work instantly. But without prompting, Windows found and installed the necessary drivers without incident, and then it started working. COM ports showed up in Device Manager. There is a standalone application that can configure the device to map its ports to particular COM port numbers if it's necessary to change these. For some reason, the order in which the ports became visible to the computer causes it to report that the serial ports 1,2,3,4 on the device are mapped to COM ports 4,5,7,6. (Note the swapped 7 and 6.) I used the tool to remap these to 4,5,6,7, but on reboot, they revert to 4,5,7,6. However: when I was setting up devices later, it turns out that the third port from the left on the hub really is COM 6, not COM 7, although the OS reports port 3 as being mapped to COM 7. So despite the odd reporting by the OS, it appears that the serial ports on the device really are, left to right, COM 4,5,6,7.
- Current serial port usage:
- Port 1 / COM 4: TCC
- Port 2 / COM 5: Digital Dome Works
- Port 3 / COM 6: Telescope
- Port 4 / COM 7: empty