
12-8
Model 2790 SourceMeter
®
Switch System Reference Manual
I
*WAI — Wait-to-Continue
Prevent execution of commands until
previous commands are completed
Description
Two types of device commands exist:
•
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.
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:
•
:
INITiate
•
:INITiate:CONTinuous ON
•
*TRG
klqb
See *OPC, *OPC?, and *TRG for more information.
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
‘ Returns 2790 to default setup.
INIT:CONT OFF
‘ Disables continuous initiation.
ABORt
‘ Aborts operation. Places 2790 in idle.
TRIG:COUN 1
‘ These two commands configure the 2790
SAMP:COUN 30
‘ to perform 30 measurements.
INIT
‘ Starts measurement process.
*WAI
‘ Sends the WAI command. Program waits for 2790 to go
‘ into idle before executing next command.
DATA?
‘ Requests one reading.
Summary of Contents for 2790
Page 3: ......
Page 7: ......
Page 105: ...2 48 Model 2790 SourceMeter Switch System Reference Manual...
Page 245: ...7 40 Model 2790 SourceMeter Switch System Reference Manual...
Page 265: ...8 20 Model 2790 SourceMeter Switch System Reference Manual...
Page 305: ...10 22 Model 2790 SourceMeter Switch System Reference Manual...
Page 328: ...12 CommonCommands...
Page 336: ...13 SCPISignalOriented MeasurementCommands...
Page 345: ...13 10 Model 2790 SourceMeter Switch System Reference Manual...
Page 355: ...14 10 Model 2790 SourceMeter Switch System Reference Manual...
Page 356: ...15 SCPIReferenceTables...
Page 419: ...16 38 Model 2790 SourceMeter Switch System Reference Manual...
Page 461: ...A 2 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 462: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 3...
Page 463: ...A 4 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 464: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 5...
Page 465: ...A 6 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 466: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 7...
Page 471: ...A 12 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 472: ...B StatusandErrorMessages...
Page 479: ...B 8 Model 2790 SourceMeter Switch System Reference Manual...
Page 493: ...C 14 Model 2790 SourceMeter Switch System Reference Manaul...
Page 509: ...E 6 Model 2790 SourceMeter Switch System Reference Manual...
Page 510: ...F IEEE 488BusOverview...
Page 525: ...F 16 Model 2790 SourceMeter Switch System Reference Manual...
Page 526: ...G CalibrationReference...