Permanent sleep


Closed Thread
Results 1 to 40 of 59

Thread: Permanent sleep

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    LMAO nah i don't have as this much of COM port. I only have 13. But you know, some USB-Serial (if not all) default value will be higher than COM15 - 16... which is the MSComm limit. Sure there's a way to do it with old VB version (5-6). Maybe one day i'll do a deeper API/DLL search.

    I'm afraid, i will need to move to .NET soon
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    LMAO nah i don't have as this much of COM port. I only have 13. But you know, some USB-Serial (if not all) default value will be higher than COM15 - 16... which is the MSComm limit. Sure there's a way to do it with old VB version (5-6). Maybe one day i'll do a deeper API/DLL search.
    The problem with USB-Serial adapters is the way that windows works.

    USB is not the easy "Plug'n'play" solution that it should be. If you plug a Prolific USB-Serial adapter into a PC it is detected and assigned the next unused COM number. so lets say it gets assigned COM3

    All good so far..... except next time you decide to use it you plug it into a different USB post on your PC, now Windows sees it and depite it being the SAME physical adapter it installs it again, this time as COM4

    All it recognises is the Vendor ID and Product ID so ANY Prolific USB-Serial adapter plugged into your first USB port will be COM3 and likewise the secind USB port would be COM4.

    If however you plugged an FTDI USB-Serial adapter into your first USB port, it gets installed as COM5 because it is a different Vendor and Product.

    Worst of all, you cant uninstall an adapter unless it is actually plugged in because it doesnt exist in Device Mangler.

    I was working with a piece of kit a couple of years ago that HAD to use a USB Serial Adapter and the software HAD to run on COM3. Plugged an adapter in and it got assigned COM4 because a different brand had previously been used.

    I did however discover that if you change the adapter you want to be COM3 to COM3, the "other" non existant comport then gets assigned a differnt com number.

    Trying to remember which adapter you used and on which USB port is a real headache !!!
    Keith

    www.diyha.co.uk
    www.kat5.tv

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by keithdoxey View Post
    Trying to remember which adapter you used and on which USB port is a real headache !!!
    Thats not as bad as having kids that will move keyboards around just to see dad type on the wrong machine. Gotta do a color code.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Thats not as bad as having kids that will move keyboards around just to see dad type on the wrong machine. Gotta do a color code.
    Ive got kids...I also sometimes have multiple keyboards in front of my and I can manage to type on the wrong one with no interference from the kids!!!

    Wouldnt be so bad but one PC, Keyboard and Mouse is black the other is White !!!!
    Keith

    www.diyha.co.uk
    www.kat5.tv

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  2. Battery powered applications
    By NavMicroSystems in forum Off Topic
    Replies: 7
    Last Post: - 22nd June 2009, 07:12
  3. Using Sleep
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th August 2008, 04:05
  4. 16F628A current high during sleep
    By Rubicon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 9th October 2006, 10:21
  5. Wierd sleep issue
    By orca in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th March 2006, 22:06

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts