Agilent Technologies Infiniium 90000 Series Programmer's Manual page 949

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

Advertisement

int Start;
void main( void )
{
/
1 */
/
/
}
/***********************************************************************
********
*
*
*
*
ts up
*
sion,
*
and
*
*
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
char Term;
unsigned long BytesToRead;
if ( !InitIO() ) {
exit( 1 );
}
AcquireData();
WriteIO( ":SYStem:HEADer OFF" );
WriteIO( ":SYStem:LONGform OFF" );
WriteIO( ":WAVeform:BYTEorder LSBFirst" ); /* Setup byte order */
WriteIO( ":WAVeform:FORMat WORD" );
WriteIO( ":WAVeform:SOURce POD1" );
GetTimeConversionFactors( );
BytesToRead = SetupDataTransfer( -25E-6, 25E-6);
ReadWord( wordData, BytesToRead );
ReadByte( &Term, 1L );
WriteIO(":WAVeform:FORMat BYTE");
BytesToRead = SetupDataTransfer( -25E-6, 25E-6);
ReadByte( byteData, BytesToRead );
ReadByte( &Term, 1L );
CreateTimeData( BytesToRead, TimeValues );
WriteCsvToFile( TimeValues, wordData, byteData, BytesToRead );
CloseIO( );
Function name: InitIO
Parameters:
none
Return value:
none
Description:
This routine initializes the SICL environment.
errorhandling, opens both an interface and device ses
sets timeout values, clears the GPIB interface card,
clears the oscilloscope's GPIB card by performing a
Selected Device Clear.
Waveform Commands
/* Setup transfer format *
/* Waveform data source pod
/* Read termination character *
/* Setup transfer format */
/* Read termination character *
34
It se
949

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents