Télécharger Imprimer la page

Exemple : Microsoft Visual Basic Pour Windows - Agilent Technologies 33250A Guide D'utilisation

Générateur de fonction 80 mhz/ signaux arbitraires

Publicité

Option Explicit
Dim m_Count As Integer
Private IOUtils As New AgtUtilsObject
' """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""'
' Copyright (c) 2000 Agilent Technologies.
'
' Agilent Technologies provides programming samples for illustration
' purposes only.
' with the programming language being demonstrated and the tools used
' to create and debug procedures.
' answer questions relating to the functionality of the software
' components provided by Agilent, but they will not modify these samples
' to provide added functionality or construct procedures to meet your
' specific needs.
' You have a royalty-free right to use, modify, reproduce, and distribute
' this sample program (and/or any modified version) in any way you find
' useful, provided that you agree that Agilent has no warranty,
' obligations, or liability for any sample programs.
' """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""'
'
'
Agilent 33250A 80 MHz Function/Arbitrary Waveform Generator Examples
'
'
Examples include Modulation, Pulse, Sweeping, Burst, and Status checking.
'
Examples illustrate various uses of short/long form SCPI.
'
Examples also illustrate enabling/disabling output BNCs.
'
To view results on Scope, set to:
'
Channel 1: Output BNC, 50ohms, 50us/div, 200mV/div
'
Channel 2: Sync BNC, 50us/div, 500mV/div, trigger on Channel 2
'
'
Microsoft Visual Basic 6.0 Programming Examples
'
3-30-00
'
Private Sub cmdStart_Click()
Dim i As Integer
cmdStart.Enabled = False
'
6
' Return the 33250A to turn-ON conditions
'
Arb.IO.Output "*RST"
Arb.IO.Output "*CLS"
Suite à la page suivante...
Chapitre 6 Programmes d'application

Exemple : Microsoft Visual Basic pour Windows

Exemple : Microsoft Visual Basic pour Windows
This sample program assumes that you are familiar
Agilent support engineers can help
302
' Used to sequence messages
All Rights Reserved.
' Used as general purpose counter
' Disable Start button
' Default state of instrument
' Clear errors and status
'
'
'
'
'
'
'
'
'
'
'
'
'
'

Publicité

loading