Jump to content

Banner.jpg.b89429c566825f6ab32bcafbada449c9.jpg

Parallax

Members
  • Posts

    583
  • Joined

  • Last visited

Posts posted by Parallax

  1. In the VB Help type "serial ports availabilty" into the 'Look for' box.

    Here is the code. They have used a ListBox but you can use a ComboBox.

    Sub GetSerialPortNames()

    ' Show all available COM ports.

    For Each sp As String In My.Computer.Ports.SerialPortNames

    ListBox1.Items.Add(sp)

    Next

    End Sub

    As for using the USB supply for the motor - I have, and it does work BUT if you are pointing near the zenith with a lot of weight hanging off the focuser then it might struggle.

    Steve

  2. Just a quick suggestion.

    For those that use USB to serial adaptors, 4 COM ports might not be enough to choose from. You can alter your code quite easily to use a drop down box as I have done in the attached pic. The code is somewhere in the VB help. It populates the combo box with all the installed com ports.

    Nice and easy solution by the way.

    Steve

    post-14051-133877470994_thumb.jpg

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.