Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

6221/2182 Communication Issues

6220, 6221 Current Sources
Post Reply
bzuiss
Posts: 1
Joined: August 26th, 2015, 1:55 pm
Country: United States

6221/2182 Communication Issues

Post by bzuiss » August 26th, 2015, 2:18 pm

Hi,

I am communicating with a 6221 from my PC via Ethernet and I have a 2182 Nanovoltmeter connected via RS-232 and trigger link cable.

Using vb.net and NI VISA, I have written a driver that sends SCPI commands to the 6221.

I have the termination char set to LF in my code.

When I send a measurement command to the 2182, I am able to send the query command and then read back the correct measurement. However, there is an additional LF remaining in the buffer of the instrument.

Any ideas as to what I am doing wrong?

Dale C
Keithley Applications
Keithley Applications
Posts: 2842
Joined: June 10th, 2010, 6:22 am
Country: United States
Contact:

Re: 6221/2182 Communication Issues

Post by Dale C » September 17th, 2015, 7:59 am

Model 2182A would send a LF at the end of the transmission.
So that would account for one of the LFs.
Is your VB.net code adding an LF? Maybe it is doing so to be sure there is an LF to terminate the transmission?
What is the firmware revision of the 2182A?

Post Reply

Return to “Current Sources”

Who is online

Users browsing this forum: No registered users and 2 guests