Technical Issues & FAQ

This page can be reached from Help...FTG Web Site in any FTG program

FTG Software Search

  Loading FTG Software site search engine

Normally we use our Glance Networks facility to display our screen in your web browser. In this mode we cannot view or control your computer. Click here for further information!
We can now run Glance in 'reverse screen sharing' mode and thereby view and control your computer. This should only be necessary in extraordinary circumstances. You must give us permission and can cancel sharing at any time during the session.

FilmStar News   2006   2007   2008   2009   2010   2011   2012


Installation & Startup
    Gdiplus.dll not found
    Installation problems
    Multiple instances (sessions)
    Office 2010 compatibility
    OLE2.DLL is not a valid Windows image
    P-E Lambda 19 installation
    Transferring FilmStar to new computer
    Updating HASP Security ID Modules
    Unexpected error;quitting
    Windows 7 (Vista) compatibility
    Windows Remote Desktop

Input/Output
    Dialogs moved off-screen
    File open/save options   
    File dialogs without places bar
   
    File Properties (NTFS)
    Grid keyboard shortcuts, etc.

Graphics
    FSPlot bitmap/gradient modes
    Bold fonts don't look good?
    Comparing %R and %T spectra
    Changing axes quickly
    Diabatic transmittance scale
    FilmStar dialog fonts
    FSPlot 5.0 to 6.0 update
    Mouse pointer disappears
    Multiple spectra in FSPlot
    PowerPoint presentations
    Print Graphics doesn't work
    Size of Print Graphics printout
    Too many plot module options!

General
    Configuration not saved
    FilmStar Administrator
    Reporting problems to FTG Software

BASIC, Excel, etc.
    Aborting a BASIC program
    Adding audio to BASIC
    C++ How-to
    Deleting rows in Excel
    Excel DDE doesn't work!!
    Excel VBA dialogs in BASIC
    FilmStar and Excel   
    Getting started with MS Office
   
Multiple spectra
    OCX in BASIC?
    BASIC Tutorial - Getting Started
    BASIC Tutorial - Advanced

FilmStar Database
    FileMaker Spectra database
    Database capacity
    Connecting to enterprise databases

Report Generator
    Including date/time in report

FilmStar Workbook
    Hidden Workbook
    Multiple spectra

MONITOR
    Coating run-time
    Intellemetrics FilmMaker
    FilmMaker Material Properties
    Leybold Monitoring Report
  

DESIGN
    Absorptance in layers
    AR at all wavelengths (unobtainium) 
    AR for two substrates
    Bruggeman step by step
    Changing plot type quickly
    Combining multiple designs
    Correcting measured spectra
    DLS 'ActiveX component...' error
    Designing for FWD and REV incidence
    Designs don't work on new computer
    Encrypting designs
    Extended Materials
   
'Gedankenspektrum' Methods (PDF)
    Import TFCalc designs
    Index Limits
    Index temperature dependence
    Index vs. wavelength
    Index variations (My TiO2)
    IndexSolve.bas example
    Layer Error Analyzer
    Many layers
    Many materials
    Mixed materials
    n,k Oxides step by step
    Optimizing phase shift 
    Overflow error
    Recorder
    RGB Comparator
    Reliability of inverse-synthesis
    Side 1 AND Side 2 requirements
    Smith Chart Interactor module
    User-Defined Functions
   
ZEMAX coating files

INDEX  
    Bruggeman approximation
    Import TFCalc materials   
    Index Functions updated
    Index variations (My TiO2)
    n,k for Films on Metallic Substrates
    n,k Oxides step by step   
    RefractiveIndex.INFO
    Refractive Index Data (Luxpop)
    Schott filter glass database
    Sopra database of optical indices 
    Temperature dependence
   
ZrO2 case study (inhomogeneity)

MEASURE/Scantraq
    ActiveX Servers
   
Automating Measurements (PDF)
    CIE Color with Diode-Array
    Debugging communications
    Import PE spectra (.sp)
    Lambda 2 (10/12/14) Cable
    Lambda 19 32-bit installation
    Lambda 20/40 timeout error
    Lambda 800/900 common beam filters
    Lambda Bio/XLS installation
    Log files
    Nicolet (Thermo Scientific) FTIR Support
    Ocean Optics Support
    PE spectrophotometer communicating?
    Problem with %R Baseline Scan
    Spectrum GX/2000 Setup
    UV WinLab Updates

 


Aborting a BASIC program

A BASIC program running from the IDE can be stopped by clicking the End icon or by clicking Macro End. What about BASIC programs run as macros from the BasRun command? Starting with DESIGN 2.30.1305 and MEASURE (Scantraq) 2.30.1101, adding MainEvents = True to the BASIC code adds an Abort BASIC menu command.

In the sample program given here, the user has 2 seconds to click Abort BASIC, thereby preventing display of the message box. In MEASURE (Scantraq) the current scan is also aborted.

Sub Main
    Dim i%
    MainEvents = True
    For i = 1 To 10
        Wait .2
    Next i
    MsgBox "Normal program termination", vbOkOnly, "BASIC"
End Sub

This feature should be used judiciously!  Back to top


Absorptance in layers

FilmStar DESIGN calculates absorptance vs. wavelength and absorptance vs. thickness (differential absorptance) for specified layers. While most designers never use these capabilities, they are important for solar cells and other active devices. Calculations can also be applied to the design of laser-resistant coatings.

Sample file absorp.zip contains FILM Archives absorp1.faw & absorp2.faw, Excel 97 model absorp.xls and DESIGN Workbook absorp.vts. Integrating differential absorptance over layer thickness gives total absorptance for each layer at the specified wavelength.(This corrects a previous definition where results were normalized by total absorptance.) Back to top 


Adding audio to BASIC

Using ActiveX server audio.exe based on Microsoft library mci32.ocx, it is very easy to add audio to FilmStar (Scantraq) BASIC programs. A typical application is informing QC technicians when a scan is completed. A sample BASIC program plus support files are provided in audio.zip. Back to top


AR for two substrates

Need to optimize a coating for two substrates?

This can be accomplished by changing the substrate index during each iteration. An example is given in bbar2sub.zip. Copy the .bas files to c:\winfilm\basic32; copy bbar.faw  file to c:\winfilm\designs; copy bbar2sub.xls to c:\winfilm\workbook.  Open FILM Archive bbar and click Evaluate... Workbook (<F3>) to activate the FilmStar Workbook. Close any open worksheets and open bbar2sub.xls. Just click Optimize... Optimize (<Ctrl+O>) to proceed. Back to top 


C++ How-to

Thanks to Charles Anderson at St Gobain for supplying the following step-by-step tutorial on utilizing FilmStar as an automation server for applications developed in C++.

It is very easy to create an MFC automation C++ client that uses FilmStar DESIGN (MEASURE) as an automation server. To do this :

  1. Using Visual C++ Studio create a new MFC application using MFC AppWizard (.exe). In step 3 check the Automation checkbox.
  2. With the Class Wizard create a new class. That is, select the "Add Class" button and afterwards select "From a type Library". A file selection dialog box appears. Files appear withe the extensions "tlb olb and dll". However, change this to all files and go to the Winfilm folder. Select the Design1_32.exe file and select the Open button. A Confirm Classes dialog appears with _clsMain and _clsBasic as the new C++ classes and Design1_32.cpp and Design1_32.h as the files that will implement the classes. Select the OK button and the classes are created.
  3. To use the classes somewhere in the application create instances of the new classes. That is add the lines :

_clsBasic filmStarInterface;
_clsMain filmStarProgram;

For the _clsBasic class (the _clsMain is the same) add the lines

if (filmStarInterface.CreateDispatch(_T("FtgDesign1.clsBasic")))
{
    // success
}
else
{
    // problem
}

Note that automation ProgID is called "FtgDesign.clsBasic". The program is now ready to call the methods such as with the lines :

CString m_design("4G 40M");

filmStarInterface.SetAngle( 60.0);
filmStarInterface.SetDesign(m_design);
filmStarInterface.Calculate();
filmStarInterface.DataCopy();

That is all there is to it.  Back to top


Configuration not saved

Your computer does not retain capacity settings, preferences or file locations? Probably you are in an organization with overly restrictive IT policies.

File.. Configuration entries are stored in *.ini files in C:\Winfilm\Config or C:\Scantraq\Config. These are sometimes not saved because users do not have appropriate permissions. The problem can be seen by right-clicking on an .ini file name in Explorer and examining Properties.. Security. If it is not possible to edit Permissions and add Write, contact your IT manager to fix the issue. We suggest that you also demand full rights to update (reinstall) FTG programs.


Correcting measured spectra in DESIGN

FilmStar MEASURE performs the following calculation in order to correct raw spectrophotometer measurements.

Standard * (Sample - Baseline)/(Reference - Baseline)

With a modern instrument where the baseline is reliably zero, this calculation is not normally required in transmission. It is, however, required in reflection measurements. Hitachi and Shimadzu users who cannot use MEASURE can perform similar calculations in DESIGN on imported spectra. While the calculation is readily performed in FilmStar BASIC, you can also use the FSPlot Formulator to evaluate a formula over an entire spectral range. The process goes like this:

a. Import measurements and convert to the same wavelength range by using Sub DataConvert.

b. Use the FSPlot Formulator to correct the spectrum. Assuming that Baseline data is in column B, Reference data in column C, Sample data in Column D and Standard in Column E, the corrected spectrum is given by the following formula. Once everything is set up correctly, pressing <F9> runs the formula without showing the formula editor.

F = E*(D-B)/(C-B);del B;del B;del B;del B

c. After inspecting the plot, click Edit...Copy Data to copy a corrected spectrum to the clipboard. (The "del" commands remove unwanted columns C-F.) Warning: a spectrum will be clipped if the data goes above or below graph limits. Try -10 to 110 to make certain that clipping is avoided.

 A BASIC macro encapsulating the above steps is easily developed. BASIC Sub PlotDataCopy copies FSPlot spectra to the clipboard. Back to top


Debugging spectrophotometer communications

One way for us to debug serial communications is with a log file which you e-mail to us. The following versions of MEASURE/Scantraq support built-in message logging: Mpe983, Mh3410, Mcary5 (limited), Mhp8453 (very limited). To enable this facility, add an IOLog line similar to the one below to c:\winfilm\config\measure.ini (c:\scantraq\config\scantraq.ini). As illustrated, you add the line in the [Files] section.

[Files]
IOLog=c:\winfilm\measure.log

When you restart MEASURE you will note at new Test menu which allows you to enable and disable IO logging.

Another option which works with any MEASURE/Scantraq version using serial communications is to add a serial port monitor program. This works with Mpe950 and also with PE's UvWinLab. We have used Serial Monitor for this purpose. Be sure to get at least the Standard Edition, as the Lite Edition does not record (create log files).

Another (when all else fails) possibility is for us to assign your COM1 to our virtual COM2 and actually run your machine from our computer. In order to do this, however, we need an IP address for your computer. This requires a dial-up connection or other direct modem connection. Network IP addresses are useless. Finally, should the situation be critical and you have no taste for log files and such, we can visit your facility and, to the best of our ability, set matters straight (usual consulting fees apply).  Back to top


Deleting rows in Excel

Suppose you have a column of data, say a spectral weighting function, corresponding to a 1 nm interval. You want to copy and paste this into a FilmStar Workbook model, but prefer to convert it to a 2 nm interval in order to speed up calculations. This task is readily accomplished with the following Excel VBA program:

' Excel VBA code to delete every other line beginning at StartRow
Const StartRow  = 4  ' starting row number
Sub Main()
    Dim s$, i&
    i = StartRow
    Do Until Cells(i, 1) = ""
        If Val(Cells(i, 1)) Mod 2 = 1 Then Cells(i, 1).EntireRow.Delete
        i = i + 1
    Loop
End Sub

If anyone can think of a way to do this without a macro, please let us know! Back to top


Designs don't work on new computer

This error typically occurs after installing FilmStar on a new computer and copying previous designs and data files. The problem is that settings in c:\winfilm\config\design1.ini were not transferred.

  1. Check directories in File...Configuration...Directories.
  2. Check values in File...Configuration...Capacity. It is possible that previous data files expect larger data arrays than currently allowed.
  3. Check entries in User Index Functions, Macros, and the Workbook.

A convenient procedure is to save the original design1.ini (measure.ini, scantraq.ini) to floppy or USB stick on the original machine and copy it to the new machine. Then, if the FilmStar data directories on the new machine are different from the original, open design1.ini in Notepad and modify paths via global search and replace. Back to top


Dialogs moved off-screen

FilmStar saves size and position settings for some dialogs. This can lead to off-screen windows after desktop area is reduced. This might happen when decreasing resolution to 1024x768 or 800x600 for projecting or screen-sharing. To circumvent this difficulty, programs since 14 Dec 09 include a Reset Dialogs command in all Help menus.

If it's not possible to reach the Help menu with the mouse, type <Alt+H><R> for the Reset Dialogs prompt and <Alt+F4><Y> to close FilmStar. Dialogs will be reset after restarting.


Excel DDE doesn't work!!

Yes it does! DDE requires brackets around commands. Otherwise the system hangs up. VBA format should be as follows:

Sub Main()
    ch = DDEInitiate("DESIGN1", "Main")
    DDEExecute ch, "[Fred;]"
    DDETerminate ch
End Sub

DDE will also hang-up if Google's Chrome browser is open. (Tested Jan 2012 with Chrome 16.0.912.63.) Names used in DDEInitiate are as follows: DESIGN1, MPE983, MPE19AX, MHP8453, MH3410, MCARY5, MPE950, MPE1050. Back to top


Extended Materials

Setting Film Indices (in File Configuration Capacity) to a number n > 52 places DESIGN into Extended Materials mode. Since designs in this mode are incompatible with normal designs, the facility should only be utilized if more than 52 materials are actually required in one design! In normal operation, letters A-Z (+ a-z when n > 26) indicate film materials. When n > 52, letters are replaced by numbers enclosed in square brackets with the numbers corresponding to those in the Film Indices editor. That is,

.06502H .08876L .53248H .25093L

is replaced (replacement is NOT automatic) by

.06502[2] .08876[1] .53248[2] .25093[1]

where the Film Indices editor looks like

Back to top


File dialogs without places bar

The Windows XP DESIGN File Open dialog shown here does not include a places bar with My Recent Documents, Desktop and similar icons.

Removing the places bar requires a simple Registry tweak. This modification will not affect MS Office file dialogs. Windows 7 users need only click Organize.. Layout in a File Open dialog.

Modify the Registry at your own risk only if you know what you're doing! Users in large companies should contact IT.

Back to top


FilmStar Administrator

The FilmStar Administrator enables managers to control access to features in DESIGN, INDEX and MEASURE. Examples: preventing QC technicians from adjusting scan speeds, preventing optical coating technicians from modifying thin film designs.

The Administrator dialog is accessed in the Help menu in DESIGN and MEASURE. Administrator status is enabled via a Security ID Module programmed accordingly.

The 'Author Only' setting is utilized in conjunction with NTFS File Properties.

Please contact FTG Software for further information.

Back to top


DESIGN Administrator


Getting started with MS Office

Need to integrate FilmStar with Excel or Word but have no idea what to do? Try the following example. It will work without DESIGN being open.

In Excel access the VBA editor (Alt+F11). Click Tools References. You should see FtgDesign1 listed as a Reference. Check this to add it to your project. You will find it listed in the Object Browser with two classes: clsBasic and clsMain. Now open a new module and try the following VBA program:

Sub Main()
    Set dBasic = New FtgDesign1.clsBasic
    Set dMain = New FtgDesign1.clsMain
    k = dBasic.Macro("Fred;")
    On Error Resume Next 'prevents error 440
    dMain.Quit
End Sub

Now that you have a working example, you will be inspired to Read the Manual. Back to top


Import TFCalc designs (updated Aug 2010)

FilmStar BASIC program TFCalc.bas (basic32.zip) imports TFCalc™ designs directly via the clipboard while TFCalc is open. Be sure to transfer GetWindowTitle.bas as well! (This is used to grab the design name from the TFCalc title window.) The TFCalc design resembles the following when pasted into a text editor. The first layer is next to the substrate.

TiO2 13.61
SiO2 38.16
TiO2 129.53
SiO2 96.57

TFCalc.bas also opens designs saved as text files (*.txt) in the Save Layer Data command in the TFCalc Layers dialog. While TFCalc is not required, comparing spectra is rather less convenient.

You need to assign FilmStar index symbols (L, H etc.) to TFCalc material names (SiO2, TiO2 etc.). This is accomplished by listing them in the Film Indices Dispersion column. TFCalc *.mat materials files must first be converted to FilmStar *.itw files (see section below). Note that film thickness must be in nm; set FilmStar DESIGN accordingly in Setup Parameters. All materials, even constants, must be defined by dispersion files.

Alternatively, Excel program TFCalcToFS.xls provides similar functionality and may be simpler for users unfamiliar with FilmStar BASIC.

Be sure to verify that the design is correct by calculating and comparing results in both programs. When comparing results be sure to check the setting for Side 2 Compensation in Setup Parameters. A file importer capable of automatically importing entire directories, is planned. Back to top


Import TFCalc materials

FilmStar BASIC program TFCalcMatl.bas (in full installation or basic32.zip)  imports TFCalc™ material files (*.mat). It expects the following format:

VERSION*1*
FORMAT*1*
POINTS*20*
DATA1*1*380.0*2.55*0.0*
DATA1*2*425.0*2.49*0.0*
DATA1*3*450.0*2.469*0.0*

Please send us samples of TFCalc .mat files which do not work properly, so that we can modify the code accordingly. This BASIC program requires INDEX 2.30.0201 or newer. A file importer capable of automatically importing entire directories, is planned.  Back to top


Import PE spectra (.sp)

PerkinElmer spectral data files of different types (binary, ASCII, Data Manager, PECCS) have the same .sp extension. How can the data be utililzed in FilmStar (Scantraq)? An easy option  is to open the file in UvWinLab and re-store as J-CAMP (.dx extension) which can directly be opened in FilmStar. If this is not convenient, here are further options:

  • Import binary PECCS files via BASIC subroutine Sub Pe19SpOpen
  • Use programs pe-sp1.bas, pe-sp2.bas (basic32.zip) to import .sp ASCII files
  • Convert .sp file to J-CAMP (.dx) with PE program pecnvrt.exe

The last choice can convert multiple files. Copy the program to c:\uvwinlab. New files are created in c:\uvwinlab\convert. Back to top


Index Functions updated in DESIGN 2.23.6001

The number of built-in dispersive Index Functions in DESIGN and INDEX was extended in DESIGN 2.23.6001 and INDEX 2.23.2001. Not familiar with Index Functions? You begin in INDEX by fitting continuous dispersion functions to n,k vs. wavelength data. Functions are then adjusted in DESIGN where further fitting explains differences between calculated and measured spectra.

Index Tables (*.itw) stored with INDEX 2.23.2001 and newer will
be incompatible with earlier versions of DESIGN and INDEX.

1. Open INDEX and click Functions...Built-in. The functions which are initially checked are those defined in previous versions of DESIGN and INDEX. New functions are CYGEN, CYGENK2, SELL1, SELL1K1, SELL1K2, SELL2, SELL2K1 and SELL2K2. As you scroll through the grid, note that equations are displayed at the bottom. Consult these carefully if copying results from elsewhere.

Examples of Index Functions based on TiO2 data sets will be found in subdirectory c:\winfilm\index\functions. Start FilmStar INDEX and temporarily switch to this directory in File...Configuration...Directories (remember to switch back later). Open a file. Click Functions...Plot to visually see the fit and Functions...Fit Coefficients to review numeric values. If you open an Index Table in INDEX (or FILM Archive file in DESIGN) which references a function not currently in the list of built-ins, that function is automatically added.

2. In DESIGN, the same list of built-in functions will be found in the Film Indices editor under Edit...Built-in Functions.

3. Initial estimates for highly nonlinear functions CYGEN and CYGENK2 may be especially elusive. Depending on your data, there could be multiple solutions providing equally good fits. If you have difficulties with these or with other built-in or user-defined functions, send us your n,k tables (*.itw or Excel format) as e-mail attachments. Thanks to Steve Tuenge for suggesting function CYGEN (Generalized Cauchy) which he has found very useful over the years.

4. File and Edit menus have been added to the User Index Function dialog. These include facilities to load and save Function Collections (*.itf) (see c:\winfilm\index\examples.itf). Note that a Function Collection is actually the [UserIndex] section of c:\windows\design1.ini. An important use is transferring Index Functions to other users.

Be sure to backup (save as a Function Collection) any functions
that you are using before opening a new Function Collection.

The Edit menu lets you delete functions and alphabetize function names.

5. File aconst.itw can be used to test the following Index Functions included in examples.itf: ACONFM (uses formula), ACONVB (uses FilmStar BASIC program aconst.bas), ACONWS (uses FilmStar Workbook indxfnc.vts), ACONXL (uses Excel indxfnc.xls via DDE).  Back to top


IndexSolve.bas example

IndexSolve.bas (in c:\winfilm\basic32) creates index tables from multiple spectra via DESIGN's DLS refinement algorithm.The tables is then pasted into INDEX. As an example, we simulated measured spectra of 50 nm Ag on 1.52 substrate at 6 degrees and 45 degrees P and S polarization. Relevant FILM Archive and sample files are found in indexsolve.zip 

Copy FILM Archive files to c:\winfilm\designs and spectral data to c:\winfilm\spectra. IndexSolve1.faw creates spectral files and IndexSolve2.faw is utilized when running IndexSolve.bas. Once it is determined that IndexSolve.bas works as expected, it is most instructive to repeat the calculations with spectral noise added. This is accomplished via FilmStar BASIC program AddNoise.bas. Back to top


Index vs. wavelength

The following FilmStar BASIC code generates an index (n, k) vs wavelength table and copies it to the clipboard. Back to top

Sub Main
    Dim w!, xn!, xk!, s$
    Row% = 4   ' Row in Film Indices dialog
    For w = 400 To 700 Step 10
        GetIndex Row, w, xn, xk
        s$ = s & CStr(w) & vbTab & CStr(xn) & vbTab & CStr(xk) & vbCrLf
    Next w
    Clipboard s
End Sub


Lambda 20/40 timeout error

We suspect there are firmware discrepancies in these instruments. If your Lambda 40 (or similar) times out during background correction, try adding the following line under [Configuration] in

c:\winfilm\config\measure.ini or c:\scantraq\config\scantraq.ini

Exit and restart before testing. 

[Configuration]
Lam40AZSCStatus=2

If your Lambda 2 or 20 (or similar) times out during background correction, try the following line: 

Lam40AZSCStatus=1

Please contact us about this. Back to top


Lambda 800/900 common beam filters

Expert mode OFF automatically selects common beam filters as shown below (default mode for PE UVWinLab).

             PE Lambda 900
    Index  Filter   Wave     Type
      1      10    3350     T-LPQ-2.5
      2      9     2620.8   T-LPQ-1.5
      3      8     1670.4   T-LPQ-1.0
      4      7     1190.4   RG780
      5      6     810.4    RG665
      6      5     690.4    OG550
      7      4     562.4    BG38
      8      3     379.2    UG11
      9      2     319.2    T=100% (no filter)
      10     1     150      Glass

             PE Lambda 800
    Index  Filter   Wave     Type
      1      7     950      RG780
      2      6     810.4    RG665
      3      5     690.4    OG550
      4      4     562.4    BG38
      5      3     379.2    UG11
      6      2     319.2    T=100% (no filter)
      7      1     150      Glass

Expert Mode OFF is equivalent to Expert Mode ON with the default filter program built into MEASURE (Scantraq). Note that Expert Mode ON is now required for selecting a single filter for the entire scan (not recommended).  Back to top


Log files (MEASURE/Scantraq)

A running log of input/output activity can help us debug problems in data acquisition. A log file is enabled by adding a line similar to the following under [Files] in

c:\winfilm\config\measure.ini or c:\scantraq\config\scantraq.ini

[Files]
IOLog=c:\winfilm\cary500.log  (or c:\scantraq\cary500.log)

This adds a new Test menu to MEASURE containing item I/O Log Open. When this item is checked instrument commands and responses are stored in the specified file. Since new data is appended, the file can be used repeatedly. Uncheck to close and disable the log file. E-mail the file to us for analysis and add the exact wording of any error messages.

When no longer required, the Test menu is removed by deleting the IOLog entry, or (preferably, since you might need it again) by commenting it out by prefixing the entry with a semicolon, that is ";IOLog= etc".  Back to top


Mixed materials

DESIGN handles mixed materials via User Index Function Mixed. Here a formula expresses the final index as a function of constituent dispersive indices. A linear mixing model would be expressed as 

n = A*N1+(1-A)*N2
k = A*K1+(1-A)*K2

where N1, K1 are indices for material 1 and N2, K2 are indices for material 2. Here A is the mixing fraction (which can be treated as an optimization variable). Calculated results for TiO2+Ti are illustrated below. Please note that no claim is being made that a linear model is realistic; more complex relationships are easily programmed. 

Porous TiO2 films with packing density < 1 can be simulated by mixing film materials with material Void, where Void is an index table containing values 200 nm, n = 1.0; 1000 nm, n = 1.0; 5000 nm, n = 1.0. Users should verify that results are reasonable; the following program illustrates a method for viewing index values.

Sub Main
    Dim fmt$, w!, xn!, xk!
    Const f$ = "0.00000"  ' Format
    For w = 400 To 800 Step 50
        GetIndex 3, w, xn, xk  ' Material 3 (first film) in
                               ' Film Indices editor
        Debug.Print CStr(w) & ", " & Format(xn,f$) & ", " & Format(xk,f$)
    Next w
End Sub

  Back to top


Mouse pointer disappears

If you find the mouse pointer disappearing in the main graphics window, try setting Control Panel.. Mouse Properties.. Pointers to a different scheme. We recommend Windows Inverted which, in our opinion, offers the best contrast no matter what the background. Back to top


OCX in BASIC?

At first it appears that there is no way to use OCXs (ActiveX components) in FilmStar BASIC. While you cannot add a component to the BASIC UserDialog Editor, you may be able to use the OCX as an object.

This is illustrated in the following code snippet which records temperature from an Omega DPi32 thermometer. The ActiveX module iSeries10.ocx is provided by the manufacturer.

    Sub Main
    ' IMPORTANT: be sure to add reference to iSeries10.ocx
        Dim iDevice As Object
    ' Found the object name in the Registry Editor
        Set iDevice = CreateObject("iSeriesAlpha10.iDevice")
        With iDevice
            .ServerCommPort=1      ' set COM port
            Debug.Print .LastData  ' read thermometer
        End With
        Set iDevice = Nothing
    End Sub

That's all there is to it. You do, of course, lose any graphics provided by the OCX, but very often you really don't need that anyway. Back to top


Overflow error

An Overflow error can occur in DESIGN when relatively thick absorbing films are evaluated at short wavelengths. These conditions force the program beyond double precision limits. The error was reduced by modifications implemented in 2.24.0023.

Should the problem still persist, DESIGN 2.24.0024 introduced a Set Zero Layers capability which effectively 'removes' layers during the calculation (without affecting the thin film design). This facility makes use of the fact that light does not penetrate the entire absorbing stack. Before using Set Zero Layers, users should verify that removal of layers below a certain wavelength has no effect on the reflectance spectrum.  Back to top


Print Graphics doesn't work

Print Graphics will not work on some computers unless colors are set to 256. Suggestion: use the Report Generator with FSPlot graphics. This provides much better output with smooth curves and fully formed fonts. The following BASIC macro automates viewing and printing the FSPlot graph.

   ' PrintFSPlot.bas for DESIGN/MEASURE 16 or 32-bit
   ' This program prints the FSPlot screen and can be
   ' used as an alternative to File...Print Graphics
   Const CRLF = Chr$(13) & Chr$(10)
   Sub Main
      s$ = Template ' Save current template
      ' Modify following line to set different size
      Template = CRLF & "<<FSPlot 125,110,7500,6000>>"
      k = Macro("ReportShow;")
      Template = s$ ' Restore template
   End Sub

Assign this macro to a keystroke via Evaluate...Macro...Edit as shown below.

   Description                     Command
   Print FSPlot  basrun c:\winfilm\basic\printfsplot.bas;

Back to top


Problem with %R Baseline Scan

When measuring reflectance your Baseline scan attempts to compensate for the reflectance attachment. Typically the scan is performed with no optic (or a 'black sample') on the attachment. WHAT YOU DON'T WANT TO DO is check 'Block sample beam during Baseline scan' (or similar label in older versions). This option can be found in PE 983, PE Lambda 800-1050 Scan Method dialogs and is generally intended for transmittance measurements.


Reporting problems to FTG Software

As an alternative to the following, we can use our Glance Networks facility to view and optionally control your computer. This is often the fastest way to resolve issues.

We can best solve problems by reproducing them with data files sent to us as e-mail attachments. The body of the e-mail should also include a clear statement of the problem, exact wording of error messages, etc.

DESIGN...Enable FILM Archive Mode (File Menu) so that designs and parameters are stored in one file (*.faw, c:\winfilm\designs). Attach the file to your e-mail. There are two choices if your design includes dispersive materials:

1. Attach ALL index tables referenced in Film Indices (*.itw, c:\winfilm\index). If the problem can be reproduced with constant indices there is no need to attach index tables. YOU SHOULD ATTACH ALL LISTED TABLES, EVEN IF THEY ARE NOT USED IN THE DESIGN! TO MAKE THINGS EASIER, FIRST DELETE UNUSED MATERIALS FROM FILM INDICES.

2. If only using dispersion tables (not functions), you can enable Archive n,k Data (File Menu) so that dispersion data is embedded in the FILM Archive file. THIS IS THE EASIEST WAY TO DEAL WITH DISPERSION.

3. If using a Wavelength List (*.wls) or Wave/Angle List (*.wal) add that as well. As an alternative to a Wavelength List (often used with CIE data), consider using Wavelength Range instead.

4. If you have Subscript out of range errors it is likely that you need to increase values in File.. Configuration.. Capacity. These values are stored in ..\Winfilm\Design1.ini which you could attach to your e-mail.

MONITOR...Upon exiting MONITOR or clicking File...Save All four work.* files are stored in c:\winfilm\monitor. Attach these files zipped into one file. Add any index tables referenced in Film Indices.

Alternatively attach the four files referenced in File...Save As. The FILM or FILM Archive file is stored in c:\winfilm\designs and the other three files are in c:\winfilm\monitor. 

BASIC...Attach a code snippet isolating and showing your problem.

Spectra...Attach any spectral data files being utilized in DESIGN or INDEX. Or send an Excel .xls file (zipped please) with data pasted therein. Please do not send spectral data lists via fax. If you don't have FilmStar MEASURE, there are a number of options to create data files. See the winfilm\basic32 directory for support for Shimadzu and other spectrophotometers.

Please include program version number. This is found by clicking Help...About. If the program absolutely does not open at all, you can get the version number by right clicking the file name in Windows Explorer. Users occasionally report problems that are already fixed. Before contacting us, consult the FilmStar Revisions History page to determine whether a newer release fixes the problem.

In some cases it is useful to attach screen images. This is accomplished as follows:

  1. Copy the active window to the clipboard with <Alt+PrtScr> (<PrtScr> by itself copies the entire screen.)
  2. Paste into a graphics program which can store in GIF format.
  3. An alternative is to paste images into MS Word 2000 and newer; this automatically compresses bitmaps and several images can be pasted into a single document.
  4. Do not send graphics in .bmp format!  Back to top

Size of Print Graphics printout

File...Print Graphics creates a graph in the Report Generator that is supposed to fill the page. A user asked "Is it possible to reset the value for my Report Template when I am printing graphics in DESIGN? The current setting in the template is <<Graph 83>> and I would like to have this reset to default to <<Graph 130>>. Any advise?"

Default relative graph size can be changed in the Configuration dialog Misc tab. Another approach is to use a BASIC program to set the size to a particular value.

Sub Main
    t$ = Template   ' save current template
    Template = "<<Graph 130>>"
    k = Macro("ReportShow;")
    Template = t$   ' restore saved template
End Sub

This can be assigned to a macro key. Back to top


Schott filter glass database

SchottFilter.zip (2.4M) contains the installer for the Schott filter glass program Filter '98 that was originally available on SchottGlassTech.com. A newer Excel program Filter 2004 might be useful for analyzing and combining filters. Back to top


Sopra database of optical indices

Soprank.exe (537K) installs the freely available Sopra database (278 materials measured by spectroscopic ellipsometry) of optical indices. Using program INDEX (32-bit), Sopra index files (*.nk) can be imported and re-stored as FilmStar index files (*.itw) via File...Import Back to top


Too many plot module options!

The plot module includes numerous options. It is not easy to reproduce a previous format, especially when you realize that font sizes depend on window size. You need formats for different purposes: for example, web pages, Word printouts and PowerPoint presentations. For example the following might be ideal for web pages but terrrible for printouts: 

DESIGN and MEASURE include BASIC plot setup functions as shown in the following code snippet for the above graph:

' FSPlot setup code for FilmStar BASIC:
PlotConfig 24793, 1127, 0
PlotSize 6420, 5835, 99
PlotSizeTitle = 110
PlotSizeLegend = 100
PlotAxesConfig = 6   ' loaded/saved with graph axes

The code snippet was generated automatically by the plot module:

  1. Format a graph as required.
  2. Click File...Create BASIC Setup to generate graph setup code.
  3. Paste code into BASIC program.

This can be repeated for different graph formats while leaving BASIC and the plot module window open simultaneously. A complete program illustrating this is PlotConfig.bas in basic32.zip (also in full installation).

The first two lines PlotConfig and PlotSize are necessary. PlotSizeTitle and PlotSizeLegend are somewhat optional; once set users may be satisfied to leave them alone. By historic accident, default values for DESIGN are 120, 100 and MEASURE (Scantraq) 110, 90. While it was always possible to change these as documented in on-line help under Configuration Preferences, values can now be changed via Setup... Font... Title... Size and Setup... Legends

PlotAxes specifies right-hand axis option (for Optical Density/Absorbance/dB scales), Adjust Axes options and minor tick option. If you prefer to associate these options with Graph Axes (Scan Parameters) remove the line from the BASIC setup code. All other settings are stored in ini files (design1.ini, measure.ini or scantraq.ini) under Windows or Winnt. Back to top


Transferring FilmStar to a new computer

The first step is to reinstall FilmStar on your new computer. Then you need to transfer data directories and custom settings. The following assumes that FilmStar programs are located in C:\Winfilm on both computers (if not, adjust paths accordingly):

  1. Install from http://ftgsoftware.com/files/setup32.exe or, if your FilmStar support is not up-to-date, from the latest version that you have on CD or on your hard disk. Current installation passwords are found at the bottom of the FilmStar News e-mails we send periodically. If you have lost the passwords to older versions, please contact us.

  2. Copy C:\Winfilm subdirectories from your old computer to the new; do not copy program directory C:\Winfilm itself.

  3. Check the old computer for subdirectory C:\Winfilm\Config. If it's there, you don't need to do anything else; if it's not there, proceed to the next step.

  4. Copy C:\Windows\Design1.ini (also C:\Windows\Measure.ini for MEASURE users) to C:\Winfilm\Config. This transfers any custom settings. Note that this directory is C:\Winnt on Windows NT computers.

Note: Please don't attach your USB Security ID Module until after you have installed FilmStar. This ensures that Windows plug-and-play will find it. Back to top


UV WinLab Updates

MEASURE/Scantraq for Lambda 950/1050 (Mpe950.exe/Mpe1050.exe) with URA (universal reflectance accessory) and/or TDM (triple detector module) utilize PerkinElmer UV WinLab drivers. Users with UV WinLab versions prior to 6.0.3 need to update (reinstall) UV WinLab in order to run FilmStar MEASURE 2.50.1428 (14 Sep 09) and newer.

Click the following links for installers: UV WinLab, URA, TDM. Downloading requires user name and password. The user name is 'FilmStar' and the password your MEASURE installation password (or 'Scantraq' and your Scantraq installation password).

After installing UV WinLab, be sure to reinstall (update) FilmStar MEASURE/Scantraq. The reason is that the PE installer mistakenly overwrites a common OCX file with an older version. Back to top

Updates Page    Revision History    FTG Home Page

Copyright © 2011 FTG Software Associates
Last updated on January 19, 2012