Siglent SDG810 10MHz Arbitrary Function Generator

Manual - Page 198

For SDG810.

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

SDG810 photo
Loading ...
Loading ...
Loading ...
Programming Guide
54
system("pause"); // pause to keep off the console flashed.
return 0;
}
Result:
3.2 TCP/IP access code.
Write a function TCP_IP_Test:
int TCP_IP_Test(char *pIP)
{
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 */
char head[256] ="TCPIP0::";
char tail[] ="::INSTR";
char resource [256];
strcat(head,pIP);
strcat(head,tail);
Loading ...
Loading ...
Loading ...