LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Only one source memory point being saved - Keithley 2400 - SCPI

I am programming my Sourcemeter with Labview with SCPI commands to set up a measurement. I want to make 2 measurements, one point at each configuration. When I load the script into the sourcemeter, it appears that the first point's settings are overwritten by the second point's settings. Any idea what I'm doing wrong?

 

Script to load:

*RST
*CLS
:OUTP:SMODE HIMP
*SRE 1
:STAT:MEAS:ENAB 512
:SOUR:CLE:AUTO ON
:FORM:ELEM VOLT, CURR
:SOUR:FUNC CURR
:SOUR:CURR
:SENS:FUNC 'VOLT'
:SENS:VOLT:PROT 12
:SOUR:DEL 0.1
:SOUR:MEM:SAVE 1
:SOUR:FUNC CURR
:SOUR:CURR
:SENS:FUNC 'VOLT'
:SENS:VOLT:PROT 12
:SOUR:DEL 0.1
:SOUR:MEM:SAVE 2
:TRIG:CLE
:TRIG:COUN 1
:TRAC:POIN 1
:TRAC:FEED SENS
:TRAC:FEED:CONT NEXT

 

Scrip to call:

:SOUR:MEM:POIN 1
:SOUR:MEM:STAR 1

 

and

 

:SOUR:MEM:POIN 1
:SOUR:MEM:STAR 2

0 Kudos
Message 1 of 2
(1,917 Views)

Did you download drivers for the device from ni.com?  It doesn't sound like you are experiencing problems with LabVIEW connecting to the device.  This seems more like an issue with the commands you are sending and what they do.  I would suggest contacting Keithley or searching their support to learn how to write a script for you application.

------------------------------------------------------------------------------------------

Jon F.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(1,887 Views)