Troubleshooting |
1.) Failed initialization
2.) When scanning, the scan halts for no obvious reason
3.) Device stops responding
| ||||||||||||
Understanding LL_USBLoad.txt |
This file is generated by the DLL when it finds that there is a version compatibility error between
itself and the device driver. Open LL_USBLoad.txt using the Windows notepad. You should see something that looks like one of the following
Reasons and solutions for example A
Reasons and solutions for example B
|
Initialization failed, but returned quickly |
When this happens without the file
named LL_USBLoad.txt, being created in the application
directory, there can be multiple explanations.
|
Scan halts - possible data buffer wrap |
Problem and solutions
|
Scan halts - possible power loss or spike |
Problem and solution
|
Device stops responding - possible power loss or spike |
Problem and solution
|
What is LL_USB.INI and where is it located |
The main configuratin file LL_USB.INI is required by our DLL. It is installed in the Windows folder
by the operating system during installation of the M30x. The file is included with the other installation files on either
the distribution floppy diskette that was included with your hardware, or
downloaded
from our website either within an archive that contains all the required installation files, or singly. The file is preconfigured with default values. You can view the contents of the file online HERE. |
Entering device ID in application window |
Some of our sample applications allow the device ID to be entered into a box on the main application panel prior to initialization. There may already be a device ID entered in the box, which unless you are also using a configuration file,  must be replaced with your device ID. |
Allowing DLL to find device ID |
Some of our sample applications may include a feature that allows the DLL to search for, and initialize the first M30x device that it finds connected to your system. This type of application may also have other options for the DLL to automatically load one or more device ID's from a .INI type configuration file. If either of these methods are used, they will be documented within the archive from which you extracted the application. |
DLL is not found by application |
|
Initialization fails but takes a while to return |
When this symptom occurs, it usually indicates that the DLL has found the device ID but
is having difficulty in it's attempt to enumerate. It may try several times before returning,
which can sometimes take a few seconds or longer. Possible causes and solutions
|
About the configuration files |
Special Note:
There is one main configuration file called LL_USB.INI which is installed automatically
by the installation process used the first time you install any of our M30x devices. This file is discussed elsewhere
and is never used by an application for passing a device ID to the DLL. The device ID and other information is usually stored in a configuration file with a name such as LL_USB.cfg located in the application directory. Incorrect information, can cause the application to fail to initialize.
|
Finding version information |
|
Replacing old style application configuration files |
Follow this link to
our website where you can download a new copy of the old-style configuration file. You must place the file in your application
folder and also edit it to replace the device ID that it will have, with your device ID. If using a Model302, you will also
need to change the entry in that file from 301 to 302. Read below about how
to edit the file.
|
Can't see file extension in Windows Explorer |
There is an option in Windows Explorer ( file manager ) to hide the file extension of
known file types. When editing a file such as our LL_USB.CFG file, you must have the file extension
visible. To make the extension visible, select Tools from the menu at the top of Windows explorer and then select Folder Options from the drop-down menu. You should see some tabs in the window that is displayed, from which, select View and then select look for the option to Hide extensions for known file types and uncheck the box. Finally, hit the OK |
File extension change during save |
Some editors will change, append, or in some way modify a file when saving after being edited. For example when our LL_USB.CFG is edited in the windows notepad editor and then you ask it to save the file, it may save the file as, LL_USB.CFG.TXT and when this is done, the application will not be able to read the file. If this happens, simply remove the .TXT so it once again reads the way it did before editing it. |
Sample application configuration file |
Below is an example of a LL_USB.CFG configuration file that may be used with some of our
sample applications.
This file is intended to be used for either the M301 or M302, but not both at the same time. If you are intending to use one or more M301 devices in your application, then have only those device ID numbers in this file, and likewise for the M302. Other entries could cause erroneous behavior. |
|
|
|