Rigol DS2000 Series Dokumentacja Strona 599

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 616
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 598
3 Programming Demos RIGOL
DS2000 Programming Guide
3-9
4. Turn on the device and the device descriptor is in CELLS(1,2) of SHEET1.
viErr = visa.viOpenDefaultRM(viDefRm)
viErr = visa.viOpen(viDefRm, Sheet1.Cells(1, 2), 0, 5000, viDevice)
5. Send request and read data.
cmdStr = "*IDN?"
viErr = visa.viWrite(viDevice, cmdStr, Len(cmdStr), ret)
viErr = visa.viRead(viDevice, idnStr, 128, ret)
Sheet1.Cells(2, 2) = idnStr
6. Turn off the device.
visa.viClose (viDevice)
visa.viClose (viDefRm)
Przeglądanie stron 598
1 2 ... 594 595 596 597 598 599 600 601 602 603 604 ... 615 616

Komentarze do niniejszej Instrukcji

Brak uwag