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 #158 background imageLoading...
Page #158 background image
R-GPIB Commands Sample Program
GPIBCleanup(scope, "Unable to communicate with Scope");
return 0;
}
Sleep(1000);
/* Recall setup */
sprintf(write_buffer, "%s", "Variable:value \"setup\",\"Recall\"");
status = ibwrt(scope, write_buffer, strlen(write_buffer));
if (ibsta & ERR)
{
GPIBCleanup(scope, "Unable to communicate with Scope");
return 0;
}
return 1;
}
intrun_test(intscope)
{
char write_buffer[100];
char read_buffer[100];
int timer;
sprintf(write_buffer, "%s", "Variable:value \"sequencerState\",\"Sequencing\"");
ibwrt(scope, write_buffer, strlen(write_buffer));
printf("Executing Test...\n");
Sleep(100);
/* Wait for application to come to Ready State */
timer = 1;
while (1)
{
timer++;
if (timer > 90)
{
printf("******Test Time Out ******\n");
146 TDSUSB2 Universal Serial Bus Measurements Package

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