|
|
|
| Info | Support | Contact | About | ||
|
Installation and Source Code CompilationLinux, UNIX and QNX Systems: Unpacking and Compiling the Source1. Download and save the zipped tarball into your project directory.2. Uncompress the zipped tarball using gzip:
# gunzip FT-MB??-??-ALL.2.0.tar.gz
3. Untar the tarball
# tar xf FT-MB??-??-ALL.2.0.tar
The tarball will create the following directory structure in your project directory:
myprj
|
+-- fieldtalk
|
+-- doc
+-- src
4. Compile the library from the source code. Enter the FieldTalk src directory and call the make script:
# cd fieldtalk/src # ./make The make shell script tries to detect your platform and executes the compiler and linker commands. The compiler and linker configuration is contained in the file src/platform. 5. The library will be compiled into one of the following platform specfic sub-directories:
Also the necessary header files to link against the library are copied into a include directory. Your directory structure looks now like: myprj
|
+-- fieldtalk
|
+-- doc
+-- src
+-- include
+-+ lib
|
+-- {platform} (exact name depends on platform)
6. The library is ready to be used. Windows Systems: Unpacking and Compiling the Source1. Download and save the zip archive into a project directory.2. Uncompress the archive using unzip or another zip tool of your choice:
# unzip FT-MB??-WIN-ALL.2.0.zip
The archive will create the following directory structure in your project directory:
myprj
|
+-- fieldtalk
|
+-- doc
+-- src
3. Compile the library from the source code. To compile using command line tools, enter the FieldTalk src directory and run the make file. If you are using Microsoft C++ and nmake: # cd fieldtalk\src # nmake If you are using Borland C++ and Borland's make: # cd fieldtalk\src # make To compile using Visual Studio.net, open the supplied .vcproj project file with Visual Studio.net. 4. The library will be compiled into one of the following sub-directories of your project directory:
Your directory structure looks now like: myprj
|
+-- fieldtalk
|
+-- doc
+-- src
+-- include
+-+ lib
|
+-- win32_?? (exact name depends on compiler)
5. The library is ready to be used. Specific Platform NotesQNX 4In order to get proper control over Modebus timing, you have to adjust the system's clock rate. The standard ticksize is not suitable for Modbus RTU and needs to be adjusted. Configure the ticksize to a minimum of 1 ms.VxWorksThere is no make file or script supplied for VxWorks because VxWorks applications and libraries are best compiled from the Tornado IDE.To compile and link your applications against the FieldTalk library, add all the *.c and *.cpp files supplied in the src, src/hmlib/common, src/hmlib/posix4 and src/hmlib/vxworks to your project. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back | Top of page | Info | Support | Contact | About | ||
|
Information in this document is subject to change without notice.
Copyright © 2000-2010 proconX Pty Ltd.
All rights reserved.
All product and brand names mentioned on this page may be trademarks or registered trademarks of their respective owners. |