EasyManuals Logo

Anritsu MG369 C Series User Manual

Anritsu MG369 C Series
266 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #85 background imageLoading...
Page #85 background image
Programming with GPIB Commands 2-19 User Level Calibration Commands
MG369xC GPIB PM PN: 10370-10374 Rev. F 2-53
/** The LUR command readies the source to receive the user
** level table data. Notice that there is no carriage
** return, line feed, or EOI sent with the LUR command.
**/
Send(BOARD_ID, source_addr, “LUR”, 3L, NULLend);
if(ibsta & ERR)
gpiberr(“Send error; LUR”);
/** The data is sent to the source immediately following the
** LUR command.
**/
printf(“Sending %d bytes of data to the source\n”,
USER_LVL_NUM_BYTES);
Send(BOARD_ID, source_addr, user_lvl_tables,
(long)USER_LVL_NUM_BYTES, DABend);
if(ibsta & ERR)
gpiberr(“Send error; data”);
}
fclose(fp_user_lvl_data);
exit(0);
}/** end of main **/
/************************************************************************
*****Name: gpiberr
**Desc: Display error code and message for all GPIB operation
**Receives: errsta - the error string to display
**Returns: nothing
**/
void gpiberr(char *errstr)
{
printf(“\n%s\nError code = %d\n”,errstr,iberr);
}/** end of gpiberr **/
Figure 2-14. Programming Example of Saving and Recalling User Level Calibration Tables (3 of 3)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Anritsu MG369 C Series and is the answer not in the manual?

Anritsu MG369 C Series Specifications

General IconGeneral
BrandAnritsu
ModelMG369 C Series
CategoryPortable Generator
LanguageEnglish

Related product manuals