Keithley SourceMeter 2790 Reference Manual page 335

Hide thumbs Also See for SourceMeter 2790:
Table of Contents

Advertisement

12-8
I
*WAI — Wait-to-Continue
Description
Two types of device commands exist:
Use the *WAI command to suspend the execution of subsequent commands until the
device operations of all previous Overlapped commands are finished. The *WAI command
is not needed for Sequential commands.
The Model 2790 has three overlapped commands:
klqb
The INITiate commands remove the Model 2790 from the idle state. The device opera-
tions of :INITiate are not considered complete until the Model 2790 returns to idle. By
sending the *WAI command after the INITiate command, all subsequent commands will
not execute until the Model 2790 goes back into idle.
The *TRG command issues a bus trigger that could be used to provide the arm, scan, and
measure events for the Trigger Model. By sending the *WAI command after the *TRG
command, subsequent commands will not be executed until the pointer for the Trigger
Model has finished moving in response to *TRG and has settled at its next state.
Programming example – The following command sequence shows how to use the *WAI
command to allow the Model 2790 to wait for the programmed measurements to be com-
pleted before requesting a reading.
SYST:PRES
INIT:CONT OFF
ABORt
TRIG:COUN 1
SAMP:COUN 30
INIT
*WAI
DATA?
Sequential commands – A command whose operations are allowed to finish
before the next command is executed.
Overlapped commands – A command that allows the execution of subsequent
commands while device operations of the Overlapped command are still in
progress.
INITiate
:
:INITiate:CONTinuous ON
*TRG
See *OPC, *OPC?, and *TRG for more information.
' Returns 2790 to default setup.
' Disables continuous initiation.
' Aborts operation. Places 2790 in idle.
' These two commands configure the 2790
' to perform 30 measurements.
' Starts measurement process.
' Sends the WAI command. Program waits for 2790 to go
' into idle before executing next command.
' Requests one reading.
Model 2790 SourceMeter
Prevent execution of commands until
previous commands are completed
®
Switch System Reference Manual

Advertisement

Table of Contents
loading

Table of Contents