Siemens 7 manual Multiplexer Driver Developer’s Guide

Page 23

Multiplexer Driver Developer’s Guide

4.2 Settings Stored in the Windows Registry

s

Table 6: Registry values

Value

Data (Example)

Properties

 

 

 

Optional values supported as of Multiplexer Protocol version 4, i.e. supported by the WinMux2k driver version 3.000 or later.

The following optional values can be manually added to the Registry when needed.

MaxMuxVersion

3

This registry value provides the possibility to force the driver

 

 

to use a lower multiplex protocol version than the maximum

 

 

supported. The multiplex protocol has been improved con-

 

 

tinuously by adding several features. The multiplex protocol

 

 

version is negotiated with the connected module during mul-

 

 

tiplex startup. It is used to ensure compatibility between dif-

 

 

ferent multiplex driver and module generations. The registry

 

 

value isn’t mandatory, by default the WinMux driver uses

 

 

always the latest protocol implementation with all available

 

 

features. If for some reason an older multiplex protocol shall

 

 

be used it can be controlled with that registry value. For fur-

 

 

ther information about the multiplex protocol versions refer

 

 

to the “Multiplexer User’s Guide”.

HdlcWindowSize

4

Modules with multiplex protocol version 4 and above use a

 

 

kind of HDLC framing to secure the data transmission on the

 

 

virtual ports and avoid data loss at high transfer rates and

 

 

much data traffic. This registry value provides the possibility

 

 

to adjust the size of the HDLC window which defines the

 

 

maximal number of outstanding HDLC packets. It can be

 

 

between 2 and 7.

 

 

This Registry value is not mandatory. If it is not added to the

 

 

Registry the value 4 will be assumed by default. Please note

 

 

that the value is negotiated with the module.

 

 

 

Mux_Drv_DevGuide_v07

Page 23 of 36

2006-9-27

Confidential / Released

 

 

Image 23
Contents User’s Guide Copyright General NotesContents Multiplexer Driver Developer’s Guide List of Tables TablesList of Figures FiguresDocument History Chapter What is newDocument History Multiplexer Driver Developer’s Guide Introduction IntroductionSupported Product Versions Supported Product VersionsAbbreviation Description Related DocumentsAbbreviations Related DocumentsArchitecture Hierarchy Chart in the SystemArchitecture UserHandling of the Physical Serial Port Signal DescriptionHandling of the Physical Serial Port Module DetectionHandling of Control Lines on Virtual Ports Handling of Control Lines on Virtual PortsLimitation of Virtual Ports Module Initializing Sequence Command Response Function Associated Registry ValueModule Initializing Sequence Module Re-initialization Power DownPower Down on PC Suspend Power Down after Closing the Last PortPower Down Power Down on PC ShutdownInstallation InstallationFiles Required for WinMux2k Driver Installation Installing the WinMux2k DriverWindows XP new desktop, not the classic desktop Deinstalling the DriverDeinstalling the Driver WindowsDevice Settings and Properties Device Settings and PropertiesSettings on the Serial Multiplexer Properties Value Data Example Properties Settings Stored in the Windows RegistrySettings Stored in the Windows Registry TC45, XC18 only Multiplexer Driver Developer’s Guide Values Data Example Properties Settings for Applications Settings for ApplicationsDial-up Network Settings Fax SettingsCompiler Flags Translate Source CodeSoftware Requirements Preparing the TranslationAdditional Source Documentation Additional Source DocumentationInteraction of the Different Driver Objects Internal Driver States Internal Driver StatesBuffer Handling Buffer HandlingTo th e S e rM u x O b je c t a re in d ic a te d Data TransferMultiplexer Driver Developer’s Guide SerMuxSend and SerMuxSendPort0 Functions SerMuxSend FunctionStart +++-Parser +++-ParserStandby of the Operating System Known ProblemsBooting Operating System Shutdown of the Operating SystemSpecial Environments Special EnvironmentsOperation on Virtual USB Port Automatic Shutdown in case of Emergency