![Agilent Technologies Infiniium 90000 Q-Series Programmer'S Manual Download Page 944](http://html1.mh-extra.com/html/agilent-technologies/infiniium-90000-q-series/infiniium-90000-q-series_programmers-manual_2868674944.webp)
944
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
34
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
* acquiring new waveform data. It initializes the
Summary of Contents for Infiniium 90000 Q-Series
Page 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Page 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Page 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Page 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Page 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Page 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Page 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Page 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Page 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Page 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Page 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Page 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Page 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Page 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Page 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Page 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Page 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Page 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...