Remote Operation
Sample Program
5
5-13
{
unsigned char status7;
int retval;
/*---------------------------------*/
/* Check for GPIB Interface Errors */
/*---------------------------------*/
if (ibsta & ERR)
{ cprintf ("GPIB Status=%4X Error=%d\r\n", ibsta, iberr);
return 1;
}
/*-----------------------*/
/* Check for 7250 Errors */
/*-----------------------*/
retval = 0;
while (!kbhit ( ))
{ ibrsp (device, &status7); /* Serial poll */
if ((status7 & 4) == 0) /* Check error bit */
break;
retval = 1;
request_7000 ("SYST:ERR?\n"); /* Get error message */
cprintf (buffer);
}
return retval;
}
/*------------------------------------------------------------*/
/* write_7000 : write a command to the 7250 */
/*------------------------------------------------------------*/
void write_7000 (char *s)
{
ibwrt (device, s, strlen (s));
}
/*------------------------------------------------------------*/
/* request_7000 : write a query command and read the response */
/*------------------------------------------------------------*/
void request_7000 (char *s)
{
ibwrt (device, s, strlen (s));
ibrd (device, buffer, sizeof (buffer));
}
/*------------------------------------------------------------*/
Summary of Contents for RUSKA 7050
Page 3: ...7050 Change Language Hold key for 5 seconds mode enter...
Page 4: ......
Page 10: ...RUSKA 7050 7050i 7050LP Users Manual vi...
Page 12: ...RUSKA 7050 7050i 7050LP Users Manual viii 7 1 Packing the PPI 7 3...
Page 18: ...RUSKA 7050 7050i 7050LP Users Manual 1 6...
Page 32: ...RUSKA 7050 7050i 7050LP Users Manual 3 4...
Page 60: ...RUSKA 7050 7050i 7050LP Users Manual 5 14...