NPort PCG SDK 2 Programmer’s Guide Third Edition, July 2006 www.moxa.com/product MOXA Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919
33 Chapter 3 Developing User Applications In this chapter, we cover the following items: ¾ Application Development Flow ¾ Software tools require
SDK 2 Programmer’s Guide Developing User Applications 3-2Application Development Flow The following flowchart illustrates the standard process for d
SDK 2 Programmer’s Guide Developing User Applications 3-3Development System Before getting started on application development, you need to make sure
SDK 2 Programmer’s Guide Developing User Applications 3-4Compiling and Linking your Application Under PCG SDK, compiling and linking is done from DO
SDK 2 Programmer’s Guide Developing User Applications 3-5Using EXE2AP After successfully generating an EXE file, you will need to use Exe2ap.exe to
SDK 2 Programmer’s Guide Developing User Applications 3-6Embedding a Private Key from the Command Line To give program developers a convenient alter
SDK 2 Programmer’s Guide Developing User Applications 3-7Broadcast Search To access this function, select Broadcast Search under the Search menu, or
SDK 2 Programmer’s Guide Developing User Applications 3-8 NOTE The default IP address of an NPort PCG 5200-P series product is 192.168.127.254, with
SDK 2 Programmer’s Guide Developing User Applications 3-9If the search is successful, the Model Name, Serial No., Module Name, AP ID, MAC Address, I
SDK 2 Programmer’s Guide Developing User Applications 3-10Selecting/Deselecting NPort PCG The Select All and Deselect All functions are provided to
NPort PCG SDK 2 Programmer’s Guide The software described in this manual is furnished under a license agreement and may be used only in accordance w
SDK 2 Programmer’s Guide Developing User Applications 3-11Configuring an NPort PCG To use this function, select Configuration under the Actions menu
SDK 2 Programmer’s Guide Developing User Applications 3-12 Ethernet Port IP Address xxx.xxx.xxx.xxx Available with multi-selection When multiple ta
SDK 2 Programmer’s Guide Developing User Applications 3-13Serial Port Tab This section of the Configuration window allows you to modify the serial c
SDK 2 Programmer’s Guide Developing User Applications 3-14Private Key Tab As mentioned above, a private key is required for both the AP and the NPor
SDK 2 Programmer’s Guide Developing User Applications 3-15Auto IP Report In a dynamic IP environment (DHCP, BOOTP), the NPort PCG’s IP address chang
SDK 2 Programmer’s Guide Developing User Applications 3-16Application Download Up to this point, we have only discussed how to configure the NPort P
SDK 2 Programmer’s Guide Developing User Applications 3-17Use the Open button to navigate to the folder that contains the kernel file, or just type
SDK 2 Programmer’s Guide Developing User Applications 3-18Start Application To start an application loaded in the NPort PCG, first select Run Applic
SDK 2 Programmer’s Guide Developing User Applications 3-19Gateway Info Area The NPort PCG’s basic configuration settings are shown in the Comm. Gat
SDK 2 Programmer’s Guide Developing User Applications 3-20Example Programs NPort PCG’s SDK is a comprehensive utility designed to match a programmer
MOXA Internet Services Customer satisfaction is our number one concern. To ensure that customers receive the full benefit of our products, Moxa In
44 Chapter 4 Application Deployment After your application has been tested and is ready to go, it’s time to deliver the NPort PCG with your softw
SDK 2 Programmer’s Guide Application Deployment 4-2Command Line Usage To speed up program development, EXE2FRM can also be activated from the DOS co
SDK 2 Programmer’s Guide Application Deployment 4-3Developing an NPort PCG Utility NPort PCG SDK provides the NPort PCG Control Interface (PCGCI) Li
SDK 2 Programmer’s Guide Application Deployment 4-4 The AP version shows up in SDK Manager window.
55 Chapter 5 Programming Notes This chapter provides a more in-depth explanation of the following topics. ¾ Flash ROM Access ¾ Serial I/O Buffer
SDK 2 Programmer’s Guide Programming Notes 5-2Flash ROM Access NPort PCG contains a block of flash memory that is available for data buffering, or t
SDK 2 Programmer’s Guide Programming Notes 5-3Writing Data Data is written sequentially into the flash according to your program’s instructions. Eac
66 Chapter 6 FAQ In this chapter, we present a short list of Questions and Answers to assist you in solving frequently encountered problems. Questi
Table of Contents Chapter 1 Introduction...1-1 Moxa
11 Chapter 1 Introduction NPort Programmable Communication Gateway SDK 2 is designed for users who would like to run their own proprietary applica
SDK 2 Programmer’s Guide Introduction 1-2SDK Function Group Overview The SDK Library contains several groups of function calls. The following table
22 Chapter 2 Installing SDK This chapter covers the following items: ¾ System Requirements ¾ How to install PCG SDK2 utilities and Library ¾ How
SDK 2 Programmer’s Guide Installing SDK 2-2PCG SDK2 Directories and Files The installation program installs the following files on your computer’s h
SDK 2 Programmer’s Guide Installing SDK 2-3Installing Turbo C To install Turbo C on a Windows system, run the installation program: CD ROM:\Programm
Commentaires sur ces manuels