Technical data
880 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
32 Waveform Commands
unsigned long ReadWord( char *buffer, int *reason,
unsigned long BytesToRead )
{
long BytesRead;
iread( scope, buffer, BytesToRead, reason, &BytesRead );
return BytesRead;
}
/********************************************************************
* Function name: ReadDouble
* Parameters: double *buffer which is a pointer to the float
* value to read
* Return value: none
* Description: This routine inputs a float value from the
* oscilloscope device session using SICL commands.
*********************************************************************/
void ReadDouble( double *buffer )
{
iscanf( scope, "%lf", buffer );
}
/********************************************************************
* Function name: close_IO
* Parameters: none
* Return value: none
* Description: This routine closes device and interface sessions
* for the SICL environment, and calls the routine
* _siclcleanup which de-allocates resources
* used by the SICL environment.
*********************************************************************/
void CloseIO( void )
{
iclose( scope ); /* close device session */
iclose( bus ); /* close interface session */
_siclcleanup(); /* required for 16-bit applications */
}
/********************************************************************
* Function name: AcquireData
* Parameters: none
* Return value: none
* Description: This routine acquires data using the current
* oscilloscope settings.
*********************************************************************/
void AcquireData( void )
{
/*
* The root level :DIGitize command is recommended for










