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