Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

Keep voltage up after a voltage sweep

Models 2400, 2401, 2410, 2420, 2425, 2430, 2440, 6430
Post Reply
LastStarDust
Posts: 2
Joined: December 11th, 2018, 5:29 am
Country: Japan

Keep voltage up after a voltage sweep

Post by LastStarDust » December 11th, 2018, 6:38 am

I am trying to use the SWEEP function of our SourceMeter 2400 to create a voltage sweep from 0 to X volts and then keep the voltage up to the X value.

If I set the sweep manually (from the display) everything is fine. However, for our experiment, we will need to control the instrument remotely. When I try to set the sweep from remotely (serial cable) I am able to correctly make a sweep from 0 to X volts but soon after the sweep, the voltage drops to zero.

These are the command that I issue from the PC (with some comments):

Code: Select all

# Reset everything
"*RST"
":SYST:CLE"
":SYST:TIME:RES"
# Not sure about this ...
":ARM:COUNT 1"
# ASCII format
":FORM:DATA ASC"
# Check communications
"*IDN?"
# Set compliance current
":SENS:CURR:PROT:LEV 0.00025"
":SENS:CURR:RANGE:AUTO 1"
# Open output
":OUTP ON"
# Read initial timestamp for relative time measurement
"READ?"
# Not sure about this ...
":SENS:FUNC:CONC OFF"
# Source voltage
":SOUR:FUNC:MODE VOLT"
# Sense current
":SENS:FUNC 'CURR:DC'"
# Set sweep settings
":TRIG:DEL 0.0"
":SOUR:DEL 0.1"
":SOUR:VOLT:STAR 0.0"
":SOUR:VOLT:STOP 5.0"
":SOUR:SWE:POIN 10"
":SOUR:VOLT:MODE SWE"
":SOUR:SWE:RANG BEST"
":SOUR:SWE:SPAC LIN"
":TRIG:COUN 10"
# Set readout settings
":TRAC:CLE"
":TRAC:POINTS 10"
":TRAC:FEED SENS"
":TRAC:FEED:CONT NEXT"
# Read sweeped points
":TRACE:DATA?"
"READ?"
# From now I would like to read the current and voltage
# where voltage should stay at X level (in this case 5  Volts)
# but I always get zero Volts ...
"READ?"
"READ?"
"READ?"
"READ?"
# I give up and shut down everything ...
":OUTP OFF"
I tried also to play with

Code: Select all

":OUTP:ENAB:STAT OFF/ON"
and

Code: Select all

":SOURCE:CLEAR:AUTO OFF/ON"
without success ...
Thank you for the help!

LastStarDust
Posts: 2
Joined: December 11th, 2018, 5:29 am
Country: Japan

Re: Keep voltage up after a voltage sweep

Post by LastStarDust » December 16th, 2018, 4:06 am

I have found out the cause of the problem. The fact is that, after the first sweep, every time that I try to read the current with the "*READ?" command a new sweep is triggered and so on. How to I "unset" the sweep after the first time so that the voltage remains to the value at the end of the first sweep and I can continue reading the value of the current?

Post Reply

Return to “2400 Series SourceMeter”

Who is online

Users browsing this forum: No registered users and 4 guests