Teledyne T3DSO1000 Programming Manual page 206

Digital oscilloscopes
Hide thumbs Also See for T3DSO1000:
Table of Contents

Advertisement

strcat(head,tail);
status = viOpen (defaultRM, head, VI_LOAD_CONFIG, VI_NULL, &instr);
if
(status<VI_SUCCESS) {
printf ("An error occurred opening the session\n");
viClose(defaultRM); }
status = viPrintf(instr, "*idn?\n");
status = viScanf(instr, "%t", outputBuffer);
(status<VI_SUCCESS)
{
printf("viRead failed with error code: %x \n",status);
viClose(defaultRM);
}
else
{
printf ("\ndata read from device: %*s\n", 0,outputBuffer); }
status = viClose (instr);
status = viClose (defaultRM);
printf("Press 'Enter' to exit.");
fflush(stdin);
getchar();
return
0;
}
Digital Oscilloscope Series
if
206

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T3dso2000

Table of Contents