18
Docklight V2.2 User Manual 07/2016 Copyright 2016 Flachmann und Heggelbacher GbR
Working with Docklight
5
Working with Docklight
5.1
Testing a Serial Device or a Protocol Implementation
Preconditions
·
You need the specification of the protocol to test, e.g. in written form.
·
The serial device to test should be connected to one of the PC's COM ports. See
section
for details on how to connect two serial devices.
·
The serial device must be ready to operate.
Performing the test
A) Creating a new project
Create a new Docklight project by selecting the menu
File >
New Project
B) Setting the Communication Options
1.
Choose the menu
Tools >
Project Settings...
2.
Choose communication mode
Send/Receive
3.
At
Send/Receive on comm. channel
, set the COM Port where your serial device
is connected.
4.
Set the baud rate and all other
COM Port Settings
required.
5.
Confirm the settings and close the dialog by clicking the
OK
button.
C) Defining the Send Sequences to be used
You will probably test your serial device by sending specific sequences, according to the
protocol used by the device, and observe the device's reaction. Perform the following
steps to create your list of sequences:
1.
Double click on the last line of the
dialog is displayed (see also
Editing and Managing Sequences
).
2.
Enter a
Name
for the sequence. The sequence name should be unique for every
Send Sequence defined.
3.
Enter the
Sequence
itself. You may enter the sequence either in ASCII, HEX,
Decimal or Binary format. Switching between the different formats is possible at any
time using the
Edit Mode
radio buttons.
4.
After clicking the
OK
button the new sequence will be added to the Send Sequence
lists.
Repeat steps 1 - 4 to define the other Send Sequences needed to perform your test.
D) Defining the Receive Sequences used
Содержание Docklight V2.2
Страница 1: ...Docklight V2 2 User Manual 07 2016 Copyright 2016 Flachmann und Heggelbacher GbR...
Страница 5: ...Copyright...
Страница 7: ...Introduction...
Страница 11: ...User Interface...
Страница 14: ...Features and Functions...
Страница 17: ...Working with Docklight...
Страница 28: ...Working with Docklight Advanced...
Страница 41: ...Examples and Tutorials...
Страница 46: ...Reference...
Страница 62: ...Support...
Страница 64: ...Appendix...
Страница 76: ...76 Docklight V2 2 User Manual 07 2016 Copyright 2016 Flachmann und Heggelbacher GbR Appendix...
Страница 77: ...Glossary Terms Used...