Siemens 7 User Manual

Page 3

Advertising
background image

Multiplexer Driver Developer’s Guide

Contents

s

Mux_Drv_DevGuide_v07

Page 3 of 36

2006-9-27

Confidential / Released

Contents

0

Document History.................................................................................................................................... 7

1

Introduction.............................................................................................................................................. 9

1.1

Supported Product Versions ......................................................................................................... 10

1.2

Related Documents....................................................................................................................... 11

1.3

Abbreviations................................................................................................................................. 11

2

Architecture............................................................................................................................................ 12

2.1

Hierarchy Chart in the System ...................................................................................................... 12

2.2

Handling of the Physical Serial Port .............................................................................................. 13

2.3

Module Detection .......................................................................................................................... 13

2.4

Handling of Control Lines on Virtual Ports .................................................................................... 14

2.5

Limitation of Virtual Ports .............................................................................................................. 14

2.6

Module Initializing Sequence......................................................................................................... 15

2.7

Module Re-initialization ................................................................................................................. 16

2.8

Power Down .................................................................................................................................. 16

2.8.1

Power Down on PC Suspend ........................................................................................ 16

2.8.2

Power Down after Closing the Last Port........................................................................ 16

2.8.3

Power Down on PC Shutdown ...................................................................................... 17

3

Installation.............................................................................................................................................. 18

3.1

Files Required for WinMux2k Driver Installation ........................................................................... 18

3.2

Installing the WinMux2k Driver...................................................................................................... 18

3.3

Deinstalling the Driver ................................................................................................................... 19

4

Device Settings and Properties............................................................................................................ 20

4.1

Settings on the Serial Multiplexer Properties Page ....................................................................... 20

4.2

Settings Stored in the Windows Registry ...................................................................................... 21

5

Settings for Applications ...................................................................................................................... 25

5.1

Dial-up Network Settings............................................................................................................... 25

5.2

Fax Settings .................................................................................................................................. 25

6

Translate Source Code.......................................................................................................................... 26

6.1

Software Requirements................................................................................................................. 26

6.2

Preparing the Translation .............................................................................................................. 26

6.3

Compiler Flags .............................................................................................................................. 26

7

Additional Source Documentation....................................................................................................... 27

7.1

Interaction of the Different Driver Objects ..................................................................................... 27

7.2

Internal Driver States..................................................................................................................... 28

7.3

Buffer Handling.............................................................................................................................. 29

7.4

Data Transfer ................................................................................................................................ 30

7.4.1

Block Flow Diagram for Data Received by the Module ................................................. 30

7.4.2

Block Flow Diagram for Data Sent to the Module via Virtual Port ................................. 31

7.4.3

SerMuxSend Function ................................................................................................... 32

7.5

The +++-Parser ............................................................................................................................. 34

8

Known Problems ................................................................................................................................... 35

8.1

Booting Operating System ............................................................................................................ 35

Advertising