Agilent Technologies InfiniiVision 7000A Series Programmer's Manual page 880

Table of Contents

Advertisement

12
Programming Examples
880
oscp.DoCommand(":TRIGger:EDGE:SLOPe POSitive")
End Sub
' Extra()
' --------------------------------------------------------------
' The commands in this function are not executed and are shown
' for reference purposes only.
' this function from main.
Private Shared Sub Extra()
' RUN_STOP (not executed in this example):
'
- RUN starts the acquisition of data for the active
'
waveform display.
'
- STOP stops the data acquisition and turns off AUTOSTORE.
oscp.DoCommand(":RUN")
oscp.DoCommand(":STOP")
' VIEW_BLANK (not executed in this example):
'
- VIEW turns on (starts displaying) an active channel or
'
pixel memory.
'
- BLANK turns off (stops displaying) a specified channel or
'
pixel memory.
oscp.DoCommand(":BLANk CHANnel1")
oscp.DoCommand(":VIEW CHANnel1")
' TIME_MODE (not executed in this example) - Set the time base
' mode to MAIN, DELAYED, XY or ROLL.
oscp.DoCommand(":TIMebase:MODE MAIN")
End Sub
' Capture()
' --------------------------------------------------------------
' This function prepares the scope for data acquisition and then
' uses the DIGITIZE MACRO to capture some data.
Private Shared Sub Capture()
' AQUIRE_TYPE - Sets the acquisition mode.
' acquisition types NORMAL, PEAK, or AVERAGE.
oscp.DoCommand(":ACQuire:TYPE NORMal")
' AQUIRE_COMPLETE - Specifies the minimum completion criteria
' for an acquisition.
' of time buckets needed to be "full" before an acquisition is
' considered to be complete.
oscp.DoCommand(":ACQuire:COMPlete 100")
' DIGITIZE - Used to acquire the waveform data for transfer
' over the interface.
' acquisition to take place with the resulting data being
' placed in the buffer.
' NOTE!
The use of the DIGITIZE command is highly recommended
Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide
To execute these commands, call
The parameter determines the percentage
Sending this command causes an
There are three

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents