Rigol DS1204B Dokumentacja Strona 122

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 121
RIGOL
Programming Guide for DS1000B Series
3-2
Example 1 The Preparation for Programming
#include <stdlib.h>
#include <visa.h>
/*Define the equipmant address*/
/*LAN*/
#define RESOURCE "TCPIP0::172.16.3.73::inst0::INSTR"
/*USB*/
#define RESOURCE "USB0::6833::1160::DS1BA103700043:0:INSTR"
/*Define the equipment ID*/
ViSession g_viDefault;
ViSession g_vi;
void main
{
/*Open the equipment ID*/
viOpenDefaultRM(&g_viDefault);
viOpen(g_viDefault,RESOURCE,VI_NULL,VI_NULL,&vi);
/*Clear the interface*/
viClear(g_vi);
/*Implement functions*/
.......
/*Close the equipmant ID*/
viClose(g_vi);
viClose(g_viDefault);
}
Przeglądanie stron 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag