Getting Started with ecpSE


<= previous ^ top next =>

What you will need

[This has changed a lot from the last version!] There are several components from both NCS and Microsoft. These are ... In addition to the OS, NCS hardware, and NCS software, you will need the Python interpreter. ecpSE is written in Python. Python is a free, object oriented, cross platform, scripting language. There are several components that you will need to download and install before ecpSE will run.

Installing ecpSE

Once you have done all of the above set-up, installing ecpSE is very easy.

Setting up ecp_lnk

This is one of those things that, if you know how to do this it isn't worth explaining, and if you don't, it will seem hoplessly complicated. Place \ecp_lnk\ anywhere. [If you download the source as a package with the other stuff it will be in the \Python\ecp_lnk\ directory. The installer won't be available for a little while.] Open ecp_lnk.vbp with Visual Basic 6.0 sp3 and select File | Make ecp_lnk.dll That's it. See the ecp_lnk page for more details and for connecting ecp_lnk.dll to sfwlnk32.dll.

Installing ecpSEa (application files)

ecpSEa files are created by ecpSE. The program will allow you to choose where they are installed. Instead of creating a single application file ecpSE creates a directory with three files including:
    ecpSEa.py     - the program that will scan/interpret your data
    Paramlist.txt - editable instructions interpreted by ecpSEa.py
    optionDB      - parameters to control the layout of ecpSEa.py
Thus the directory that these 3 files reside in should have a unique name to identify them. i.e. 'C:\ecpse\apps\My_App\'

Editing and Debugging

All of the files that make up ecpSE and ecpSEa can be edited with a simple text editor (Notepad is a bad choice and will cause problems. PFE should work okay.). The PythonWin IDE is an excellent choice.
ecpSEi has a general flow chart at the top of the source. Use this to familiarize yourself with the program's structure before editing.

So, to recap ...
download Python
download Win32all
download Pmw
download ecpSE (with docs), (without docs)
download ecp_lnk (installer), (source)

<= previous ^ top next =>