Required

Telescope.SetupDialog() Method

Displays a setup dialog, allowing the user to set telescope-specific values such as baud rate, geodetic position, etc.

Syntax

Telescope.SetupDialog()

The method syntax has these parts:

Part Description
Return (Nothing) Does not return a value.

Remarks

If there are no setup items, a simple popup box with the driver name and version should be displayed, along with a message that no setup or configuration is required. Drivers may raise an error if the telescope is connected when this method is called (as a way of preventing config changes while the driver is active).

The SetupDialog must contain, at a minimum, two graphical elements:

NOTE: The setup dialog typically includes selection of the serial (COM) port to be used for telescope communication. If this is implemented in the setup dialog, then it should include the ability to dynamically discover and offer for selection all COM ports on the system. If dynamic discovery is not included, then at least 32 COM ports should be offered for selection. This is necessary because most newer systems use USB-to-serial adapters, and these devices may appear on high-numbered COM ports. Again, dynamic discovery is preferred.