Windows XP Plug and Play Can Affect Your Scale Communciation

Find answers to assist you in getting the most out of your GSE products.

Windows XP Plug and Play Can Affect Your Scale Communciation

Postby gseadmin » Wed Apr 08, 2009 7:28 am

Windows XP Plug and Play can interfere with scale communications if the PC is booted when the scale is already running. This happens especially if the scale is transmitting when the PC boots.

To stop XP from trying to detect devices on the RS-232 ports:

Modify the file "boot.ini"
1. To access boot.ini: <Start> <Control Panel> <System> <Advanced> [Startup and Recovery] <Settings> <Edit>. This will open the boot.ini file. This is where the computer decides if it should ask you to choose an operating system or configuration at startup.
2. It is a good idea to keep the existing operating system choice and create another choice until you are sure there are no errors in your changes. Go back and remove the original when you are done.
3. Newer versions of XP may have fastdetect already set. If "/fastdetect/" without a port argument is already in this file you do not need to make any changes to this file and can go on to registry changes. Fastdetect tells XP not to check for a mouse on the serial port(s). This examples tells it not to detect on port 3. If you leave out the port argument ":COM3" then it will not look for a mouse on any Comm Port. To enter specific multiple Comm Ports use a ";" /fastdetect:COM1;COM3...etc./

Example of "boot.ini"
[boot loader]
timeout=30
default= multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional"/noexecute=Alwaysoff / noguiboot
multi(0)disk(0)rdisk(0)partition(1) \ WINDOWS="Microsoft Windows XP Professional test 1 don't detect the mouse" / noexecute= Alwaysoff /fastetect:COM3 / noguiboot

Registry Changes
1. Start Regedit (<Start> <Run> enter "regedit").
2. First backup your registry just in case. <File> <Export>, check the radio button that says ALL and export it.
3. Go to "My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\serenum\enum"
4. Your Comm Ports will be identified by number "0" being port 1, etc.
5. The names of your serial ports will be in the data column. Print this or write them down.
6. Find the Comm Port Name that you discovered above. "My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\[the directory and name]\Device Parameters"
7. The screen shot below shows the registry location for this example.
8. Then do <Edit> <New> <DWord Value>
9. Enter "SkipEnumerations" just like you were renaming a file.
10. Right Click Skip Enumerations and click Modify. Enter ffffffff (eight f's).
11. Do this for every port that you don't want plug and play to run on.

Return to Public Knowledge Base



cron