View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002500 | SkyChart | 1-Software | public | 22-01-20 12:10 | 22-04-11 10:40 |
| Reporter | Armando Beneduce | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | won't fix | ||
| Summary | 0002500: Set PC clock time by telescope clock | ||||
| Description | Hi Patrick, several mounts make use of GPS; it could be nice to get time by telescope (manually from the panel that currently allows to get mount coordinates and to set mount clock). I know that changing PC clock time requires administration rights. But I think a script called by SkyChart itself to set time with admin rights could be feasible. Thank You and Clear Skies! Armando Beneduce | ||||
| Tags | No tags attached. | ||||
|
|
I am a bit reluctant to make that available from CdC because changing the system time is a tricky operation due to the variety of possible configuration. I not want to give the impression this can be done by a simple click without be sure this is compatible with the environment. Why not make the script totally independent of CdC? the advantage is it can be run before to start CdC or other software. To get the time from the telescope is very simple: - for ASCOM : var T = new ActiveXObject("ASCOM.Simulator.Telescope"); T.Connected = true; WScript.Echo(T.UTCDate); - for INDI: indi_getprop "GPS Simulator.TIME_UTC.UTC" |
|
|
Hi Patrick, I created a script but I had also to make a copy of cscript.exe to assign it admin rights to be able to set system time. This is the reason why I asked for such a feature. I'm going to add a command to sync mount to its GPS. So I agree with you: probably it's worth letting the user making his own scripts according to his needs. Thank you and Clear Skies! Armando Beneduce |
|
|
Good a script work for you. I am sure this is a much better solution. Be sure you run this script early after the system boot when no application is running. A brutal time change can make perturbation in capture or scheduling application. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 22-01-20 12:10 | Armando Beneduce | New Issue | |
| 22-01-20 23:43 | Patrick Chevalley | Note Added: 0007386 | |
| 22-01-21 14:20 | Armando Beneduce | Note Added: 0007387 | |
| 22-04-11 10:40 | Patrick Chevalley | Status | new => resolved |
| 22-04-11 10:40 | Patrick Chevalley | Resolution | open => won't fix |
| 22-04-11 10:40 | Patrick Chevalley | Note Added: 0007510 |