
--------------------------------------------------
M: Main
 Device Type              : Main
 Context is secured       : off
 Trig mode                : Degrees
 Popup Panel Title Text   : Untitled
 Show Popup Panel Title   : on
 Show Popup Panel Border  : on
 Popup Moveable           : on
 Popup Panel Title Text Color         : Object Title Text
 Popup Panel Title Background Color   : Object Title
 Popup Panel Title Text Font          : Object Title Text
 Delete Globals at Prerun : on

M.0: Main/Reset Instrument
 Device Type              : VXIplug&play
 Transactions             : ag33250a_reset(instrHandle)

M.1: Main/Check Errors
 Device Type              : VXIplug&play
  Output pin 1            : errorNum
  Output pin 2            : error_message
 Transactions             : ag33250a_error_query(instrHandle, errorNum, error_message)

M.2: Main/Error Message
 Device Type              : AlphaNumeric
  Input pin  1            : Data (Any, Any)
 Clear At Prerun          : on
 Clear at Activate        : on
 Indices Enabled          : on

M.3: Main/Error Number
 Device Type              : AlphaNumeric
  Input pin  1            : Data (Any, Any)
 Clear At Prerun          : on
 Clear at Activate        : on
 Indices Enabled          : on

M.4: Main/Agilent Copyright
 Device Type              : Note Pad
 Note Contents            :
   1. \' """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
   2. \'    Copyright  2003 Agilent Technologies Inc. All rights
   3. \'    reserved.
   4. \'
   5. \' You have a royalty-free right to use, modify, reproduce and distribute
   6. \' the Sample Application Files (and/or any modified version) in any way
   7. \' you find useful, provided that you agree that Agilent has no
   8. \' warranty,  obligations or liability for any Sample Application Files.
   9. \'
   10. \' Agilent Technologies provides programming examples for illustration only,
   11. \' This sample program assumes that you are familiar with the programming
   12. \' language being demonstrated and the tools used to create and debug
   13. \' procedures. Agilent support engineers can help explain the
   14. \' functionality of Agilent software components and associated
   15. \' commands, but they will not modify these samples to provide added
   16. \' functionality or construct procedures to meet your specific needs.
   17. \' """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
   18. 

M.5: Main/Warranty Disclaimer
 Device Type              : Note Pad
 Note Contents            :
   1. This example is provided as an illustration
   2. "as is", and Agilent Technologies makes
   3. no warranty of any kind with regard to this
   4. example.

M.7: Main/Set  output termination to 50 ohms
 Device Type              : VXIplug&play
 Transactions             : ag33250a_outpLoad(instrHandle, ag33250a_OUTPUT_LOAD_50)

M.8: Main/Carrier Waveshape is Sine Wave
 Device Type              : VXIplug&play
 Transactions             : ag33250a_funcShap(instrHandle, ag33250a_OUTPUT_FUNC_SIN)

M.9: Main/Configure AM waveform
 Device Type              : Start

M.10: Main/Carrier Freq 5 kHz @ 5Vpp
 Device Type              : VXIplug&play
 Transactions             :
   1. ag33250a_freq(instrHandle, 5000)
   2. ag33250a_volt(instrHandle, 5)

M.11: Main/Modulating waveshape is sine
 Device Type              : VXIplug&play
 Transactions             : ag33250a_amIntFunc(instrHandle, ag33250a_AMP_INT_FUNC_SIN)

M.12: Main/Modulation frequency is 200 Hz
 Device Type              : VXIplug&play
 Transactions             : ag33250a_amIntFreq(instrHandle, 200)

M.13: Main/Modulation depth is 80%
 Device Type              : VXIplug&play
 Transactions             : ag33250a_amDept(instrHandle, 80)

M.14: Main/Turn AM modulation on
 Device Type              : VXIplug&play
 Transactions             : ag33250a_amState(instrHandle, ag33250a_AMP_STAT_ON)

M.15: Main/Turn on Instrument Output
 Device Type              : VXIplug&play
 Transactions             : ag33250a_outpSetup(instrHandle, ag33250a_OUTPUT_SETUP_ON)

M.16: Main/Store state in memory location 1
 Device Type              : VXIplug&play
 Transactions             : ag33250a_sav(instrHandle, 1)

M.17: Main/Program Information
 Device Type              : Note Pad
 Note Contents            :
   1. The program requires the Agilent 33250A/33220A plug and 
   2. play driver. This driver can be found at 
   3. www.agilent.com/find/drivers
   4. 
   5. This program configures a waveform with amplitude
   6. modulation.  Also shows how to use the *SAV command 
   7. to store the instrument configuration in memory.
   8. 
   9. This program was written using:
   10. VEE Pro 6
   11. Agilent GPIB
   12. Win 2000
   13. 33250/33220A VXIpnp Driver
   14. 
