As of 29-May-2013, this is on hold as we try to figure out how close the INAF guys are to having an Ethernet solution for the CCD controller which will not require Windows machines at all.

During tests, get screenshots and pictures:
  • test program menu, prompts
  • back of PC - inside, PCI-X bus?

Hardware Investigation

Hardware investigation is complete (23-May-2013) - the profibus card and the CCD controller PCI card fit in the chassis. However, looks like nothing else will fit in either one.

  Task Responsible Date
CMU check spare profibus card (from spare CMU) on the mountain fits into the ABMX server Stephen/DougS 5/13
  if fits \x96 good, save this ABMX machine for the CMU replacement Stephen/Kellee n/a
  if doesn't fit \x96 have to figure out bigger host? different chassis? Stephen ???
Windows get fiber cards back from Italy Italy 5/21
  modify fiber cards for new heat sink John/Elliott  
  check that fiber cards fit into the ABMX server Stephen  
  if fits, order four machines before moratorium Stephen 5/24
  if doesn't fit - have to figure out bigger host? different chassis? Stephen  

Windows Machines

I suggest the following phased-approach
  1. configure four windows 7 machines with: IDL, ImageMagick, C/D drives, environment variables, IDL license, oncrpc, tftp, portmap, CCD controller driver following the procedures here: http://lbccontrol/software/wininst.shtml , http://lbccontrol/software/winsoft.shtml
    Have to actually rebuild lbciaRun because we cannot install IDL 6.0 on Windows 7 - maybe I can copy the IDL DLL for 6.1 and use the existing lbciaRun?
  2. test with the existing Red Hat 9 CMU and lbc.zip file (containing all the DLLs, executables built under XP): sex, cfitsio, track_first, track_next, trimatch, trackparam, apply_match, project_coor, cygblas, cyglapack, cygwin1
    what about sleep, sync, unzip?
  3. rebuild the lbc.zip file DLLs, executables under Windows 7

Task Responsible Date
configure new hosts for Windows 7 DougF 6/19
rack one host on the mountain, with the spare fiber card Stephen/DougF 6/26
configure LBC software Kellee 6/27
test on the mountain; see details below Kellee 7/8
pull out one of the existing PCI fiber cards from one of the four Windows 2003
machines and make sure that card is the same as the spare,
or that we check it will fit in the ABMX machine
Kellee/Stephen
revert configuration in preparation for science Kellee/Stephen/DougF 8/31

Phase 1:

1. Follow setup as in http://lbccontrol/software/wininst.shtml
configure the disks, windows parameters, etc.
2. Follow setup as in http://lbccontrol/software/winsoft.shtml and http://lbccontrol/devices/SKYTech_CTR-A1100/configuration.shtml
install support software (ImageMagick, tftp, CCD controller driver, etc.), setup time sync, environment variables...
rather than installing IDL, do the next step for this first phase
3. Bring over idl.dll from Z: drive to ...; add to path, environment, license file
4. connect the spare CCD controller to the new machine in the lab and run the test program
to continuously take image data with the controller
 
5. install the computer in one of the four empty slots above the LBC computers in CRB connect ethernet
6. can I connect this computer to the data probe?
remember when James disconnected the data probe had to reboot it after plugging it back in
 
7. test we can ftp back and forth
 sprintf( szCmd, "tftp -b32768 -o %s get %s/flat.zip c:\\flat.zip >nul 2>&1", szArchive, szRemotePath ); 
sprintf( szCmd, "tftp -b32768 -o %s get %s/conf.zip c:\\conf.zip >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/lbcia.log c:\\lbcfpia\\src\\lbcia.log >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/AOParam.txt d:\\ao\\AOParam.txt >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/guide.gif d:\\conf\\nullguide.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/chip1.gif d:\\chip1.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/chip2.gif d:\\chip2.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/guide.gif d:\\track\\guide.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/chip1.gif d:\\chip1.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/chip2.gif d:\\chip2.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/guide.gif d:\\track\\guide.gif >nul 2>&1", szArchive, szRemotePath );
sprintf( szCmd, "tftp -b32768 -o %s put %s/guide.gif d:\\conf\\nullguide.gif >nul 2>&1", szArchive, szRemotePath );
./windowspc/ia/ia.c
sprintf( szCmd, "tftp -b32768 -o %s put %s %s > nul 2>&1", szRemotePath, upload.file, upload.pathfile );
./windowspc/ccdctrl/ccdctrl.c
snprintf( szCmd, sizeof(szCmd), "tftp -m binary %s -c put %s %s >/dev/null 2>&1", szTarget, upload.pathfile, upload.file );
./upload/upload.c
 
8. use convert and fits2gif (fits2gif.bat calls image magick convert.exe),
 sprintf( szCommand, "convert -contrast -enhance %s %s", filefits, gifOUT ); sprintf( szCommand, "convert -rotate %lf %s %s", pChips->pCHIP1.pTRK.rotZ0, gifOUT, gifOUT ); sprintf( szCommand, "convert -rotate %lf %s %s", pChips->pCHIP2.pTRK.rotZ0, gifOUT, gifOUT ); 
 
9. Using the existing lbc.zip file from Aug-2012, reboot the PC
downloads the XP-built binaries from the CMU
 

Phase 2:

1. Install IDL 7 on the Windows PC  
2. Create new lbc.zip from the rebuilt files and install it on the CMU
add the other exes to the zip file?
 
3. Create new lbcfpiaRun.zip from the latest files in SVN, install it on the CMU  
4. Reboot the PC
how do I test with just 1 box using the new configuration?
 
5. Check that everything comes up OK - no complaints in logs, or in command windows  
6. Bring up the LBC software on the CMU  
7. Create OBs and play them - verify no complaints, FITS files are created, GUI updates, what else??  

Phase 3:

Sky testing. Use the notes here:

CMU Rehost

The CMU has to be a dual-boot system so that we can configure the profibus in Windows.

Task Responsible Date
configure new host for dual-boot Windows 7 and CentOS 6; follow procedures in here: http://lbccontrol/software/linuxinst.shtml
update procedure for CentOS/Windows 7
Stephen/DougF  
install and configure portserver and profibus, create user, configure LBC software; follow procedures in here: http://lbccontrol/software/linuxsoft.shtml Kellee
rack the host on the mountain, with the spare profibus card Stephen
test on the mountain; see details below Kellee  
revert configuration in preparation for science Kellee/Stephen/DougF 8/31
There's a note in the linuxinst.shtml :


I don't think this is true - now that all the machines are on the network, not "behind" the CMU. Need to update these notes if it's not true.

The linuxsoft.shtml notes say to unpack a file called lbclinux.zip which doesn't exist.
Need to update this page to get the files from subversion and rebuild.

The link to the latest DiGiPortServer software is bad: http://support.digi.com/support/drivers/linux/index-portserver.html
where can we get this?

Testing
1. Bring up the web pages at lbccontrol - check the stuff listed here  
  We can use the standalone programs to verify we're talking to the right systems - testfilters , testrotator , testprofibus , testpower3 ;
what about testcamera , testtrackers , testob , testconfig , testhousekeeping , testlog, testtcs , testupload , testtag ?
 
2. Turn on housekeeping -- verify it's reading red/blue temps and vacuum pressures correctly and logging  
3. Turn on other systems  
4.    
Topic revision: r8 - 07 May 2014, KelleeSummers
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback