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.
I'm using a 2182A nanovoltmeter connected by RS-232 to a 6221 current source, connected to my computer by ethernet. I want to extract the nanovoltmeter data and acquire the voltage at the specified rate.
So far, I've been able to controll the NPLC and the rate of the nanovoltmeter with the commands
:SYST:COMM:SER:SEND "VOLT:RATE:AUTO ON"
:SYST:COMM:SER:SEND "VOLT:NPLC 0.1"
But sometimes, quite randomly, even though it works, LabView sends an error. And those are the two only commands that seems to work quite properly. I use the «2182 A Query.vi» (from http://www.keithley.com/support/data?asset=53966).
When I try to ask
Nothing is read and I have an error. I don't get that.
And when I try «READ?», the read.vi gives me sometimes the measurment, sometimes not, and most of the time an error with that.
Anyways, from what I understand, the «read?» command only gives one reading. What I'm actually tring to do is to get a series of measure, at the givin rate, but I don't know how to extract the data that I see on the front panel.
Thanks for helping!!
When I put the command
I get half of the time an answer, which is never the same than the one on the display.
In fact, what I want to do is to get continuously the data. Whent I do
I also get only one answer, and only half the time, even though the display now displays continuously the data. I just don't know how to transfer it on the computer.
Also, when I repeat commands a certain amount of time, I always get errors completely randomly - sometimes it works, sometimes not. I can't get any pattern in it... Does it do the same to you?
- (13.38 KiB) Downloaded 1236 times
I'm not sure to understand what you're telling me to do....
«:SYST:COMM:SER:SEND ":INIT:CONT ON"
Dosen't give anything.... Still I don't know how to get the continuous data that appears on the display.
Sorry it took soo long to get back to you. I am unable to code a workaround for this firmware issue. The internal registers(6221) are getting corrupted when I try to send data via rs232 from the 2182A to the 6221. The measurement data is getting put into the error buffer, so you will not get repeatable results. I tried to come up with a way to reallign the registers after a call and was unsuccessful.
We are initiating a firmware fix for this problem. Unfortunately, the only solution I can think of in the mean time for you would be to use GPIB for your communication to both of your units via a KUSB-488B. This way you will be communicating and sending data from each instrument directly to the PC as opposed to having the 2182A data read by the 6221 and then sent to the PC. When the firmware fix is complete, it will be available on the Keithley website for download.
Hope this helps,
Who is online
Users browsing this forum: No registered users and 1 guest