LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2400 Source Meter drivers.

I am having problems reading back results over GPIB from the Source meter using the Keithley VXIpnp drivers under CVI 5.5 and 6.0. The functions are communicating with the instrument as I am able to set the desired parameters i.e o/p voltage and reading mode. The problem is when I initiate a 'Read' the meter will display the reading on the front panel but my variable where I am storing the result is '0.0' or a stupidly massive number (1.122E+28)! Below is an example of the code:
 
 // Set up SMU for Voltage source Current measurement.
 Ke24xx_Configure_DC_VI (smu, 0, 0.002, 0.0, 0.0, 0, 2);
 Ke24xx_EnableSourceOutput (smu, 1);
 
 Ke24xx_Read (smu, 2, &readings, &result);  //'result' is declared as a Float
 
It seems that either the meter is not sending the measurement over GPIB or for some reason it is sending '0.0' instead of the real measurement.
 
Anyone have any ideas?
0 Kudos
Message 1 of 2
(3,090 Views)
// Set up SMU for Voltage source Current measurement.
 Ke24xx_Configure_DC_VI (smu, 0, 0.002, 0.0, 0.0, 0, 2);
5th parameter is the source voltage level and you have it set to 0
 
 
 
 
0 Kudos
Message 2 of 2
(3,071 Views)