Menu

myfocuserpro2 problms Win11

2023-11-01
2023-11-03
  • Martin Richter

    Martin Richter - 2023-11-01

    First of all, thanks Ropert for the great project!

    I´m able to run the software under Win 10 using APT, MAXIM and NINA. Motor is rotating, temperature is displayed correctly
    Under Win 11 I get the following error massage when using the Ascom diagnosis tool 6.5.1.3174

    Create Creating device
    Connected Connecting to device
    Connected Trying Connected
    Connected Trying Link: Connect failed: IOException
    Error ASCOM.DriverException: Connect failed: IOException
    at ASCOM.myFP2ASCOM.Focuser.set_Connected(Boolean value)
    at ASCOM.myFP2ASCOM.Focuser.set_Link(Boolean value)
    at CallSite.Target(Closure , CallSite , Object , Boolean )
    at System.Dynamic.UpdateDelegates.UpdateAndExecute2T0,T1,TRet
    at ASCOM.DriverConnect.ConnectForm.btnConnect_Click(Object sender, EventArgs e) in C:\ASCOM Build\Export\ASCOM.DriverConnect\ConnectForm.cs:line 252
    Dispose Disposing of device
    Dispose Completed disposal
    ReleaseComObject Releasing COM instance
    GC Collect Starting garbage collection
    GC Collect Completed garbage collection

    What can I do? Any help really appreciated. I worked for 3 days now on the issue.
    p.s. if I set the local decimal point delimiter not to "." but to ";" id does not show the right temperature in Win 10

     
  • brownrb

    brownrb - 2023-11-03

    Hi Martin
    Thanks for the opportunity to respond about your issues. I run Win11 exclusively so I know things work under Win11 (for me), however understand that this is not the case for you, So, we need to work through your issues ONE at a time (fixing one might fix others) and end with a satisfying outcome by getting your system running correctly.

    1. In the ASCOM driver setup properties page, enable TRACE ON
    2. It would help to know the following

    ASCOM driver version (if you are not running v300 then update to 300)
    Firmware version (if not running 329 then update to 329)
    What ASCOM platform is installed on your computer (I am assuming you are running ASCOM 6.6 SP2. If you are not sure, use Control Panel to list all installed apps (Uninstall an app) and it will show the version

    Please do not run the ascom diagnostic tool. Its just another layer of complexity that is not needed here.

    if I set the local decimal point delimiter not to "." but to ";" id does not show the right temperature in Win 10

    You need to provide a bit more info - is this in the Windows App?? What version? Screenshot?
    Again this should NOT be necessary with the Windows app, and the format speciifier is part of the Windows Locale setting, which you do not need to change as the Windows app handles all of that seamlessly.

    If you are referring to the Windows app, then you also need to Enable logging of error messages and provide the log file.

    Logfiles
    For Windows app. this is specified by the folder you set when installing the app - If you forgot where, run the app, click Settings, Logging, Log File Patha nd it will show the folder where log files are kept.

    For ASCOM, these are stored in the Users Documents folder, for me that is
    c:\users\rob\Documents\ASCOM\Logs xxxx-xx-xx
    xx is date-time
    and will be in the format ASCOM.myFP2ASCOMxxxxxx.txt

    I prefer that you install the ASCOM Test App that I provide. Tjough it is possible to use NINA etc, unless I get the logs I need then it is a waste of both our time.

    https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ASCOM%20DRIVER%20TESTER/myFP2ASCOMApp_1_3_2_3.zip/download

    1. make sure you are running the latest firmware
    2. make sure that you have the latest ascom driver installed. First use control panel to remove the old ascom driver.
    3. Next, check C:\Program Files (x86)\Common Files\ASCOM\Focuser and make sure that there are no ASCOM.myFP2ASCOM.Focuser.dll files there (if there are delete them) and there is no folder myFP2 (if there is delete the folder)
    4. Run the ascom driver installer
    5. Install the ASCOM Driver test app and run it.
    6. Check Log file so a log file is generated
    7. Connect the focuser to the computer
    8. in the test app, Click Choose and select the ASCOM.myFP2ASCOM.Focuser driver. and click Properties
    9. In the setup form for the driver - , on the Connection tab, Set the COM port, Set the speed to 9600, chck Trace-On so a logfile is generated, then click Connect
    10. Back in the ASCOM test app chooser, click OK
    11. Back in the ASCOM test app, Click the Connect button

    If there is a connect error.
    I need the ASCOM Test app log file
    I need the ASCOM Driver log file (in documemts\ASCOM\Logs---- etc)
    A screenshot of any error message caused by Windows.

    I ALSO NEED YOU TO
    Install the latest Windows app (2508)
    Use Control Panel to delete the existing app first (Control Panel). Do not install the new version if there is already a version on the computer).

    Start the new Windows App
    Click on the Logging tab, Enable Messages
    Click on the Connection tab
    Set Com port and speed to 9600
    Click Connect
    If connects ok, that is expected
    If not, I require the Windows App error log file

    I attach Control-Panel screen shot - showing ASCOM info and another showing Windows App and ASCOM Test App info.

    Regards
    Robert

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.