Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems Interfacing Kiethely 2010 DDM with LAbview

I am trying to to interface a kiethely 2010 ddm with Labview using serial port.The Kiethley 2010 uses a scanner card with multiple channels (exactly 10 channels) and i want to give the user the freedom to use any of the 10 channels he want how can i do this in labview  .Awaiting Reply
Message Edited by Fahd on 11-19-2008 12:20 PM
0 Kudos
Message 1 of 22
(6,444 Views)
Keithley has a driver for that instrument. It has support for GPIB only but you can replace all of the GPIB functions with VISA functions and have a driver that supports serial. It's not difficult - just a bit tedious. Even if you don't want to do the conversion, you can look at the code to see how to do something. There is a function called Keithley 2010 Scan Config that seems to do exactly what you want.
Message 2 of 22
(6,436 Views)
i have actually made a VI using basic serial read and write example and its working fine to get temperature and voltage readings(which is my requirement) .I just want to make one final modification that is to give user the option to choose the channel from which to get the readings and im clueless.shall i put up the vi that i have made?and then you can suggest me anything?
0 Kudos
Message 3 of 22
(6,420 Views)

I thought by pointing you to an existing driver with code that does what you want, was suggesting something. Smiley Wink

 

Attached is the function in the driver for selecting the channels to scan.

 

p.s. If you are using the Basic Serial Write and Read example as a subVI, you are doing the communication very ineffeciently. The example configures the port and closes the VISA session with each iteration. They should be done only once and in your top level VI.

Message 4 of 22
(6,408 Views)
Thanks foe sending the Keithley 2010 Scan Config.vi but it has a missing subvi called "GPIB Send Message.vi" if u could kindly upload that as well it will help my cause.Awaiting Reply
0 Kudos
Message 5 of 22
(6,378 Views)
If you want other functions in the driver, you can download them from the link I provided. Also, I don't see why you even card about a GPIb functions since you are using a serial connection. Whether you have the subVI or not, you can't run it. And, the GPIB function is not at all relevant to your original question which is how to control the channels to be scanned. A question by the way, that can be answered by reading the manual.
Message 6 of 22
(6,368 Views)
I am a new labview user. Can u send me a vi in which serial visa functions are used for communication and channel selection using serial communication. It would really help me ...
0 Kudos
Message 7 of 22
(6,357 Views)

Here is the VI with the GPIB Write replaced with a VISA Write.

 

This is a really basic operation that you should be able to do yourself. Please look into taking some of the tutorials here.

Message 8 of 22
(6,344 Views)

Thanks for all the help. I will try it i hope it works .i appreciate the intersest you are taking

0 Kudos
Message 9 of 22
(6,338 Views)

hey  i m using the Keithley 2010 Scan Config.vi to read  channels of the Kiethley 2010 DMM and its working fine but i want to understand the Vi i am unable to undestand what  :Route:Scan (@%D:  and    %D) command are doing in the false case sub-structures of the VI and what does the command /r/n is doing while concatinating the string. Kindly help me out so that i can understand its function.Awaiting your reply...

0 Kudos
Message 10 of 22
(6,026 Views)