Rigol DS2000A Series Spécifications Page 385

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 390
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 384
3 Programming Demos RIGOL
MSO2000A/DS2000A Programming Guide
3-13
Visual Basic 6.0 Programming Demo
The program used in this demo: Visual Basic 6.0
The function realized in this demo: control the on/off state of any channel.
1. Build a standard application program project (Standard EXE) and name it as MSO2000A_Demo_VB.
2. Click the Existing tab of ProjectAdd Module. Search for the visa32.bas file in the include
folder under the NI-VISA installation path and add the file.
3. Add two buttons to represent CH1 and CH2 respectively. Add two Labels (Label1(0) and Label1(1)) to
represent the status of CH1 and CH2 respectively (when the channel is enabled, it dispays the color
of the channel; when the channel is disabled, it displays gray), as shown in the figure below.
4. Open the General tab in ProjectProject1 Properties and select Form1 in the Startup Object
dropdown box.
Vue de la page 384

Commentaires sur ces manuels

Pas de commentaire