I'm using the Labview 2009 drivers for the Keithley 6221 ("Keithley 622x LV 2009") and controlling it via GPIB. I'm having a couple of problems with the provided example VIs.
1) "setup dc current source example". The vi activates the 6221's output, but the current is always zero, regardless of the current level, range, and compliance settings.
2) When using the "Wave gen example.vi" I get an error in the labview programme (see below), which causes it to stop. This happened for a sine wave using the VI's default values. I then deactivated the "check for SCPI errors". The 6221 still showed the error on its front panel, but the programme executed and output a sine wave. However the amplitude was 1 mA, despite setting it at 10 mA in the labview programme.
So, can anyone help me with this ?
Error -1074000000 occurred at Keithley 622x.lvlib:Error Query.vi"
-222,"Parameter data out of range"
Complete call chain:
Keithley 622x.lvlib:Error Query.vi
Keithley 622x.lvlib:KE6221 -- Set Wave Amplitude.vi
Keithley 622x.lvlib:KE6221 -- Set Sine Wave Params.vi
Keithley 622x.lvlib:KE6221 -- Wave Gen Example.vi