TN001

download TN001

of 2

Transcript of TN001

  • 8/8/2019 TN001

    1/2

    Fieldbus Foundation 1997 Page 1

    Fieldbus Foundation

    TECH NOTE TN-001-1.0

    Date: 14 March 1997Affected Products: DD Services Kits, AT-401-2.0-3-3, AT-401-2.0-4-3,

    AT-401-2.0-11-3.

    Attention all licensed DDS Kit users!

    An installation problem has been reported for the DDS Kit. Possible symptomsinclude:

    Inability to successfully compile the source code

    Installation test program failure -- OPENBLOCKCMD

    Compilation

    There are three pieces of software in the DDS kit (DDS, DDS_Test, and MethodsInterpreter) which all share the same INCLUDE directory (typically installed asC:\FF\DDS\INC). On installation, each set writes its necessary INCLUDE files tothis directory, and any files which are already in the directory and have the samename are overwritten. Unfortunately, if the DDS software is not installed last, itsnecessary files are overwritten. To ensure that the contents of the

    C:\FF\DDS\INC directory are correct, install the DDS software last (or if alreadyinstalled, install it again).

    To force correct compilation via the use of the batch file "MAKEDDS.BAT", it isnecessary to delete the existing OBJ files which were produced on a previouscompilation. For example, delete the contents of the following directories:

    C:\FF\DDS\SRC\DDS\RELEASE\*.*C:\FF\DDS\SRC\PC\RELEASE\*.*C:\FF\DDS\SRC\CSTK\RELEASE\*.*C:\FF\DDS\SRC\CM\RELEASE\*.*

    C:\FF\DDS\SRC\APP_SUP\RELEASE\*.*C:\FF\DDS\SRC\SAMPLE\RELEASE\*.*C:\FF\DDS\SRC\INTERP\RELEASE\*.*

    Then execute "MAKEDDS.BAT" to re-compile ALL of the source code.

  • 8/8/2019 TN001

    2/2

    TECH NOTE TN-001

    Fieldbus Foundation 1997 Page 2

    Installation Test

    Normally, to test the compiled installation on your system, you change to thedirectory C:\FF\DDS\TEST_DIR, and execute the batchfile "RUNTESTS.BAT".Even with correct installation and compilation, these tests will fail on the

    OPENBLOCKCMD. The reason for this is that the test sample binaries (*.ff0)files were not Tokenized with the current release Tokenizer. The source DDLfiles are in fact correct, so this problem can be remedied by re-Tokenizing withthe current release Tokenizer you received with your Tokenizer Kit. To re-Tokenize the necessary files, execute the following commands:

    cd \FF\DDS\TEST_DIRfftok EVL_EXPR.DDLfftok DDI_ATTR.DDLfftok DDI_LANG.DDLfftok INT_ERR.DDL

    fftok INT_MISC.DDL

    To test the installation, from this same directory, execute

    RUNTESTS

    The test procedure will be revised to check for these possibilities in futurereleases. I apologize for any inconvenience this may have caused.

    --- Dan Daugherty

    Applications ConsultantFieldbus Foundation9390 Research Suite II-250Austin, TX 78759

    PH: 512 794-8890x29 FX: 512 794-8893email: [email protected] FF-BBS: Daniel A. Daugherty