Agilent Technologies E5071C Manual page 1132

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

350| End If
360|
370| frmSrqMeas.Show
380|
390| End Sub
Using the SCPI.TRIGger.SEQuence.SINGle Object
When you trigger the instrument by issuing the
SCPI.TRIGger.SEQuence.SINGle object, you can use the
SCPI.IEEE4882.OPC object to suspend the program until the end of
measurement.
The sample program is available to download from the Agilent Support
page, named "meas_sing.vba", that demonstrates how to use the
SCPI.TRIGger.SEQuence.SINGle object to suspend the program until the
end of measurement. This VBA program consists of the following modules:
Object
name
frmSingMeas
mdlSingMeas
This sample program correctly runs when the maximum number
of channels/traces is set 9 channels/9 traces.
When you run this VBA program, a Userform appears.
In Visual Basic Editor, open the UserForm (object name:frmSingMeas), and
double-click the Meas or Exit button to bring up the code window. The
following is the description of the subprograms associated with the
respective buttons.
Procedure called when the user clicks the Exit button on the UserForm
(lines 10 to 50)
Line 30
Unloads the UserForm from the memory, and terminates the program.
Procedure called when the user clicks the Meas button on the UserForm
(lines 70 to 330)
Line 110
Module
Content
type
UserForm
Uses the SCPI.TRIGger.SEQuence.SINGle
and SCPI.IEEE4882.OPC objects to
suspend the program until the end of
measurement.
Standard
Invokes a UserForm.
module
Programming
1359

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents