terjeio / ioSender

A GCode Sender for Grbl and grblHAL written in C# (Windows only).
BSD 3-Clause "New" or "Revised" License
207 stars 65 forks source link

Windows: Unable to select new COM port if prior selected port has invalid / null response / timeout #324

Open DrFrankReade opened 10 months ago

DrFrankReade commented 10 months ago

Reproduce: Start a fresh install of ioSender. Select the COM port that your UPS / Arduino or whatever is on. Continue, ioSender will exit without allowing selecting an alternate COM port. Subsequent restarts will not allow selection of a new, valid COM port.

image

Work-around is to delete App.config and restart ioSender

Suggest a new dialog box: Error no response lalalalaal Would you like to reconfigure ioSender communications? Y/N

phil-barrett commented 10 months ago

You can get ioSender to put up the dialog by unplugging the USB port, restarting ioSender and after the dialog comes up, plugging USB back in. You can also specify PORT as a command line option. I suggest this for changing the com mechanism from USB to Ethernet or WiFi.

But, there must be something else going on preventing ioSender and grblHAL communicating.

terjeio commented 10 months ago

You have three options:

  1. Delete the app.config file in the sender folder and restart as you have discovered.
  2. Set the port on the command line in a shortcut.
  3. Force the sender to show the port selection dialog on startup, again by a command line parameter. The previous port selection is remembered.

See this wiki page for details.