Have you all gotten this sorted out?
Pegasus folks: when things go to offline support, we miss what the fix may be. I know a support goal is to keep problems private, but it would be helpful to have this information so we don't spend an entire evening trying to make something work.
- Newly provisioned Windows 11 22H2 mini PC powered via mains. I am connected to it over remote desktop.
- ASCOM 6.6 SP1
- Brand new Pocket Powerbox Advance Gen2
- CEM120 powered via mains
I have the same issue with a Pocket Powerbox Advance gen2. Unity screen comes up blank with just the settings block as described in this thread. I verified the server has started (I even tried to restart it, but the port was already bound, so it's running for sure). Little red light is on on the side of the device. USB-connected devices appear to work (although I didn't know this at first)
I then tried a number of steps, including restarting Unity in between them.
- I directly connected the PPBA to the PC (first connect was through mount built-in hub) using a quality USB3 cable.
- Tried different USB3 cables including the one that came with it.
- I uninstalled the Unity platform and tried the old drivers. No connection.
- I reinstalled Unity. Still no connection
Then, I tried to get the Uranus meteo sensor connected to the PPBA to see if the USB ports worked. It worked for a second, and then Unity popped up an error and crashed out. No event log entry. I ran it again. By skipping past the error, I was able to get the Uranus to come up again. Now it's coming up each time without that DPI exception. (Error at end of this post).
12v Power output from the PPBA2 works fine as far as I can tell (It's powering my focuser). If I connect the Uranus to it (minus the app errors), It seems to detect that. But the PPBA itself never shows up in Unity.
So PPBA seems to work, but I can't see it in or control it from Unity.
--
But wait! There's more now
As I was typing this up, I opened Unity again, and now the Pocket Powerbox Advance appears, but the Uranus doesn't!. So then I went back outside and unplugged and replugged the Uranus and now both show up. It feels like unity or the ASCOM drivers not finding the right COM port, but that's a wild guess.
So just to tempt fate, I closed Unity and then reopened it.
Back to square zero with no devices showing up. This feels so brittle and non-deterministic.
Closed it again. Waited like 30 seconds, and then reopened it, and now both devices appear.
(Aside, I clicked the little question mark at the top right of the map in the Unity app because I was wondering why, after an hour or so, still no GPS. The help button does nothing. I tried them in many places in the app and nada. If help is not implemented, I recommend hiding the buttons.)
Pete
Error when the Uranus is connected to the PPBAv2. Note I'm connected to this mount PC over remote desktop.
************** Exception Text **************
System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at DevExpress.Skins.DpiProvider.get_DpiScaleFactor()
at DevExpress.Skins.Skin.get_DpiScaleFactor()
at DevExpress.Skins.SkinElement.get_DpiScaleFactor()
at DevExpress.Skins.SkinElement.get_ActualScaleFactor()
at DevExpress.Skins.SkinElement.get_ActualInfo()
at DevExpress.Skins.Skin.ResetRenderedImage()
at DevExpress.Skins.Skin.ResetAllRenderedImage()
at DevExpress.Skins.Skin.OnSvgPaletteChangedCore()
at DevExpress.Skins.Skin.OnSvgPalettesChanged(Object sender, CollectionChangedEventArgs`1 e)
at DevExpress.Utils.Svg.SvgPaletteDictionary.RaiseChanged(CollectionChangedAction action, SvgPalette palette)
at DevExpress.Utils.Svg.SvgPaletteDictionary.OnSvgPaletteChanged(Object sender, EventArgs e)
at DevExpress.Utils.Svg.SvgPalette.RaiseChanged()
at DevExpress.Utils.Svg.SvgPalette.SetCustomPalette(SvgPalette palette, Boolean forceUpdate)
at DevExpress.Skins.Skin.UpdateTemplateSkinCustomPalette()
at DevExpress.LookAndFeel.UserLookAndFeel.SetSkinPalette(String paletteName)
at DevExpress.LookAndFeel.UserLookAndFeel.SetStyle(LookAndFeelStyle style, Boolean useWindowsXPTheme, Boolean useDefaultLookAndFeel, String skinName, String paletteName)
at Peg.UI.Theming.LookAndFeelService.SetSkinStyle(UserLookAndFeel lookAndfeel, Theme theme)
at Peg.UI.Theming.LookAndFeelService.ModifyUserLookAndFeelToCurrentTheme(UserLookAndFeel userLookAndFeel)
at Peg.UI.Core.WaitForm.get_TargetLookAndFeel()
at DevExpress.XtraSplashForm.SplashFormBase.get_SplashFormSkinElement()
at DevExpress.XtraSplashForm.SplashFormBase.get_DrawAlertWindowBackground()
at DevExpress.XtraSplashForm.SplashFormBase.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)
at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)
at System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e)
at System.Windows.Forms.TableLayoutPanel.OnPaintBackground(PaintEventArgs e)
at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)
at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)
at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.BaseWndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
...