2600AS-901-01 Rev. B / September 2008
Return to
19-267
Series 2600A System SourceMeter® Instruments Reference Manual
Section 19: Remote Commands
Table 19-19
KIPulse TSP test script: InitiatePulseTest
TSP project name:
KIPulse
TSP test script name:
KIPulse
Function:
InitiatePulseTest
Usage:
f, msg = InitiatePulseTest(tag)
Description
This function initiates the pulse configuration assigned
tag
.
Parameters
tag: Numeric identifier of pulse train configuration to be initiated.
Return
values
f:
A Boolean flag. This flag will be
true
when the pulse was successfully
configured,
false
when errors were encountered.
msg:
A string message. If the
f
flag is
false
,
msg
will contain an error
message. Otherwise,
msg
will contain a string indicating successful
configuration.
Output
Data
None.
Example
Configure SourceMeter instrument Channel A to generate a pulse train. If no
errors are encountered, initiate the pulse train. Channel A will pulse voltage from
a bias level of 0V to pulse level of 5V. The pulse level will be present for 2 ms and
the bias level for 200 ms, with a 1A limit setting. A total of 10 pulses will be
generated and the measurement data will be stored in
smua.nvbuffer1
. This
pulse train will be assigned to tag = 1.
smua.reset()
smua.source.rangev = 5
smua.source.rangei = 1
smua.source.levelv = 0
smua.measure.rangev = 5
smua.measure.rangei = 1
smua.measure.nplc = 0.01
smua.measure.autozero = smua.AUTOZERO_ONCE
smua.nvbuffer1.clear()
smua.nvbuffer1.appendmode = 1
smua.source.output = smua.OUTPUT_ON
f1, msg1 = ConfigPulseVMeasureI(smua, 0, 5, 1, 0.002, 0.2,
10, smua.nvbuffer1, 1)
if (f1 == true) then
f2, msg2 = InitiatePulseTest(1)
print("Initiate message:", msg2)
else
print("Config errors:", msg1)
end
See Also
,
,
,
,