LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

keithley rs232

Solved!
Go to solution

Thanks in  advance

 I would like to use thediode leakage  program that i have found here  http://www.keithley.com/data?asset=4098 to make  some measurements with keithley 6517 using RS232.

This program is made for gpib interface ..for my question , is sufficent to chage gpib write and read in the block  diagram with visa read and writee ..Regards

simone

0 Kudos
Message 1 of 13
(5,099 Views)
Yes and you will have to set the termination character for writes. This is done with a VISA Property Node. Look at how it is done in the Advanced Serial Write and Read example. The GPIB setting is to append LF and I would assume you have to do the same thing with a serial connection.
0 Kudos
Message 2 of 13
(5,096 Views)

Thanks for your reply ...

i have tried but doestn't work ..so i have found a gpib interface  and i'm trying but doesn't work also with gpoib ..do you have an other program that works good to make diode leakage measurements with keithley 6517 ..

Regards

S

0 Kudos
Message 3 of 13
(5,037 Views)
Solution
Accepted by skisim
Keithley is the only one who has created a driver for that instrument. Just saying that it doesn't work is not much to go on. Could yuo provide some actual details so that someone can try to understand the problems you are having. Please include error codes/messages, your code, etc. You might also try contacting Keithley to see if you can get any support from them for their code.
0 Kudos
Message 4 of 13
(5,033 Views)

my code is attached ..and the error code is 121 ..

regards

0 Kudos
Message 5 of 13
(5,027 Views)
Is that an actual error code that is present in the error out indicator on the front panel or is that an instrument error? That doesn't seem like a valid LabVIEW error. If it's an instrument error, you'll have to look up the explanation in the instrument manual. Step through the GPIB write and see where the error is being generated.
0 Kudos
Message 6 of 13
(5,007 Views)

I don't have this instrument, but I use the DMM's all the time. 

 

The user manual for the 6517 is on the Keithley website.  It details SCPI commands & error codes, and GPIB and RS232. 

 

If you are seeing a "-121" on the screen of the Keithley, that translates to an "Invalid character in number"...kind of like you sending it a syntax error...maybe a command out of range.

 

In my experience, the stuff on the Keithley website wasn't very well written, but it would get you started.

 

Mike 

0 Kudos
Message 7 of 13
(5,000 Views)
DO YOU HAVENAVE ANAB OTHET PROGRAM TO DO THIS
0 Kudos
Message 8 of 13
(4,996 Views)
I'm sure Mike is correct about the error. As I suggested, you can single step through the VI (use Breakpoints) and determine which command is causing the error. Also probe the input to the GPIB Writes so that you have the actual command being sent. Then you can compare the command to the syntax in the instrument manual and change how the command is being generated. This is pretty straightforward debugging and does not require a great deal of programming experience, imho. Give it a try. It's either that or starting from scratch or using a different instrument with a better driver.
0 Kudos
Message 9 of 13
(4,991 Views)

I would guess that somewhere a non-valid decimal sign is sent to the instrument. In the VI I see no decimal format specifier (either %.; or %,;   ).

I would try to merge the 'Format into string' nodes you use:

 

Ton

 

(PS check your keyboard, looks like the shift key is stuck)

 

 

Message Edited by TonP on 02-09-2009 10:28 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 10 of 13
(4,977 Views)