EasyManua.ls Logo

Tektronix TDSUSB2 - Page 157

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
Loading...
R-GPIB Commands Sample Program
read_buffer[ibcnt] = ’\0’;
if (strcmp(app_name, read_buffer) == 0)
{
return 1;
}
timer++;
if (timer > 60)
{
return 0;
}
Sleep(1000);
}
return 1;
}
int exit_application(int scope)
{
char write_buffer[100];
printf("Exit Application ...\n");
sprintf(write_buffer, "%s", "Variable:value \"application\",\"exit\"");
ibwrt(scope, write_buffer, strlen(write_buffer));
return 1;
}
int recall_setup(int scope, char* lename)
{
char write_buffer[100];
int status;
/* Set Recall le name */
sprintf(write_buffer, "%s%s%s", "Variable:value \"recallName\",\"", lename, "\"");
status = ibwrt(scope, write_buffer, strlen(write_buffer));
if (ibsta & ERR)
{
TDSUSB2 Universal Serial Bus Measurements Package 145

Table of Contents

Related product manuals