Version

Be sure you have the current version. It may contain fixes for bugs from earlier versions. Because Imatest 3.6+ uses a new compiler and has somewhat different (and generally more thorough) error reporting, some paragraphs below are prefixed "Pre-3.6" or "3.6+".

The version number appears in the top bar of the Imatest main window. If it's not the same as the latest version shown in the Change Log, you should download, install, and run the latest version.

Windows Vista   To run Imatest in Windows Vista,
you'll need version 2.3.3 or later.

If Imatest stops working, the problem is frequently a bad entry in imatest.ini, described below. Uninstalling and reinstalling Imatest rarely helps. Imatest.ini issues should always be addressed first.

Installation

Update installations do not normally require an uninstall of the previous version, but if you encounter difficulties you may want to uninstall and reinstall Imatest. The Uninstaller is accessible from the Start menu (Start, All programs, Imatest, Uninstall) or from the Add or Remove Programs function of the Control Panel. It gives you the option of keeping or removing the Matlab runtime library archive (Imatest-lib.exe in versions prior to 3.6). (Keep is the default; you have to check the box to remove it.) Keeping it speeds up reinstallation. Remove it only if you don't plan to reinstall Imatest or if you have good reason to suspect it may be corrupted (a rare occurrence). Click here for full installation instructions.

Important changes with Imatest 3.6

Starting with Imatest 3.6, the new R2009B compiler (Version 4.11) replaces the old R13 compiler (Version 3.0.1). The new compiler requires a much larger library download: the 178MB Matlab Compiler Runtime (MCR) (a sort of virtual machine). Imatest is normally compiled as a 32-bit application, which runs on 32 and 64-bit computers. (64-bit applications have little performance advantage and won't run on 32-bit computers.)

The first time you download Imatest 3.6+ you should click on Full version, which contains the MCR. The download and installation may take several minutes each. When the installation is finished,

Once the MCR has been installed, you should click on Upgrade only to update Imatest.

If you try running Imatest before the MCR has been installed the following message may appear. 

This application has failed to start because mclmcrrt711.dll was not found.

Problems during installation

Installation or registration can fail if

Install error

 

Pre-3.6: This message sometimes appears in systems that have strong firewalls. It can usually be corrected by making sure the Matlab runtime library, Imatest-lib.exe, available from the Download page, is in the same folder as the Imatest installation file. You may need to temporarily disable your firewall and manually download the library file.


If you have receive an indication of a "DNS error" (very rare), try clicking Start, Run... Enter ipconfig /flushdns in the Open... box, then click OK.

Problems following installation

Pre-3.6:  The most common installation problem is a failure of the Matlab runtime library, Imatest-lib.exe, to download or install properly. This results in an error message of the form,

"The procedure entry point ... could not be located in the dynamic link library ... .dll."

If you get such a message, check to see if file Imatest-lib.exe has been downloaded correctly. Also, check the status of your firewall. Strong firewalls have caused this problem.

Windows XP Explorer reports its size as 8,513 kB, but the tooltip that appears when you move the cursor over the file name reports its size as 8.31 MB (go figure). If the download failed, a smaller size may be reported.

If you fail to find Imatest-lib.exe or if you suspect that it was downloaded incorrectly, download it by right-clicking here or on any of the links in this section, then reinstall Imatest. Imatest-lib.exe is a self extracting zip file that places the Matlab runtime library in subfolder bin\win32 and toolbox\matlab of the Imatest installation folder. If problems persist, check to see that these folders are populated, then send e-mail to Imatest support with the text of the error message, if any, that appears in the DOS window.

3.6+:  If you get a message similar to "This application has failed to start because mclmcrrt711.dll was not found," you'll need to download and install the FULL version, which contains the Mathab Runtime library (the MCR). This only needs to be done once for Imatest 3.6+. The download and installation may take several minutes each. Upgrade downloads and installations are much faster.

Pre-3.6: Missing DLL files  In rare instances, four DLL files, jpeg_depth.dll, dataread.dll, imjpg8.dll, and rjpg8c.dll, may be missing from subfolder toolbox\matlab\iofun\private\ of the Imatest installation folder. Because they are not included in Imatest-lib.exe they are installed using a different procedure, which fails in fewer than 1% of installations. If you get a message that indicates they may be missing, you should check for them in the subfolder and install them manually if they are absent.

Runtime errors

If Imatest does not run as expected, the DOS window that normally stays minimized may contain helpful information. You can open it by clicking on the Imatest DOS Window icon in the taskbar. Here are some potential problems.

Imatest.ini  (and also rescharts.ini, multicharts.ini, etc.) contain saved settings that speed up Imatest runs. It is created when Imatest is first run. Settings include regions of interest (ROIs), plot selections, plot scales, and calculation techniques. Sometimes a setting gets corrupted and causes Imatest to crash— prior to Imatest 3.7.

Ini files are text files structured so that section titles are enclosed within brackets ( [ ... ] ) and lines have the form name = value, e.g., nwid_save = 2601.

     [section]
     name1 = value1
     name2 = value2
               ...
     [next_section]

Imatest 3.7+  If a bad line is detected (with form other than name = value), the following window appears:

Ini file error message

The message indicates that there is an error on line 2. After OK is pressed, the ini file opens in Notepad. Delete or correct the offending line, then save the file. You can close Notepad and restart Imatest.

Pre 3.7:  If Imatest crashes and you receive a message that resembles, "ERROR: Error in parsing the file for keys: C:", imatest.ini has been corrupted. It may contain some text that does not correspond to the standard ini file format. You'll need to open imatest.ini (location below) and remove the offending code. Or delete (or rename) it if you can't find the bad text.

There are several things you can do if you suspect that an ini file has been corrupted.

  • In the Imatest Main window (or in the Rescharts or Multicharts windows), click Settings, Reset defaults (all). This deletes imatest.ini, then recreates it with a few default values. The sections are repopulated when modules are run. Since all settings are lost, this is only recommended as a last resort.
  • Click Settings, View settings (ini file). This opens imatest.ini (or rescharts.ini or multicharts.ini if you are running one of those modules) in a simple editor (Notepad) that you can edit (if you have any idea what to change), then save by pressing control-S. You can also copy the contents and paste it into an email to Imatest support, as described below.
  • Imatest 3.6+: Click Settings, Copy settings (ini file). This copies the ini file to the clipboard. You can paste it directly into an email for us.
  • Click Settings, Edit/reset module(s) to open the INI file Editor/Debugger, shown below.
You can select a section to view or delete from the Section dropdown menu. To edit a line, select it in the large window, make the change in the edit window just above the large window, then press Enter. To delete the entire selection, press the Delete section contents button. When you are ready to save the changes press the Save button, which is grayed out until changes are made. If you with to cancel your changes, press either Reload ini file or Close.

If you cannot solve the problem, send an e-mail to Imatest support.

The Command (DOS) window
Imatest runs from a Command window (resembling a traditional DOS window) that normally stays minimized. When a run terminates unexpectedly or just stalls, the DOS window may contain useful debugging information. To get the DOS window contents,

Click on the Imatest icon in the taskbar (usually at the bottom of the screen) to bring up the DOS window.

Pre-3.6:  Procedure 1: Copy and paste text (simple, but a little tricky)

  • Right-click inside the DOS window, then click on Select All in the context menu.
  • Alternately, you can click on the icon on the upper-left of the window, click on Edit, click on Mark, then drag the cursor to select the text to copy.
  • Press Enter (or Return) on the keyboard. This is equivalent to Ctrl-C (Copy) in Windows (which doesn't work in the DOS window).
  • Paste the text into your e-mail using a standard Windows Paste command (Ctrl-V or Edit, Paste).
  • It's OK to delete obviously irrelevant text before you send the e-mail.

Pre-3.6:  Procedure 2: Copy and paste screen dump image (complex but reliable)

  • Click Alt-PrtSc or Alt-PrintScreen, depending on the keyboard.
  • Paste the image (from the clipboard) into an image editor. In most image editors (for example, IrfanView, a great free utility ), click Edit, Paste or control-V.
  • Save the image as a GIF or PNG file (much smaller than TIFF or BMP and clearer than JPEG).
  • Attach the file to the e-mail (or include it inline).

 

Diagnostics runs

For Imatest errors that shut down the DOS window (this has become rare), or where extra diagnostic results may help in locating a problem,

In some instances you can fix the problem by deleting imatest.ini (or renaming it, which is better because you have a record). Instructions here.

Path conflicts when other versions of Matlab are installed

X   The procedure entry point svDoubleSclarRemW could not be
     located in the dynamic link library libmwservices.dll

If a different version of Matlab from the one used for Imatest (6.5.1) has been installed on your system, there is a tiny chance that you may experience a path conflict that causes a similar error message— or Imatest may simply fail to run. This rarely happens because the batch file that initiates Imatest sets the path. Path issues and solutions are discussed in API/EXE instructions.

Rare occurrences

 

Bugs and all that

Pre-3.6:  The following message appears several times in the DOS window when you try to save data.

     Function 'get_param' is not implemented in standalone mode.

This has no effect on the saved images, and it's rarely visible since the DOS window remains in the background. Matlab has described the problem, to be fixed in a future release, here.

Pre-3.6:  The Open files dialog box in some modules cannot be resized. This is a bug in Matlab Release 13. (However SFR has a new Open files dialog box that can be resized. And multiple files can be selected.)

More documentation

Instructions for individual Imatest modules can be found in the Imatest Documentation page.




Subscribe to the Imatest Newsletter