Moxa Technologies NPort 5200 Serie User Manual Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 37
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
SDK 2 Programmer’s Guide Developing User Applications
3-6
Embedding a Private Key from the Command Line
To give program developers a convenient alternative for producing an AP, EXE2AP can also be
activated from the Windows command Prompt. Enter the command in the following format:
EXE2AP –Kxxxxxxx –Syyyyyyyy.yyy –Dzzzzzzzz
Argument description
-K Private key. Select a key with at most 15 characters or numbers (e.g., you could
choose private key = 23ji5rj34g).
-S Source file. The source EXE file.
-D AP file. Note that you should not type the file extension name since it is
predefined as “AP”.
For example, to generate the AP file from the command line, add the following line after tlink in
the batch file.
C:\PCGSDK2\UTILITY\Exe2ap>Exe2ap -K23ji5rj34g -Sc:\pcgsdk2\example\serial\sdks
er23.exe -Dc:\pcgsdk2\example\serial\sdkser23
Using SDK Manager
After the application has been successfully compiled and linked, it time to use SDK Manager.
SDK Manager is a utility that provides the following functions.
¾ Search and locate NPort PCGs.
¾ Change the IP, Netmask, Gateway, default serial comm parameters, and private key for PCG.
¾ AP download
¾ Debug window
Searching for NPort PCGs
The Search Menu provides two different methods to search the network for an NPort PCG.
Broadcast Search is used to locate all NPort PCGs connected to the same LAN as the host, and
Search by IP is used to locate a specific NPort PCG, particularly if it is located outside the LAN
and can only be accessed by going through a router. The Search Menu also provides the Locate
Gateway function that can be used to identify a particular NPort PCG.
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 36 37

Comments to this Manuals

No comments