EasyManuals Logo
Home>Tektronix>Measuring Instruments>TDSUSB2

Tektronix TDSUSB2 User Manual

Tektronix TDSUSB2
233 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #159 background imageLoading...
Page #159 background image
R-GPIB Commands Sample Program
return 0;
}
sprintf(write_buffer, "%s", "Variable:value? \"sequencerState\"");
ibwrt(scope, write_buffer, strlen(write_buffer));
ibrd(scope, read_buffer, 99);
if (ibsta & ERR)
{
GPIBCleanup(scope, "Unable to write to device");
}
read_buffer[ibcnt] = ’\0’;
if (strcmp(read_buffer, "\"Ready\"\n") == 0)
{
printf("Test Complete ...\n");
return 1;
}
Sleep(1000);
}
}
void report_generate(int scope,char* reportlename)
{
char write_buffer[100];
char read_buffer[100];
int status;
/* Set report le name */
sprintf(write_buffer, "Variable:value \"reportName\",\"%s\"",reportlename);
printf("%s",write_buffer);
status = ibwrt(scope, write_buffer, strlen(write_buffer));
if (ibsta & ERR)
{
GPIBCleanup(scope, "Unable to communicate with Scope");
return;
TDSUSB2 Universal Serial Bus Measurements Package 147

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix TDSUSB2 and is the answer not in the manual?

Tektronix TDSUSB2 Specifications

General IconGeneral
BrandTektronix
ModelTDSUSB2
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals