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

Table of Contents

Advertisement

/*
*
Function name:
*
Parameters:
char *buffer which is a pointer to the character string to be
*
output; unsigned long length which is the length of the string to be output
*
Return value:
* Description: This routine outputs strings to the oscilloscope device session
*
using the unformatted I/O SICL commands.
*/
void write_IO( void *buffer )
{
unsigned long actualcnt;
unsigned long length;
int send_end = 1;
length = strlen( buffer );
iwrite( scope, buffer, length, send_end, &actualcnt );
} /* end write_IO */
/*
*
Function name:
*
Parameters:
char *buffer which is a pointer to the character string to be
*
output; long length which is the length of the string to be output
*
Return value:
*
Description:
This routine outputs a learnstring to the oscilloscope device
*
session using the unformatted I/O SICL commands.
*/
void write_lrnstr( void *buffer, long length )
{
unsigned long actualcnt;
int send_end = 1;
iwrite( scope, buffer,(unsigned long) length,
send_end, &actualcnt );
} /* end write_lrnstr() */
write_IO
none
write_lrnstr
none
Sample Programs
sicl_IO.c Sample Program
6-29

Advertisement

Table of Contents
loading

Table of Contents