Using Program Memory - Keysight B2980 Series Programming Manual

Femto / picoammeter electrometer / high resistance meter
Table of Contents

Advertisement

Example
Example
Example
Controlling Keysight B2980

Using Program Memory

Using Program Memory
This section describes how to use program memory.
"Defining a Memory Program"
"Deleting a Program"
"Controlling the Program Operation"
Defining a Memory Program
Memory program is defined by the :PROG:NAME and :PROG:DEF commands.
ioObj.WriteString(":PROG:NAME ""sample""")
ioObj.WriteString(":PROG:DEF #212:INP:STAT ON") 'Definite length
ioObj.WriteString(":PROG:NAME ""sample1""")
ioObj.WriteString(":PROG:DEF #0:INP:STAT ON") 'Indefinite length
Deleting a Program
Memory program is deleted by the :PROG:DEL commands.
ioObj.WriteString(":PROG:DEL:ALL")
ioObj.WriteString(":PROG:NAME ""sample1""")
ioObj.WriteString(":PROG:DEL")
Controlling the Program Operation
Memory program is controlled by the :PROG:NAME command and the
:PROG:EXEC or :PROG:STAT command. The :PROG[:SEL]:STAT command
needs a parameter used to control the operation or change the status. The parameter
must be RUN to change the status to running, PAUS to change it to paused, CONT
to change it from paused to running, STOP to change it to stopped, or STEP to
perform step execution.
ioObj.WriteString(":PROG:NAME ""sample""")
ioObj.WriteString(":PROG:EXEC")
ioObj.WriteString("*OPC?") : s = ioObj.ReadString()
ioObj.WriteString(":PROG:NAME ""sample""")
ioObj.WriteString(":PROG:STAT RUN")
ioObj.WriteString("*OPC?") : s = ioObj.ReadString()
ioObj.WriteString(":PROG:STAT STOP")
1- 22
Keysight B2980 Programming Guide, Ed ition 1
'Deletes all
'Deletes sample1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents