Chapter 3
127
Programming Examples
Using Markers
Using Markers
This C programming example (HPE4406Markers.c):
• uses the VISA library for input/output, opens a session to a GP-IB
device at address 18 and presets the instrument.
• sets the input to the internal 50 MHz reference source and tunes the
instrument to the signal.
• turns off the active trace and put the instrument in single
measurement mode.
• initiates a spectrum measurement and waits for the operation to
complete.
• puts marker 1 on the peak signal of the average trace and measures
the amplitude.
• puts a noise type marker (marker 2) on the average trace and
measures the amplitude.
• calculates the difference between the peak and the noise floor.
• puts the instrument back in continuous measurement mode and
prints the results.
Summary of Contents for E4406A VSA Series
Page 4: ...4 ...
Page 59: ...59 2 Programming Fundamentals ...
Page 124: ...124 Chapter2 Programming Fundamentals Using the LAN to Control the Analyzer ...
Page 125: ...125 3 Programming Examples ...
Page 164: ...164 Chapter3 Programming Examples Using Java Programming Over Socket LAN ...
Page 165: ...165 4 Programming Command Cross References ...
Page 379: ...379 6 Error Messages ...
Page 412: ...412 Chapter6 Error Messages Error Message Descriptions ...