Agilent Technologies 2000 X-Series Manual de servicio Pagina 645

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 930
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 644
:WAVeform Commands 30
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide 645
":DIGitize" on page 159
":WAVeform:COUNt" on page 636
":WAVeform:DATA" on page 637
":WAVeform:FORMat" on page 639
":WAVeform:POINts" on page 640
":WAVeform:TYPE" on page 654
":WAVeform:XINCrement" on page 657
":WAVeform:XORigin" on page 658
":WAVeform:XREFerence" on page 659
":WAVeform:YINCrement" on page 660
":WAVeform:YORigin" on page 661
":WAVeform:YREFerence" on page 662
Example Code
' GET_PREAMBLE - The preamble block contains all of the current
' WAVEFORM settings. It is returned in the form <preamble_block><NL>
' where <preamble_block> is:
' FORMAT : int16-0=BYTE, 1 = WORD, 4 = ASCII.
' TYPE : int16-0=NORMAL, 1 = PEAK DETECT, 2 = AVERAGE
' POINTS : int32 - number of data points transferred.
' COUNT : int32-1andisalways1.
' XINCREMENT : float64 - time difference between data points.
' XORIGIN : float64 - always the first data point in memory.
' XREFERENCE : int32 - specifies the data point associated with
' x-origin.
' YINCREMENT : float32 - voltage diff between data points.
' YORIGIN : float32 - value is the voltage at center screen.
' YREFERENCE : int32 - specifies the data point where y-origin
' occurs.
Dim Preamble()
Dim intFormat As Integer
Dim intType As Integer
Dim lngPoints As Long
Dim lngCount As Long
Dim dblXIncrement As Double
Dim dblXOrigin As Double
Dim lngXReference As Long
Dim sngYIncrement As Single
Dim sngYOrigin As Single
Dim lngYReference As Long
Dim strOutput As String
myScope.WriteString ":WAVEFORM:PREAMBLE?" ' Query for the preamble.
Preamble() = myScope.ReadList ' Read preamble information.
intFormat = Preamble(0)
intType = Preamble(1)
lngPoints = Preamble(2)
lngCount = Preamble(3)
dblXIncrement = Preamble(4)
dblXOrigin = Preamble(5)
lngXReference = Preamble(6)
Vista de pagina 644
1 2 ... 640 641 642 643 644 645 646 647 648 649 650 ... 929 930

Comentarios a estos manuales

Sin comentarios