Agilent Technologies Infiniium 90000 Series Programmer's Manual page 943

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

*
*
*
*
*
*********************************************************************/
void WriteIO( char *buffer )
{
}
/*******************************************************************
* Function name:
*
*
*
*
*
*
*
*
********************************************************************/
unsigned long ReadByte( char *buffer, unsigned long BytesToRead )
{
}
/********************************************************************
* Function name:
*
*
*
*
*
*
*
*
*
*
*********************************************************************/
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
Parameters:
char *buffer which is a pointer to the character
string to be output
Return value: none
Description:
This routine outputs strings to the oscilloscope
device session using SICL commands.
unsigned long actualcnt;
unsigned long BytesToRead;
int send_end = 1;
BytesToRead = strlen( buffer );
iwrite( scope, buffer, BytesToRead, send_end, &actualcnt );
ReadByte
Parameters:
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
Return value: integer which indicates the actual number of bytes
read
Description: This routine inputs strings from the scope device
session using SICL commands.
unsigned long BytesRead;
int reason;
BytesRead = BytesToRead;
iread( scope, buffer, BytesToRead, &reason, &BytesRead );
return BytesRead;
ReadWord
Parameters:
short *buffer which is a pointer to the word array
to store the bytes read
int reason which is the reason that the read
terminated
unsigned long BytesToRead which indicates the
maximum number of bytes to read
Return value: integer which indicates the actual number of
bytes read
Description: This routine inputs an array of short values from
the oscilloscope device session using SICL commands.
34
Waveform Commands
943

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents