Siglent SDS2352X-E oscilloscope

DSO programming guide - Page 230

For SDS2352X-E.

PDF File Manual, 256 pages, Read Online | Download pdf file

SDS2352X-E photo
Loading ...
Loading ...
Loading ...
Digital Oscilloscope Series
230
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);
if (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;
}
Loading ...
Loading ...
Loading ...