OPERATOR MAINTENANCE

PROCEDURES

AN EXAMPLE

PROGRAM IN C

#include <stdio.h>

/* include the NI 488.2 GPIB include file */ #include “DECL.H”

/* LINK with MCIB.LIB */

/* Compiled with BorlandC++ 2.0 */

void main()

{

int i;

char buffer[10][20];

/* clear buffer */ memset(buffer,0,200);

SendIFC(0);

if ( ibsta & ERR )

{

printf(“GPIB error\nibsta: %0x\niberr: %i\n\n”, ibsta, iberr);

exit(1);

 

}

 

/* Setup ML2430A at address 13 */

 

/* FAST mode (output readout channel 1)

 

Send(0, 13, “*RST; FAST ON”, 13L, NLend);

 

/* Loop 10 times and store readings */

 

for(i=0; i<10; i++)

 

Receive(0, 13, buffer[i], 20, STOPend);

 

/* display readings.. */

 

for(i=0; i<10; i++)

 

printf(“Reading %i = %s”, i+1, buffer[i]);

 

}

5-16OPERATOR

The ML2430A Series does not require any operator maintenance. All re-

MAINTENANCE

pairs must be performed by qualified service personnel only. Refer to Ta-

 

ble 2-1 for the nearest Anritsu Service Center.

5-24

ML2430A OM

 

 

Page 87
Image 87
Anritsu ML2430A operation manual Operator Maintenance, 16OPERATOR