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

Table of Contents

Advertisement

/*****************************************************************************
* Function name:
*
Parameters:
*
*
Return value: none
*
Description:
*
******************************************************************************/
void WriteIO( char *buffer )
{
unsigned long actualcnt;
unsigned long BytesToWrite;
int send_end = 1;
BytesToWrite = strlen( buffer );
iwrite( scope, buffer, BytesToWrite, send_end, &actualcnt );
}
/*****************************************************************************
* Function name:
*
Parameters:
*
*
*
*
Return value: integer which indicates the actual number of bytes read
*
Description:
*
******************************************************************************/
unsigned long ReadByte( char *buffer, unsigned long BytesToRead )
{
unsigned long BytesRead;
int reason;
BytesRead = BytesToRead;
iread( scope, buffer, BytesToRead, &reason, &BytesRead );
return BytesRead;
}
Waveform Commands
DATA? Example for Analog Channels
WriteIO
char *buffer which is a pointer to the character
string to be output
This routine outputs strings to the oscilloscope device
session using SICL commands.
ReadByte
char *buffer which is a pointer to the array to store
the read bytes
unsigned long BytesToRead which indicates the maximum
number of bytes to read
This routine inputs strings from the scope device session
using SICL commands.
30-16

Advertisement

Table of Contents
loading

Table of Contents