Agilent Technologies Model A.08.xx Water Dispenser User Manual


 
6
Contents
Standard Event Status Event Enable Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
STATus:OPERation Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
STATus:OPERation Condition and Event Enable Registers . . . . . . . . . . . . . . . . . . . . . .73
STATus:QUEStionable Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
STATus:QUEStionable:POWer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Questionable Status Event Enable Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Questionable Status Power Condition and Event Registers . . . . . . . . . . . . . . . . . . . . . . .79
STATus:QUEStionable:FREQuency Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Questionable Status Frequency Condition and Event Enable Registers . . . . . . . . . . . . . .82
STATus:QUEStionable:CALibration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
STATus:QUEStionable:INTegrity:UNCalibrated Register . . . . . . . . . . . . . . . . . . . . . . .86
Questionable Status Calibration Condition and Event Enable Registers . . . . . . . . . . . . .87
Questionable Status Integrity Uncalibrated Condition and Event Enable Registers . . . . .88
STATus:QUEStionable:INTegrity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Questionable Status Integrity Event Condition and Enable Registers . . . . . . . . . . . . . . . .91
3. Programming Examples
List of Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94
Programming Examples System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
C Programming Examples using VTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
Typical Example Program Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
Linking to VTL Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
Compiling and Linking a VTL Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
Example Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Including the VISA Declarations File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Opening a Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
Device Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
Addressing a Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
Closing a Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Using Marker Peak Search and Peak Excursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
Using Marker Delta Mode and Marker Minimum Search . . . . . . . . . . . . . . . . . . . . . . . . . .108
Performing Internal Self-alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Reading Trace Data using ASCII Format (GPIB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
Reading Trace Data Using 32-bit
Real Format (GPIB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
Reading Trace Data Using ASCII Format (RS-232) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Reading Trace Data Using 32-bit Real Format (RS-232) . . . . . . . . . . . . . . . . . . . . . . . . . .130
Using Limit Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
Measuring Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
Entering Amplitude Correction Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
Status RegisterDetermine When a Measurement is Done . . . . . . . . . . . . . . . . . . . . . . . . .149