Black Box GEH-6510 manual Automatic NetDDE Setup VNDDE.EXE, Overview, Utility

Page 29

“trust” this share before any client applications will be able to request data from the shared application.

An important thing to remember is that each user of the host PC must trust the share for the DDE Server if View Nodes are to be able to access data from the server. If you log off the host PC and a new user logs in, they will need to trust the DDE Server share before any View Nodes can access data. A user may or may not be able to create and trust shares, depending on their user level at the host PC; if they log in as a “guest”, they won’t have sufficient access privileges to create and trust shares.

If this sounds intimidating, don’t worry. To make setting up NetDDE quick and easy, PMCS has an automatic configuration utility. If you prefer a more hands-on approach, see the directions for manually configuring NetDDE’s shares and trusts following the Automatic Setup instructions.

Automatic NetDDE Setup: VNDDE.EXE

The NetDDE Share Utility (VNDDE.EXE) automates the process of setting up shares on Windows 2000 SP2. It is recommended over the manual process for speed and ease of use.

Overview

The NetDDE share utility was created to simplify creation of DDE shares on Windows 2000 SP2.

This utility automatically checks to see if a share exists for the DDE Server. If the share already exists, it is automatically trusted. If no share exists, the utility creates a DDE share for each version of the GE PMCS DDE Server (it doesn’t matter which version is installed on the host PC) and then trusts the share. The share has default properties that allow it to operate without additional setup. You can modify the share’s properties once it is created, but you shouldn’t need to, in most cases.

As mentioned previously, once a share is created it must be trusted by each user of the host PC. The consequence of this is that if a new user account is created and the user logs on with the new account, the shares will not be trusted and requests from remote clients will be rejected by the NetDDE share manager. The NetDDE share utility addresses this problem by automatically trusting the share for the current user.

The PMCS installer program places a shortcut to the VNDDE.EXE utility in the Windows 2000 SP2 "All Users" Start Menu>Programs>Startup, so that the utility will run automatically each time a user logs in.

The utility

The utility’s file name is VNDDE.EXE, and it should be located in directory

c:\ge_pmcs\tools\. It is an NT/2000 command prompt application and executes in a DOS command window. There aren’t any command-line parameters. When this utility is executed, if the shares do not exist, they are created and the message Added share GE32MODB* or Added share GE32MTCP* or Added share GE32EIND* is displayed. For the script to create a share, the current user must have Administrator level privileges. If the shares exist but are not trusted to the current user, they are changed to trusted and the message Trusted share GE32MODB* or Trusted share GE32MTCP* or Trusted share GE32EIND* is displayed. Any user is allowed to trust a share, regardless of privilege level.

If the shares already exist and are trusted, the utility does nothing. No message is displayed.

DDE Server User’s Guide

Chapter Three - Getting Started 25

Image 29
Contents Power Leader TM DMMS425 Back to Main Menu Contents Glossary of Terms This page left blank intentionally Welcome Chapter One IntroductionAbout NetDDE About DDEAbout the Pmcs DDE Server InstallationEI User’s only Server with OPC InterfacesChapter One Introduction DDE Server User’s Guide Running Pmcs DDE Server as an NT Service About Pmcs Chapter Two OverviewChapter Two Overview DDE Server User’s Guide Sample register map DevicesPmcs DDE Server NetworksClient Applications What’s NextDevice Configuration First-Time ConfigurationChapter Three Getting Started IntroductionWhat’s on the DDE Server Screen? Launching the ProgramMenu Conventions Menu BarConfiguring Communication ports EPM 7700 Xpress Card or Xplex 1620 Max Server Users Ethernet Users OnlyChapter Three Getting Started DDE Server User’s Guide Modbus TCP/IP Server Users Chapter Three Getting Started DDE Server User’s Guide Configuring the Devices Device Name Topic Com Port Starting the ServerDisplaying I/O Traffic DDE Server User’s Guide Chapter Three Getting Started NetDDE Setup Utility Automatic NetDDE Setup VNDDE.EXEOverview Results Tips on using VNDDE.EXEVNDDE.EXE Error Messages Trouble-Shooting VNDDE.EXE Manual NetDDE SetupVNDDE.EXE FAQ’s Additional HelpChapter Three Getting Started DDE Server User’s Guide DDE Server User’s Guide Chapter Three Getting Started Chapter Three Getting Started DDE Server User’s Guide This page left blank intentionally System Menu Chapter Four Menus and ToolbarsStop Server MenuRun Suspend Protocol/Resume Protocol View MenuPrint I/O Traffic ExitColor Traffic DisplayDisplay Add Device BackgroundRegister groups for display Clear DisplayDelete Configuration Configure MenuSave Display To File Port StatisticsPorts Modbus or EI ConfigureDDE Server User’s Guide Chapter Four Menus and Toolbars Ethernet Gateway Users Ports Ethernet onlyEPM 7700 Xpress Card or Xplex 1620 Max Server Users Chapter Four Menus and Toolbars DDE Server User’s Guide Modbus TCP/IP Server Users Chapter Four Menus and Toolbars DDE Server User’s Guide Device Info AddChapter Four Menus and Toolbars DDE Server User’s Guide Delete ModifyActivate checkbox Device Type InformationGeneric Comm Interface DDE Server User’s Guide Chapter Four Menus and Toolbars Active Links Reports MenuToolbar Help MenuWWLogger Chapter Five TroubleshootingTrouble-Shooting the Pmcs DDE Server Communications Client to Server Communications Server to Device NetDDE Trouble-Shooting Trouble-Shooting Flowchart Error Messages Trouble-Shooting ChartCServerAppOnDeleteDev Invalid toolkit index Device device name Active Failed to delete itemlogical device handle, Protocol Handle No Write to Individual Discrete Bits Device type device type name is not a valid type for topic This page left blank intentionally Device Type Information Adding Generic Devices Chapter Six Advanced OptionsAdd Default Type Function Codes Register Map Type Code Type of Register Supported Function Codes Use Adding a Register GroupDDE Server User’s Guide Chapter Six Advanced Options Invalid Register Blocks Deleting an Invalid Register Block Modifying an Invalid Register BlockDeleting a Register Group Modifying a Register GroupImporting or Exporting a Register Group MnemonicsModifying a Mnemonic Adding a MnemonicDeleting a Mnemonic Importing or Exporting MnemonicsOptimizing Server Performance Protocol Timer TickServer Operational Parameters Valid Data Time-outSlow Poll Count Pmcs DDE Server .ini FileCommunication Time-out Dead Device Scan Interval Maximum Query RetriesSleepTime For Exception TimeDownLoad PeriodUIHide ExitDisableData-Addressing Conventions Appendix a Register Addressing ConventionsData Types Standard Data OrganizationLong Words and Special Numbers Special Naming ConventionsExamples XnnnnDL-B Individual Bits In RegistersRegister Array Format This page left blank intentionally Terms You Should Know Glossary of TermsGlossary of Terms DDE Server User’s Guide Index GE Industrial Systems