Sorry I wasn't complete enough - it has be outside the telescope conditional logic, too. And to work properly the telescope and camera have both to be connected.