# User Manual:

- Look and Feel
  - Metal
  - Motif
  - Windows
- Help
- Flow Control
  - Flow Control Protocol
- Error Detection
  - Parity Check
  - CRC
- Error Control
  - Error Control ARQ
- General Setting
  - Frame Size Setting
  - Window Size Setting
  - Error Setting
- Message
  - Type Your Message
- Simulator Log
- Button
  - Start Button
  - Clear Log Button
  - Save Log Button
  - Legend Button
  - Close Button

[Back to Top] [Home]

- Once you enter our system, you will see the Data Link Simulator screen as shown below.

- And on the top, you can see 2 menus there are Look and Feel and Help Menu.

## Look And Feel:

#### Look and Feel (Metal)

- After you click Look and Feel-->Metal option, it will pop up as below (Metal) screen design.

[Back to Top] [Home]

#### Look and Feel (Motif)

- After you click Look and Feel-->Motif option, it will pop up as below (Motif) screen design.

[Back to Top] [Home]

#### Look and Feel (Windows)

- After you click Look and Feel-->Windows option, it will pop up as below (Windows) screen design.

[Back to Top] [Home]

## Help

- To use help, click on Help-->Content, it will pop up Table of Contents.
- To know system developers, click on Help-->About, it will pop up About Data Link Simulator which is list out developers of this system.
- Click OK button to back.

[Back to Top] [Home]

## Flow Control

#### Flow Control Protocol

- There are 2 common Flow Control protocol:
  - Stop and Wait
  - Sliding Window

- To configure Flow Control (Stop and Wait Protocol), use the option Flow Control -> Stop and Wait.

  - Stop and Wait is a flow control protocol in which sender transmits a block of data and then awaits an acknowledgement before transmitting the next block.

  - And in Error Control it will only can use Stop and Wait ARQ option.

- To configure Flow Control (Sliding Window Protocol), use the option Flow Control -> Sliding Window.

  - Sliding Window is a method of flow control in which a transmitting station may send numbered packets within a windows of numbers.

  - The windows is change dynamically to allow additional packets to be sent.

  - And in Error Control you can select either Go Back N ARQ or Selective Reject ARQ option.

  - You also can use General Setting -> Window Size to set the window size.

[Back to Top] [Home]

## Error Detection

#### Parity Check

- There are 2 types of Parity Check:
  - Even Parity Check
  - Odd Parity Check

- To configure Error Detection (Even Parity Check), use the option Error Detection -> Even Parity Check.

  - Eg.Type "CNDS" Message - data: 1000011

  - Even parity - data: 1000011, parity bit set to 1

> Data transmitted: 10000111

> Sender Even Parity Check Simulation Results | Receiver Even Parity Check Simulation Results

- To configure Error Detection (Odd Parity Check), use the option Error Detection -> Odd Parity Check.

  - Odd parity - data: 1000011, parity bit set to 0

    > Data transmitted: 10000110

    Sender Odd Parity Check Simulation Results | Receiver Odd Parity Check Simulation Results

[Back to Top] [Home]

#### CRC

- There are 4 types of Polynomial Bit :
  - CRC-8
  - CRC-16
  - CRC-CCITT
  - CRC-32

- To configure Cyclic Redundancy Check, use the option Error Detection -> Cyclic Redundancy Check and choose the 4 types of Polynomial Bit.

  - Eg.Type "CNDS" Message

  - Choose CRC polynomial Bit is CRC-8 bits.

[Back to Top] [Home]

## Error Control

#### Error Control ARQ

- There are 3 types of Error Control ARQ :
  - Stop and Wait ARQ
  - Go Back N ARQ
  - Selective Reject ARQ

- To configure Error Control (Stop and Wait ARQ), use the option Error Control -> Stop and Wait ARQ.

  - It must select Flow Control -> Stop and Wait

  - This is the default of Stop and Wait Protocol.

- To configure Error Control (Go Back N ARQ), use the option Error Control -> Go Back N ARQ.

  - It must select Flow Control -> Sliding Window

- To configure Error Control (Selective Reject ARQ), use the option Error Control -> Selective Reject ARQ.

  - It must select Flow Control -> Sliding Window

[Back to Top] [Home]

## General Setting

#### Frame Size Setting

- There have 4 types of Frame Size bits :
  - 8 bits
  - 16 bits
  - 32 bits
  - 64 bits

- To configure Frame Size, use the option General Setting -> Frame Size and choose the Frame Size Bits you want.

  - It must select Flow Control -> Stop and Wait

  - Then Select how many bits you want the frame size.

  - Eg.Type "CNDS" Message

  - Select Frame Size = 8 bits

[Back to Top] [Home]

#### Window Size Setting

- There are 4 choice of Window Size :
  - 3
  - 7
  - 15
  - 31

- To configure Window Size, use the option General Setting -> Window Size and choose the Window Size you want.

  - It must select Flow Control -> Sliding Window

  - Then only can choose the Window Size.

[Back to Top] [Home]

Error Setting

- There are 2 choice of error :
  - Error Free
  - With Error

- To configure Error, use the option General Setting -> Error.

  - Then only can choose either Error Free or With Error option.

- To configure Error Free, use the option General Setting -> Error -> Error Free

  - The receiver successfully receive the message.

  - Eg. The message is "CNDS"

- To configure With Error, use the option General Setting -> Error -> With Error

  - The receiver will receive the message with error.

  - Eg. The message is "CNDS"

  - The receiver will received gNDS message.

[Back to Top] [Home]

## Message

#### Type Your Message

- Type your message here to get the results of simulation (Simulator Log).

[Back to Top] [Home]

## Simulator Log

- There are 2 Simulator Log :
  - Sender
  - Receiver

[Back to Top] [Home]

## Button

#### Start Button

- To configure the results of simulation, click on Start Button to generate the result.

  - Eg.

- Then it will update the simulator log details.

[Back to Top] [Home]

#### Clear Log Button

- To configure the results of simulation, click on Clear Log Button to clear the results of simulation.

  - Eg.

- Then it will reset the simulator log details.

[Back to Top] [Home]

#### Save Log Button

- After you click Save Log Button, it will pop up the screen as below:

- Select the destination that you want to save simulator log.

  - Type the File Name, Eg. simulator_log.

  - Then click Save Button.

- After click Open Button, it will pop up File Saved screen.

  - Click OK Button to save the log file.

- The results of simulator log had saved at the destination that just now you selected.

[Back to Top] [Home]

#### Legend Button

- After click Legend Button, it will pop up the screen as below:

  - It will guide you the meaning of the results of simulation log.

  - Click OK Button to exit the legend screen.

[Back to Top] [Home]

#### Close Button

- After click Close Button, it will pop up the screen as below:

  - Click Yes Button to close the Data Link Simulator.

  - Click No Button to continue the Data Link Simulator.

[Back to Top] [Home]