Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

keithley GPIB control with LabView in loop mode

Hi guys!

I know that my problem might sound stupid but I know nothing about LabView even I did once.... I am trying to get the control from the LabView interface of the system but I need to change the LabView program it self coz for example is doing the measurment between 0 and 10 V but I need to continue and do the measurment as well going down: form 10V to 0. Do not have a clue how to put a loop there to do this.

Thanks guys!

And sorry if is too stupid....

Thanks!

0 Kudos
Message 1 of 15
(5,273 Views)
What LabVIEW program are you talking about? If you have an existing program, attach it so someone can look at it.
0 Kudos
Message 2 of 15
(5,268 Views)

Sorry!

I forgot to put the file...

Thank you for looking at it!

0 Kudos
Message 3 of 15
(5,260 Views)
That's all very specific code for the instrument to perform a sweep. I'm not familiar with the instrument and I don't know if you can program it do that. That would be a question for Keithley. You could certainly do two different sweeps and combine the results. Instead of an event structure, I would implement a state machine. I suppose you could also do by incrementing the voltage in LabVIEW instead of the instrument doing it.
0 Kudos
Message 4 of 15
(5,253 Views)

Thanks a lot!

I was trying to conect in some how a while loop there but don't have clue how to put it in. So when I get to the superior value start a decrementwit sup-1...sup-sup=0 and stope here.

Do you know how to do it in LabView? Maybe I will find a way and rebuild all around this.

 

0 Kudos
Message 5 of 15
(5,250 Views)
There are a lot of ways to do it. This is a LabVIEW problem and if you search that for 'Ramp', you will find several examples. One way is with the attached code. It uses the Ramp function. Wire the array into a for loop with the instrument set voltage function and autoindexing of the array will step through each element. You could also use the triangle wave function. You could use a while loop with a shift register and a case statement, etc.
Message Edited by Dennis Knutson on 03-01-2010 02:24 PM
0 Kudos
Message 6 of 15
(5,237 Views)

I will try to do this. My LabView version is older then yours so doesn't let me open the file attached.

Let you know how is going.

Thank you so much!

Have a nice day! 🙂

0 Kudos
Message 7 of 15
(5,216 Views)

Hi!

Didn't handle to do it. I can't open as well the examples. My version is 8.5 and do not have any ramp....Smiley Sad

Hope to come up with other news soon.....

0 Kudos
Message 8 of 15
(5,201 Views)

Hello Guys,

 

I have question in my mind for long, I am connection Labview8.5.1 through GPIB-USB-HS with Keithley 2010, I have a program to initialize Keithley and to read the input voltage, but my program is writing each time I am reading and I am no satisfied with that, (See the while loop, W/R).

 

Would you be kind and inform me how can I write (Initialize) once and read always.

 

the program in the attachment file

 

Thanks in advance

0 Kudos
Message 9 of 15
(5,135 Views)
Don't hijack an unrelated thread. Start a new one for your question.
0 Kudos
Message 10 of 15
(5,133 Views)