Chapter 3 Programming Your Counter for Remote Operation
Programming Examples
getch();
}
/* Function to send command to HP 5315xA */
void sendhp(hpib_cmd)
char *hpib_cmd;
{
char hpcmd[80];
int length;
strcpy(hpcmd, hpib_cmd);
length=strlen(hpcmd);
error=IOOUTPUTS(ctr, hpcmd, length);
if (error!=0)
printf("Error during HP-IB: %d Command %s\n",error,hpcmd);
}
Programming Guide
/* Variables used by function */
/* Send command to HP 5315xA
*/
3-59