40Program SamplesN9060A Spectrum Analyzer Mode Programing SamplesN9060A Spectrum Analyzer Mode Programing SamplesSamples are available for the following programming languages and development environments:• Visual Basic 6• C, C++• C#.NET & Visual Studio 2010• Keysight VEE Pro• LabVIEW• MATLABNOTE These samples have all been tested and validated as functional in the Spectrum Analyzer mode.They have not necessarily been tested in other modes. However, they should work in all othermodes, except where exceptions are noted.Matrix of Program Sample Functionality and Programming LanguageIn the table below, availability of program samples for each function/language is indicated by page number references. Ifno page number reference is provided, then there is no available sample for the given functionality in the specifiedlanguage.Function Visual Basic6C, C++ C#.NET VEE LabVIEW MATLABRetrieve Screen Image 42 45 47 47Read Binary Trace Data 42 46 aa. This functionality is included in the C# sample for Phase Noise Trace Math.47Poll Method for Operation Complete 43 45SRQ Interrupt Method for Operation Complete(Multi-threaded)43 45Set and Query Relative Band Power Markers 43Set Traces and Couple Markers 43Phase Noise Trace Math Calculation 44 46Upload a State File 48Switch Instrument Mode 42 bb. This functionality is included in the Visual Basic 6 sample for Reading Binary Trace Data.45 cc. This functionality is included in the C# sample for the SRQ Interrupt Method.48