|
Monitoring Serial Communications Between Two Devices |
|
|
Preconditions
Performing the test
A) Creating a new project Create a new Docklight project by selecting the menu File >
B) Setting the Communication Options
Alternative 1 - Using Docklight Monitoring Cable
NOTE: In Docklight Monitoring Mode, all received data from one COM port is re-sent on the TX channel of the opposite COM port ("Data Forwarding"). This does not have any effect for Docklight Monitoring Cable setups, since the TX signal is not connected. But it can be useful for special applications where you need to route the serial data traffic through Docklight using standard RS232 cabling. If you require a pure passive monitoring behavior where no TX data appears, you can disable the "Data Forwarding" using the menu Tools > Expert Options...
Alternative 2 - Using Docklight Tap
C) Defining the Receive Sequences used Define Receive Sequences, which should be marked in the test protocol or trigger an action within Docklight. Docklight checks for Receive Sequence on both monitoring channels, i.e. it does not matter whether the sequences come from serial device 1 or serial device 2.
NOTE: Since a special monitoring cable is used for this test, all communication between serial device 1 and serial device 2 will remain unbiased and no additional delays will be introduced by Docklight itself. This is particularly important when using Docklight for tracking down timing problems. This means, however, that there is no way to influence the serial communication between the two devices. While communication mode Monitoring is selected, it is not possible to use Send Sequences.
D) Storing the project Before running the actual test, it is recommended to store the communication settings and sequences defined. This is done using the menu File >
E) Running the test Start Docklight by choosing Run >
TIP: The
TIP: See the sections How to Increase the Processing Speed... and How to Obtain Best Timing Accuracy to learn how to adjust Docklight for applications with high amounts of data, or increased timing accuracy requirements.
|