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

Table of Contents

Advertisement

/*****************************************************************************
*
Function name: close_IO
*
Parameters:
*
Return value: none
*
Description:
*
*
******************************************************************************/
void CloseIO( void )
{
iclose( scope );
iclose( bus );
_siclcleanup();
}
/****************************************************************************
* Function name:
*
Parameters:
*
Return value: none
*
Description:
*
******************************************************************************/
void AcquireData( void )
{
/*
* The root level :DIGitize command is recommended for acquiring new
* waveform data. It initialize's the oscilloscope's data buffers,
* acquires new data, and ensures that acquisition criteria are met
* before the acquisition is stopped.
* automatically turned off when you use this form of the :DIGitize
* command and must be turned on to view the captured data on screen.
*/
WriteIO(":DIGitize CHANnel1");
WriteIO(":CHANnel1:DISPlay ON");
}
Waveform Commands
DATA? Example for Analog Channels
none
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.
/* close device session */
/* close interface session */
/* required for 16-bit applications */
AcquireData
none
This routine acquires data using the current
oscilloscope settings.
30-18
Note that the display is

Advertisement

Table of Contents
loading

Table of Contents