Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 127

Table of Contents

Advertisement

/* open device session */
scope = ibdev( board_index, prim_addr, second_addr, timeout,
if( ibsta & ERR )
{
gpiberr( "ibdev error" );
}
ibclr( scope );
if( ibsta & ERR)
{
gpiberr("ibclr error" );
}
} /* end init_IO */
/*
*
Function name:
*
Parameters:
void *buffer which is a pointer to the character string
*
to be output
*
Return value:
* Description: This routine outputs strings to the oscilloscope device session.
*/
void write_IO( void *buffer )
{
long length;
length = strlen( buffer );
ibwrt( scope, buffer, (long) length );
if ( ibsta & ERR )
{
gpiberr( "ibwrt error" );
}
} /* end write_IO() */
eoi_mode, eos_mode );
write_IO
none
/* clear the device( scope ) */
Sample Programs
natl_IO.c Sample Program
6-33

Advertisement

Table of Contents
loading

Table of Contents