Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

keithley 2400 read buffer data

Hi all,

 

I have connected an external source to the Keithley 2400 sourcemeter and I want to measure the Voltage through K2400. With the help of the read voltage function, i could get the latest voltage value. Now i want to configure the buffer & read the array of voltage readings. I use the LV Keithley 24xx driver. I just executed the following steps but I couldn't make it.

1.Open GBIP Connection

2.Enable Buffer

3.Configure Buffer

4.Read Buffer

5.Close GPIB Connection

 

I get the following error.

<ERR>Driver Status:  (Hex 0xBFFC1910) ERROR : Corrupted pointer to range table.

 

I am not familialr about this instrument. Can any one help me?

 

Thanks,

Raja

 

LV 8.6

Message Edited by Rajaa on 02-19-2010 12:49 AM
0 Kudos
Message 1 of 8
(10,651 Views)

Raja,

 

What driver are you using? The error message looks like an IVI error!. You should use the native LabVIEW driver and not the IVI driver.

0 Kudos
Message 2 of 8
(10,637 Views)

Yes, i have to use this driver. Can you help me out in executing the sequence flow. I guess there is something missing in my sequence flow. Now i executed the following sequence

 

 

1.Open GBIP Connection

2.Enable Source output

3.Enable Buffer

4.Configure Buffer

5.Initiate

6.Wait

7.Read Buffer

8.Close GPIB Connection

 

But i got an error in  Read Buffer.vi<ERR>Driver Status:  (Hex 0xBFFC1900) ERROR: Device Error.

 

I also tried with SCPI commands.This also doesn't work. I get different voltage values.

 

ii.JPG

 

 

 

 

Thanks,

Raja

 

 

Message Edited by Rajaa on 02-19-2010 08:43 AM
0 Kudos
Message 3 of 8
(10,630 Views)

Why would you think you HAVE to use the IVI driver? You are not making use of any of the IVI features such as interchangability and in fact, you are making it impossible to interchange drivers.

 

Try sending the SCPI commands with a proper separator. And if you really want to use IVI, you MUST use the class driver. Anything else is just crazy.

Message 4 of 8
(10,620 Views)
By not setting up the sourcing or measuring functions you are basically using the 2400 as an ammeter. If that's waht you want then ok. You need to add: ":trig:count 10" before you switch the output on.
0 Kudos
Message 5 of 8
(10,579 Views)

Now I configured the source as Current & meter as Voltage measurement.

Is it possible to read without using trigger from buffer?

 

Message Edited by Rajaa on 02-22-2010 10:01 AM
0 Kudos
Message 6 of 8
(10,569 Views)

Sorry I have no idea what you are asking. If it is concerning adding "trig:count 10" then I assumed becaasue you were creating a buffer of 10 values that yopu wanted to take 10 readings and then you need to program the trigger model. As sonn as you do the init it will kick off the instrument and take 10 readings.

Message 7 of 8
(10,546 Views)

Thanks cymrieg You just solved my related problem.

 

Keithley needs to clarify the difference between number of points and number of triggers.

0 Kudos
Message 8 of 8
(9,652 Views)