Optics5 (5.1.01) Knowledge Base

Last Updated: 02/09/12

Table of Contents

INSTALLATION EXECUTION
bullet

** Operating Systems -- Microsoft Windows 7 and Vista **

bullet

**  Running Optics5 with Microsoft Windows 7 and Vista **

bullet

** Running Optics5 with Microsoft Windows 7 and Vista 64 bit **

bullet

Optics5 may not work correctly with regional/locale settings using "," as a decimal separator.

bullet

Which Windows operating systems can be used to run Optics?

bullet

"Class Does Not Support Automation or Expected Interface" error message

bullet

How much hard disk space should be available to install Optics?

bullet

 Optics user manual

bullet

I receive a virus warning (nimda-virus) when installing Optics. What should I do?

bullet

NFRC Procedure for Applied Films

bullet

I have installed Optics but I can't find the program or the icon.

bullet

NFRC Procedure for Creating Laminates

bullet

I receive an error when installing Optics. What should I do?

bullet

Some of the windows in Optics are bigger than my screen. How can I solve this?

bullet

License Agreement

bullet

Report a bug or ask a question about Optics

INTERNATIONAL GLAZING DATABASE
bullet

I have imported a text file, but it is not loaded in one of the glazing slots

bullet

I have a question about the database. What should I do?

bullet

Optics does not allow creation of a laminate with a specific coating facing an interlayer

bullet

I want to submit data for the database. Who should I contact?

bullet

Warnings for a wavelengths when a laminate is created or a layer changed. Are the calculation results ok?

 
bullet

Format for importing measured spectral data

USER DATABASE
bullet

Transform A Layer

 
bullet

How do I import a text file and save it to the user database?

 
bullet

User database shows Error! in results boxes

 
CONTACT KNOWN BUGS
bullet

Report a bug

bullet Bug with Applied Film on Coated Substrates
bullet

Submitting data for the database

bullet Optics freezes or crashes retrieving a glazing from the database.
 
bullet

Tools | Options freezes when the IGDB is not found in the expected location.

 

 

INSTALLATION

Running Optics5 with Microsoft Windows 7 and Vista

In order for Optics5 to run under the Microsoft Vista operating system, several OCX files need to be registered.

We have created a DOS Batch file that will register all the appropriate OCX files, called VistaFix.bat.

  1. Download VistaFix.zip and extract the file it contains (VistaFix.bat) into your user directory (\users\xxxx).

    NOTE: Make sure to UNZIP the BAT file -- it will not run from within the ZIP file
     
  2. *** VERY IMPORTANT *** Right click on the VistaFix.bat file from Explorer and pick "Run as Administrator"

    -- do this EVEN if you are ALREADY Administrator on your computer !!!!


     
  3. Email Optics5Help@lbl.gov if this does not fix the problem

Here is what the VistaFix.bat file is doing:

******VistaFix.bat*******
rem Fix problems with Optics5 running on Windows Vista
rem Unregister and then re-register the OCX components
rem Has to be run as administrator
rem Written by Christian Kohler on June 8 2007

regsvr32.exe /u /s c:\windows\system32\comctl32.ocx
regsvr32.exe  /s c:\windows\system32\comctl32.ocx
regsvr32.exe /u /s c:\windows\system32\mscomctl.ocx
regsvr32.exe  /s c:\windows\system32\mscomctl.ocx
regsvr32.exe /u /s c:\windows\system32\mschrt20.ocx
regsvr32.exe /s c:\windows\system32\mschrt20.ocx
regsvr32.exe /u /s c:\windows\system32\msflxgrd.ocx
regsvr32.exe /s c:\windows\system32\msflxgrd.ocx
regsvr32.exe /u /s c:\windows\system32\gridex20.ocx
regsvr32.exe /s c:\windows\system32\gridex20.ocx
regsvr32.exe /u /s c:\windows\system32\comdlg32.ocx
regsvr32.exe /s c:\windows\system32\comdlg32.ocx

*********

Running Optics5 with Microsoft Windows 7 and Vista 64 bit

In order for Optics5 to run under the Microsoft Vista 64 bit operating system, several OCX files need to be registered.

We have posted a DOS Batch file here (thank you to Jack de Valpine for creating it) that will register all the appropriate OCX files, called VistaFix64.bat.

  1. Download VistaFix64.zip and extract the file it contains (VistaFix64.bat) into your user directory (\users\xxxx)
     
  2. *** VERY IMPORTANT *** Right click on the VistaFix.bat file from Explorer and pick "Run as Administrator"

    -- do this EVEN if you are ALREADY Administrator on your computer !!!!


     
  3. Email Optics5Help@lbl.gov if this does not fix the problem

Here is what the VistaFix64.bat file is doing:

******VistaFix64.bat*******

regsvr32.exe /u /s c:\windows\SysWOW64\comctl32.ocx
regsvr32.exe /s c:\windows\SysWOW64\comctl32.ocx
regsvr32.exe /u /s c:\windows\SysWOW64\mscomctl.ocx
regsvr32.exe /s c:\windows\SysWOW64\mscomctl.ocx
regsvr32.exe /u /s c:\windows\SysWOW64\mschrt20.ocx
regsvr32.exe /s c:\windows\SysWOW64\mschrt20.ocx
regsvr32.exe /u /s c:\windows\SysWOW64\msflxgrd.ocx
regsvr32.exe /s c:\windows\SysWOW64\msflxgrd.ocx
regsvr32.exe /u /s c:\windows\SysWOW64\gridex20.ocx
regsvr32.exe /s c:\windows\SysWOW64\gridex20.ocx
regsvr32.exe /u /s c:\windows\SysWOW64\comdlg32.ocx
regsvr32.exe /s c:\windows\SysWOW64\comdlg32.ocx

*********

Which Windows operating systems can be used to run Optics?

Optics version 5.1.1  is tested under Microsoft Windows XPTM,  Windows 2000TM, Windows 98TM (Service Pack 2), Windows 2000TM and Wndows METM. Optics5 should also function under windows NT (Service Pack 4), but this has not been extensively tested.  Optics5 has only been tested on computers using regional settings which use "." as a decimal separator.  We recommend that you use these settings when running Optics5.

Optics5 has been tested and run successfully on Apple computers with Intel processors by using Parallels Desktop 3.0 for Mac. This software allows you to install Windows XP or Windows Vista on your Mac, and you can install our software in that version of Windows XP or Vista. See www.parallels.com for more information.

Windows 95 is no longer supported.

Back to Top

How much hard disk space should be available to install Optics?

At least 30MB of free hard disk space is required for the installation.

Back to Top

I receive a virus warning (nimda-virus) when installing Optics. What should I do?

When you are running Norton AntiVirus(TM) software and you are using the virus definition file of 9 November2001, a FALSE virus alert (w32nimda virus) may be triggered when installing Optics.

This virus definition file provided by Symantec incorrectly identified the InstallShield Professional 6.31 script engine (ikernel.exe) as being infected by the W32.Nimda.enc (dr) virus. This is a false positive. Symantec has already updated their virus definition files. If you encounter this problem, please update your Norton AntiVirus(TM) definition file. For complete details, see http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q105740

Back to Top

I have installed Optics but I can't find the program or the icon?

Normally, Optics will automatically install an icon on your desktop. If this icon has not been added, you can add an icon to the desktop by right clicking on your desktop and selecting

New | Shortcut

on the pop-up window. Select the location where you installed Optics (Default: "c:\program files\lbnl\optics5\optics5.exe").

You can also start the program by selecting the START button on your desktop and selecting:

Programs | LBNL Software | Optics5

Back to Top

I receive an error when installing Optics. What should I do?

There are multiple reasons why you may receive an error message.

One of the reasons is that you have other software running which uses one of the operating system components that Optics wants to install. To fix this, abort the installation, close all computer programs and restart the installation.

In order to install the program with the Microsoft NT (4.0), 2000, and XP, you must be Administrator or part of the Administrators Group on your machine. To check if you are Administrator, do the following:

bullet Go to Control Panel, then "Users and Password" in Microsoft 2000, or "User Accounts" in Microsoft XP
bullet Find the current username (yours) and look in the group column. It should say: Administrators
bullet If the current username does NOT say Administrators, contact your IT department to become Administrator, or to have someone with Administrator privileges install the program on the machine

 

Back to Top

EXECUTION

Optics5 may not work correctly with regional/locale settings using "," as a decimal separator. 

Optics5 will not work correctly on computers with regional/locale settings which use "," as a decimal separator (e.g. French regional settings) - we recommend that you run the program on computers where "." is used as the decimal separator.  

Back to Top

Tools | Options freezes when the IGDB is not found in the expected location.

The menu item Tools | Options freezes when the IGDB (which is a file called "Glazing.mdb") is not found on the expected location, which by default is located in "C:\Program Files\LBNL\LBNL Shared". This will happen if you move "Glazing.mdb" to another directory or rename it. You have two options to fix this problem:

bullet Move "Glazing.mdb" to the "LBNL Shared" folder (or name it back to "Glazing.mdb" if you renamed it)

or

bullet Edit the line called "IGDBlocation" in the "UserOptions.txt" file (using a text editor such as Notepad) to specify a new path or new name for "Glazing.mdb". "UserOptions.txt" can be found in the "Optics5" directory. The format of the "IGDBlocation" line is shown below, with the default directory path for "Glazing.mdb". Change this path to reflect the correct location and name of the file you are using.

IGDBlocation(C:\Program Files\LBNL\LBNL Shared\Glazing.mdb)

Back to Top

Optics freezes or crashes when I try to retrieve a glazing from the database.

I a large number of cases this problems turns out to be an installation problem (one of the data access drivers may not be correctly installed). Usually the error message is something like: "Component Transfer Error...". If you are working under WindowsNT, Windows2000 or WindowsXP, make sure you are logged in as administrator in order for the installation to be successful. If you were not logged in as an administrator take the following steps:

1. Uninstall Optics5 completely (remove any left over files or folders by hand)

2. Re-boot your computer and log in as administrator

3. Install Optics5

If this still doesn't work try the following :

1. Uninstall Optics5 completely

2.1 Download and install from the Microsoft website the newest Service Pack for your operating system

3. Download and install from the Microsoft website "MDAC2.7" 

4. Download and install from the Microsoft website "Jet 4.0 Service Pack 3 Update" 

5. Install Optics and restart your computer

Back to Top

I get an error message "Class Does Not Support Automation or Expected Interface"

This error can have a number of different causes but in most of the cases this means one of the components installed by Optics is out of data (e.g. overwritten by another program) or could not be found. Try to install the following critical components:

1. Uninstall Optics5 completely

2.1 Download and install from the Microsoft website the newest Service Pack for your operating system.

3. Download and install from the Microsoft website "MDAC2.7" 

4. Download and install from the Microsoft website "Jet 4.0 Service Pack 3 Update" 

5. Download and install from the Microsoft website "Windows Script 5.6" for Windows2000 and XP or for  Windows 98, ME and NT4.0

6. Install Optics and restart your computer

Back to Top

Where can I get a user manual for Optics?

There is no Optics user manual. You can use Optics help to get Optics5 user information.

Back to Top

Some of the windows in Optics are bigger than my screen. How can I solve this?

Optics5 will run under most graphical modes of your display. However, in order to get the best overview of the complete window, setting your display settings to at least 800x600 pixels is recommended.

Back to Top

I have imported a text file, but it is not loaded in one of the glazing slots.

In earlier versions of Optics you could import a text file and load it into the glazing slot directly.  When you import a glazing from a text file in version 5.1.01,  the file is saved to the user database but is not loaded.  If you want to load the imported layer, after you have imported the file and it has been saved to the user database, switch to the user database and load the layer. 

Back to Top

Optics does not allow me to create a laminate with a specific coating facing an interlayer. Why is that?

That is because we require extra data to be able to model coatings next to interlayers and this data may not be supplied for this particular coating - you can only use the coatings listed in the tab 'Add Embedded Coating' - see the help file for more information. We do not drive the data submission process - it is up to the company to send us data. If you would like to use this coating to design laminates, you could contact the manufacturer and ask them to submit the data.

Back to Top

Optics shows a list of warnings for a number of wavelengths when I create a laminate or change a layer? Are the calculation results ok?

Warnings do not necessarily indicate a problem with the data, they indicate where the calculation may be unreliable due to the particular combination of properties at that wavelength. Sometimes it is more or less impossible to avoid these situations - if the warnings are only for a few wavelengths, you can decide how much they are likely to affect the final results and proceed with this knowledge - if you cannot get reliable enough answers for the combinations you need, you may have to measure samples.

Back to Top

What format should I use to import measured spectral data?

The format should be the same as the format used to submit data to the IGDB, see the relevant documentation on the IGDB website.

Back to Top

INTERNATIONAL GLAZING DATABASE

I have a question about the database. What should I do?

Please go to the website of the International Glazing Database for all questions about the database.

Back to Top

USER DATABASE

How do I import a text file and save it to the user database?

For instructions, click here.

Back to Top

User database shows Error! in results boxes

The Optics5 User Database must be in the Program Files\LBNL directory or subdirectories of that directory. Otherwise, the results will show as "Error!"

CONTACT

I want to submit data for the database. Who should I contact?

Please go to the website of the International Glazing Database for this and all other questions about the database.

Back to Top

I want to report a new bug or have a question about Optics. Who should I contact?Make sure you have the latest version of the program - your bug may have been fixed.

The best way to send us feedback about Optics5 is via email at Optics5Help@lbl.gov.  Please send as much detail as you can about how to reproduce the problem or situation you have questions about.    

For all other questions see http://windows.lbl.gov/contact.html.

Back to Top

Lawrence Berkeley National Laboratory
Copyright 2002  [Lawrence Berkeley National Laboratory]. All rights reserved.
Revised: 02/09/12.