I've been trying to get Astroplanner v1.6.1 to play nice with CDC v3.0.1.4, and vice versa. I haven't been successful in getting AP to update the FOV in CDC properly. The Site info, time, and FOV get updated ok in CDC, but not the RA & DEC. Somehow, the sequence of commands that AP sends to CDC results in the RA & DEC getting lost.
I was doing some debugging into this interaction, and found a sequence of commands that can be sent to CDC to allow it to work as desired: Currently, AP sends this sequence of commands to CDC to match AP's FOV (I'm using M1 for an example): SETOBS LAT:+00d00m00sLON:+000d00m00sALT:000mOBS:name SETDATE yyyy-mm-ddThh:mm:ss SETRA 5.575548 SETDEC 22.014467 SETFOV 1.045000 REDRAW This results in CDC correctly changing everything except the RA & DEC upon the REDRAW command. I found that somehow if a SETDATE command is issued in combination with SETRA and SETDEC, without a separate REDRAW command for SETDATE, then CDC forgets about the new settings for RA & DEC. After finding this, I found that the following series of command sent to CDC do indeed work: SETOBS LAT:+00d00m00sLON:+000d00m00sALT:000mOBS:name SETDATE yyyy-mm-ddThh:mm:ss REDRAW SETRA 5.575548 SETDEC 22.014467 SETFOV 1.045000 REDRAW The key here is that a REDRAW command is issued following the SETDATE command. That way the values for SETRA and SETDEC don't get forgotten. Paul, If you could, this workaround could be an easy tweak for AP v2.0. Patrick, you probably want to know about it too, and find out why SETDATE causes SETRA & SETDEC to be forgotten without a REDRAW. Thanks, David Sharp
