Solution
GPIB uses eight parallel digital lines for bi-directional data transfer. The behavior observed is caused by one or several of these data lines being defective.
You can confirm which data lines are defective by comparing characters between the expected response and the actual response in binary representation, as shown in the table below.
Expected ASCII | K | e | y | s | i | g | h | t |
Binary Value | 01001011 | 01100101 | 01111001 | 01110011 | 01101001 | 01100111 | 01101000 | 01110100 |
Received ASCII | O | g | y | w | i | g | h | v |
Binary Value | 01001111 | 01100111 | 01111001 | 01110111 | 01101001 | 01100111 | 01101000 | 01110110 |
In this case, data lines #1 and #2 present an unexpected behavior and must be checked for bent pins, physical damage, or alterations in the GPIB interfaces, connectors, and cables.
You can also try using a different GIPB interface, cable, or instrument to solve the issue or pinpoint its location. If the behavior is specific to an instrument or GPIB interface, consider having it inspected and repaired if necessary.