GithubHelp home page GithubHelp logo

ascom-switch-hub's People

Contributors

jlecomte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ascom-switch-hub's Issues

Devices attached to the hub may have name collisions

My setup uses a Pegasus Astro Powerbox Micro and a Pegasus Astro USB Control Hub. Both devices have a 'Voltage' gauge and it's not immediately apparent which gauge corresponds to which device.

image

Perhaps the name of the device could be appended to the gauge/switch name in some way?

Fantastic software, fantastic implementation too!!

Multiple instanaces of teh SAME switch device?

Thanks for writing this.

Is there a way to control more than one switch of the same type?. I have three digital logger pros, one controls everything on the telescope and the mount. A second controls the weather instruments and their computer that is located in the lower lever of the observatory. The third one controls the dome louvers and fans and is located in a third locations in the observatory.

Is there a way to solve this?

Unsigned assembly

During registration of the dll a warning is produced about the assembly being unsigned:

RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.

Note, the ascom switch hub still is able to function just fine despite the warning.

Fantastic software, fantastic implementation too!!

ASCOM.DriverException: WebClient does not support concurrent I/O operations.

When using the switch hub with DigitalLogger switch experience an ASCOM exception - ASCOM.DriverException: WebClient does not support concurrent I/O operations.
This occurs when calling switch a second time in sequence: Log snippets:

Start of sequence switch usage:
2023-09-13T18:25:40.8304|INFO|SequenceItem.cs|Run|206|Starting Category: Connector, Item: ConnectEquipment, Selected device: Switch, Selected device id: ASCOM.DarkSkyGeek.SwitchHub
2023-09-13T18:25:49.8965|INFO|SwitchVM.cs|Connect|266|Successfully connected Switch. Id: ASCOM.DarkSkyGeek.SwitchHub Name: DarkSkyGeek’s ASCOM Switch Hub Driver Version: 1.0
2023-09-13T18:25:49.8966|INFO|SequenceItem.cs|Run|224|Finishing Category: Connector, Item: ConnectEquipment, Selected device: Switch, Selected device id: ASCOM.DarkSkyGeek.SwitchHub

2023-09-13T18:25:50.6375|INFO|SequenceItem.cs|Run|206|Starting Category: Switch, Item: SetSwitchValue, SwitchIndex 3, Value: 1

2023-09-13T18:56:56.2120|INFO|SequenceItem.cs|Run|206|Starting Category: Switch, Item: SetSwitchValue, SwitchIndex 3, Value: 0
2023-09-13T18:57:04.8718|INFO|SequenceItem.cs|Run|224|Finishing Category: Switch, Item: SetSwitchValue, SwitchIndex 3, Value: 0

End of sequence usage:
2023-09-14T03:56:11.1509|INFO|SequenceItem.cs|Run|206|Starting Category: Switch, Item: SetSwitchValue, SwitchIndex 3, Value: 1
2023-09-14T03:56:11.1519|ERROR|SequenceItem.cs|Run|233|Category: Switch, Item: SetSwitchValue, SwitchIndex 3, Value: 1 -
ASCOM.DriverException: WebClient does not support concurrent I/O operations.
---> System.Exception: WebClient does not support concurrent I/O operations.
--- End of inner exception stack trace ---
at ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(String memberName, Exception e)
at ASCOM.Com.DriverAccess.DynamicAccess.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result)
at CallSite.Target(Closure, CallSite, Object, Int16, Double)
at ASCOM.Com.DriverAccess.Switch.SetSwitchValue(Int16 id, Double value)
at NINA.Equipment.Equipment.MySwitch.Ascom.AscomWritableSwitch.SetValue() in C:\Projects\nina\NINA.Equipment\Equipment\MySwitch\Ascom\AscomWritableSwitch.cs:line 36
at NINA.WPF.Base.ViewModel.Equipment.Switch.SwitchVM.SetSwitchValue(Object arg) in C:\Projects\nina\NINA.WPF.Base\ViewModel\Equipment\Switch\SwitchVM.cs:line 91
at NINA.Sequencer.SequenceItem.SequenceItem.Run(IProgress`1 progress, CancellationToken token) in C:\Projects\nina\NINA.Sequencer\SequenceItem\SequenceItem.cs:line 27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.