Teledyne T3DSO1000 Programming Manual page 205

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

Advertisement

status = viClose (instr);
}
/** Now we will close the session to the instrument using
* viClose. This operation frees all system resources.
status = viClose (defaultRM);
printf("Press 'Enter' to exit.");
fflush(stdin);
getchar();
return
0;
}
b) TCP/IP:
intTCP_IP_Test(char
char
outputBuffer[VI_FIND_BUFLEN];
ViSession defaultRM, instr;
ViStatus status;
ViUInt32 count;
ViUInt16 portNo;
/* First we will need to open the default resource manager. */
status = viOpenDefaultRM (&defaultRM);
if
(status<VI_SUCCESS)
{
printf("Could not open a session to the VISA Resource Manager!\n");
}
/* Now we will open a session via TCP/IP device */
charhead[256] ="TCPIP0::";
chartail[] ="::INSTR";
charresource [256];
strcat(head,pIP);
*pIP) {
Digital Oscilloscope Series
*/
205

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T3dso2000

Table of Contents