[ACP-1138]  PlaneWave PWI Autofocus support
Type New Feature
Priority High
Severity Minor
Component Whole Product
Fixed In Version [
Versions Affected [7.17.1
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 6/18/2014

Description
Add support for the PlaneWave PWI focus routine, including setting in Properties.

Comments
12/6/2019 11:43:19 AM   Bob Denny
Closing again, this was not an ACP issue.
6/14/2019 8:57:14 AM   Bob Denny
REOPENED

See this Comm Center thread by Grady at New Mexico Skies (PW1000), and this Comm Center thread by Tom Bickley. PWI4 is not being recognized. I am in email communication with Kevin I on this.
9/2/2014 4:38:06 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 395
Affected files /trunk/AutoFocusScheduler.vbs (Modified)
Check-in comment Go to 270/80 if PWI, even if FMx AcquireStar is on (and not used!) GEM:1138
9/2/2014 4:37:03 PM   Bob Denny
Looking good with a change to AutoFocusScheduler.
8/26/2014 1:12:40 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 739
Affected files /trunk/Scripts/FocusOffsets.vbs (Modified)
Check-in comment From Kevin Ivarsen, the FocusOffsets script was broken, using old "UsePWI" from AcquireSupport. GEM:1138
6/23/2014 7:30:17 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 660
Affected files /trunk/Main.bas (Modified)
/trunk/frmPrefs.frm (Modified)
Check-in comment Fine points, advise difference between really old PWI and old PWI with partial COM support, per suggestions from R. Hedrick and K. Ivarsen. GEM:1138
6/23/2014 6:07:14 PM   Bob Denny
Per Kevin Ivarsen: If you cannot create PlaneWave.Autofocus, then PWI is really old or not installed. If you can but you cannot access PlaneWave.Autofocus.Version, then PWI is just plain too old. Label the radio button wither (not installed or very old) or (too old) accordingly.
6/20/2014 11:18:22 AM   Bob Denny
See ACP-1139. Check FocusMax too old in Preferences dialog. Maybe put "too old" instead of "not installed" in that case.
6/20/2014 11:15:02 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 656
Affected files /trunk/frmPrefs.frm (Modified)
Check-in comment Dim radiobuttons and add " (not installed" if the corresponding software is not installed. GEM:1138
6/19/2014 10:47:35 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 655
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/ACP-Weather.vbs (Modified)
/trunk/Scripts/FocusOffsets.vbs (Modified)
Check-in comment FocusOffset and Weather scripts. GEM:1138
6/19/2014 9:42:00 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 654
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/AcquireSupport.wsc (Modified)
/trunk/Script Components Master/AcquireSupport.wsc (Modified)
Check-in comment Changes to AcquireSupport to accommodate PWI autofocus. Release Notes. GEM:1138
6/19/2014 9:07:45 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 653
Affected files /trunk/PlaneWave PWI AutoFocus Info (Added)
/trunk/PlaneWave PWI AutoFocus Info/ACP-Weather.vbs (Added)
/trunk/PlaneWave PWI AutoFocus Info/ACP-Weather_Backup_ACP71.vbs (Added)
/trunk/PlaneWave PWI AutoFocus Info/AcquireSupport.wsc (Added)
/trunk/PlaneWave PWI AutoFocus Info/AcquireSupport_Backup_ACP71.wsc (Added)
/trunk/PlaneWave PWI AutoFocus Info/FocusOffsets.vbs (Added)
/trunk/PlaneWave PWI AutoFocus Info/FocusOffsets_Backup_ACP71.vbs (Added)
/trunk/PlaneWave PWI AutoFocus Info/PlaneWave AutoFocus COM Interface.doc (Added)
Check-in comment Just adding materials provided by PlaneWave for the PWI support project GEM:1138
6/18/2014 3:09:42 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 652
Affected files /trunk/ACP Help/ProgRef.chm (Modified)
/trunk/ACP Help/Programmer's Reference/ACP2 Programmer's Reference.mdb (Modified)
/trunk/ACP Help/Programmer's Reference/doc/ProgRef.chm (Modified)
/trunk/ACP Help/Programmer's Reference/doc/ProgRef.hhc (Modified)
/trunk/ACP Help/Programmer's Reference/doc/ProgRef.hhk (Modified)
/trunk/ACP Help/Programmer's Reference/doc/ProgRefAutoFocusPROPEnabled.htm (Modified)
/trunk/ACP Help/Programmer's Reference/doc/ProgRefHOME.htm (Modified)
/trunk/ACP Interop Assembly (Scheduler)/Interop.ACP.dll (Modified)
/trunk/AutoFocus.cls (Modified)
/trunk/Main.bas (Modified)
/trunk/acp-ref.exe (Modified)
/trunk/doc/ProgRef.chm (Modified)
/trunk/frmPrefs.frm (Modified)
Check-in comment Ad configuration UI changes and new Prefs.AutoFocus.UsePWI property for support of the PlaneWave auto focus routine. NOTE this commit does not include observing logic changes. GEM:1138
6/18/2014 10:46:49 AM   Bob Denny
From Kevin:

Hi Bob,

We've had 4 or 5 people try out the latest AutoFocus code and it seems to be pretty solid so far. I've put together a .zip file with the modified script files (as well as the original versions I started with) and the current COM object documentation here:

http://planewave.com/files/software/PWI3/ACP71/PW_AutoFocus_ACP71_Files.zip

I also put together an installer which backs up the original files and copies the new files into place. When you uninstall, it puts the originals back where they belong. In case you need it for any reason, you can grab it here:

http://planewave.com/files/software/PWI3/ACP71/Setup_PW_AutoFocus_ACP71.exe

A few notes:

- The changes in AcquireSupport.wsf were pretty easy to keep isolated, and any additions or changes should be clearly marked

- The changes in FocusOffsets.vbs were a bit more intertwined with the existing code, so I didn't bother to mark every change. However, you should be able to use a Diff tool to see what changes I made

- I've included a proposed modification to the ACP-Weather.vbs script. However, the installer currently does not copy this into place, since I don't want people to lose any custom actions they may have added. The original version had the unfortunate side-effect of popping up a FocusMax window when there is a weather event, which can be a bit confusing if you aren't already running FocusMax.

Unfortunately I have *not* had a chance to run these modified scripts with FocusMax selected as the AutoFocus mechanism, so I don't know if I may have introduced any obvious regressions. Hopefully this will get exercised adequately as you do your normal testing.

Also, I haven't yet had time to add a Simulator mode to the AutoFocus routine, so I don't know if you'll have a good way to try this out. If you at least want to check that it's connecting to the program correctly, you can install PWI 3.3.0 Beta 5 to try it out:

http://planewave.com/files/software/PWI3/Setup_PWI_3.3.0_Beta5.exe


If you have any questions/concerns, or if there is anything else I can do to help, please let me know!

Kevin