05-21-2019 11:21 AM
Good morning I am using the keithley equipment 2182a of Tektronix and when communicating with Labview through the serial port, it presents the following error Fig.1 we thank you help us find a solution since sometimes the program takes the measurement data.
05-22-2019 10:57 AM
Hello jnn23,
I'm not very familiar with Tektronix instruments. However, error 113 is usually a syntax error. It is indeed interesting that sometimes works and sometimes does not (I found a similar issue in their forums).
I think I would start checking the physical layer. Is the cable safely attached to both the instrument and the computer? Is the cable fixed to the test bench correctly? (aka: is it possible it is moving and having a small disconnection?) How about the integrity of the cable? Have we tried switching this physical connection?
Next, I would check the commands you are sending with the VISA driver. Let's see if the instrument can actually return reliably a *IDN? query multiple times. You can also use the NI I/O Trace tool to se which is the command being sent to the instrument when this issue shows up.
Are you using the NI Instrument Diver for that specific Keithley device or are you hard coding your SCPI commands?
I recommend sharing a little more about your test setup and VI, so the community has more tools to help you out. You can also find a troubleshooting guide here: Troubleshooting NI VISA, 488.2, Serial, and Modular Instrument Drivers.
All the best,