Technical data

Table Of Contents
1104 Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference
34 Waveform Commands
/***********************************************************************
*******
* 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 oscillosco
pe
* device session using SICL commands.
************************************************************************
*******/
void ReadDouble( double *buffer )
{
int error;
error = 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 _siclclean
up
* which de-allocates resources used by the SICL environm
ent.
************************************************************************
******/
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 acquiring ne
w
* waveform data. It initializes the oscilloscope's data buffers,