Version 6.1
Introduction

The 6.1 update is primarily focused on devices; introducing a new Video interface and tools, whose development was led by Hristo Pavlov, and enhancing the Switch interface, which was led by Chris Rowland. Please see below for more information.

In line with previous Platform installers, 6.1 is a cumulative release that contains all enhancements and fixes from previous Platform releases and service packs.

Note Note

Driver and application developers: In order to maintain a healthy code base, some tidying up is planned for the the next major update and details of the changes are given in the Deprecated Features section below. Please will you review this and update your applications and drivers as advised; these changes are not scheduled for introduction until the second half of 2014 at the earliest. In the meantime service packs will be issued as required to correct bugs.

Platform Prerequisites
  • .NET Framework 4 Client or .NET Framework 4 Full Installation or later
  • Visual C++ 10.0 libraries

While previous Platforms required .NET Framework 3.5, Platform 6.1 requires that .NET Framework 4 or later is installed on your PC. Framework 4 has been available for a number of years and is provided for all operating systems that the Platform supports (Windows XP onwards). This change is to enable Platform components to take advantage of the new features that Framework 4 provides.

The installer will advise you if your PC does not have the required support and will request that you install it before continuing with the installation. The framework can be downloaded from the Microsoft Download Centre please check under "Popular Downloads - Developer Tools" if Framework 4 is not otherwise listed.

The Platform now also requires Visual C++ 10.0 libraries and the installer will provide these if they are not already present on your PC.

Key Changes in 6.1 - For Everyone
  • The Platform now supports ASCOM Video device drivers and clients and a Video simulator is included in the Platform install.
  • The Platform now provides an improved Switch interface that can read and control multi-position switches, digital rheostat like devices and sensors.
  • The 6.1 installer will now clean up corrupted Platform installs if required, providing more reliable implementation. This capbility is based on the ForceRemove program that previously had to be run manually.
  • The Platform now requires .NET Framework 4.0 Client or above and the Visual C++ 10.0 libraries. The .NET Framework will need to be installed before the Platform installer is run but the C++ libraries will be automatically installed by the Platform installer if required.
  • Telescope Simulator for .NET
    • The default Axis Rates have been revised to create non-contiguous rate ranges of 0.0-16.7 and 25.0-50.0 degrees /second.
    • Additional tracking mode checks have been added to the Slew... and Sync... methods to test for unexpected behaviour such as slewing to RA/Dec with tracking disabled.
  • Chooser - Enabling serial tracing through the Chooser menu has been made simpler by removing infrequently required options and by selecting automatic file naming by default. Operation is now simply through an on/off option similar to all the other types of trace. Manual serial trace file name selection and all other historic options can still be made through the Diagnostics Trace menu.
  • Diagnostics - Choose Device Tool
    • This tool can now be started in either 32bit or 64bit modes on 64bit operating systems to provide emulation of both 32bit and 64bit clients.
    • The main window is now resizable to cope with extensive Profile contents
    • The device Profile is now returned in plain rather than XML format.
    • Values from the common device methods are now reported for all device types.
    • The Connect capability now has a check box to control whether the device is Connected before the Setup dialogue is dispayed.
    • Selection of a new device type automatically selects the relevant simulator.
  • The Delta T predictive algorithm has been updated with real data to January 2014.
Key Changes in 6.1 - For Developers
  • The IVideo interface has been added plus support for the DriverAccess, Driver Installer and Video driver templates.
  • A set of Video utiliites have been added to the Platform together with a video driver developer guide.
  • The ISwitch interface has been revised to ISwitchV2 and a new simulator and driver template have been provided to support the new features.
  • The ASCOM driver templates are now installed by a custom installer which avoids the dialogues that used to appear from the Micorsoft content distribution tool.
  • The driver templates are now correctly installed on all Visual Studio Express editions as well as full Visual Studio editions.
  • Although the Platform client applications have been transitioned to .NET 4, development of ASCOM clients and drivers based on Framework 3.5 is still supported by the Platform.
  • The device template icons have been tidied up and made consistent.
  • The driver installer generator now supports in-process .NET drivers targeted at Framework 4.
  • Cosmetic: Installation instructions for Inno in the Driver Install Script Generator - have been updated to match recent changes to the Inno installer.
Issues Fixed - Platform
  • Diagnostics will no longer fail focuser simulator tests if MaxStep has been changed from its "out of the box" value.
  • Cosmetic: PropertyNotImplementedException and MethodNotImplementedException no longer replicate the text "is not implementred in this driver".
  • Rotator setup dialogue now updates values correctly.
Issues Fixed - Developers
  • None.
Known Limitations - Developers
  • The components in the Astrometry.NOVAS namespace are fully usable from .NET languages but are not fully accessible through COM from scripting languages because a number of parameters are passed by reference or use structures that do not pass across the COM interface. Three workrounds have been established:
    • Recommended - Use the Transform component in the ASCOM.Astrometry.Transform namespace, it is fully COM compatible.
    • Recommended - Use the NOVASCOM components in the Astrometry.NOVASCOM namespace, they are also fully COM compatible.
    • Create your own COM presentation component that encapsulates the NOVAS 3.1 functions that you require and presents them in a COM compatible fashion to suit your needs. This component can them be consumed by your scripting application.
Breaking Changes (For Developers)
  • None.
Deprecated Capabilites (For Developers)
  • The following VB6 based simulators will be removed from the Platform at the next major update. These drivers were moved to a "bug-fix only" maintenance mode when Platform 6 was released and are becoming increasingly out of step with their .NET counterparts, which are fully integrated into the Platform code base.

    Simulator

    ProgID

    Replacement

    Camera Simulator

    CCDSimulator.Camera

    Replace use of the CCDSimulator.Camera ProgID with ASCOM.Simulator.Camera, which will invoke the "Camera V2 simulator

    Dome Simulator

    DomeSim.Telescope

    Replace use of the DomeSim.Telescope ProgID with ASCOM.Simulator.Dome, which will invoke the "Dome Simulator .NET" driver.

    Filter Wheel Simulator

    FilterWheelSim.FilterWheel

    Replace use of the FilterWheelSim.FilterWheel ProgID with ASCOM.Simulator.FilterWheel, which will invoke the "Filter Wheel Simulator [.NET]" driver.

    Focuser Simulator

    FocuserSim.Focuser

    Replace use of the FocuserSim.Focuser ProgID with ASCOM.Simulator.Focuser, which will invoke the "ASCOM Simulator Focuser Driver" driver.

    Switch Simulator

    SwitchSim.Switch

    Replace use of the SwitchSim.Switch ProgID with ASCOM.Simulator.Switch, which will invoke the "ASCOM SwitchV2 Simulator Driver" driver.

    Telescope Simulator

    ScopeSim.Telescope

    Replace use of the ScopeSim.Telescope ProgID with ASCOM.Simulator.Telescope, which will invoke the "Telescope Simulator for .NET" driver.