Rigol DS1204B Especificaciones Pagina 138

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 152
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 137
RIGOL Programming Examples
Programming Guide for DS1000B Series
3-6
8. Add the codes.
Dblclick the Button, enter the programming environment. First of all, declare
“#include <visa.h>in header file, then add the following codes:
ViSession defaultRM, vi;
char buf [256] = {0};
CString s,strTemp;
char* stringTemp;
ViChar buffer [VI_FIND_BUFLEN];
ViRsrc matches=buffer;
ViUInt32 nmatches;
ViFindList list;
viOpenDefaultRM (&defaultRM);
// acquire USB resource of visa
viFindRsrc(defaultRM, "USB?*", &list,&nmatches, matches);
viOpen (defaultRM,matches,VI_NULL,VI_NULL,&vi);
viPrintf (vi, "*RST\n");
Vista de pagina 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 151 152

Comentarios a estos manuales

Sin comentarios