CM_PSG_E8267C_Sink


Description: Agilent PSG E8267C Vector Signal Generator
Library: Instruments
Class: SDFCM_PSG_E8267C_Sink
Derived From: CM_ESG_E4438C_Sink

Parameters
Name Description Default Unit Type
Instrument instrument to be used in the simulation [GPIB0::21::INSTR][localhost][4790]   instrument
Enabled When YES communicates with instrument: NO, YES YES   enum
Start sample number to start waveform recording DefaultNumericStart   int
Stop sample number to stop waveform recording DefaultNumericStop   int
Frequency RF output frequency 3e9 Hz real
Amplitude RF output power level (dBm) -135   real
ARBRef reference for the waveform clock: Internal, External Internal   enum
ARBRefFreq reference frequency of the external clock generator 10e6 Hz real
SampleClk sample clock rate for sequencer and DAC 4.9152e6 Hz real
FileName waveform file name to be stored in PSG ads_psg_download   filename
DownloadMode select mode of operation of the sink: download_to_VARB, write_to_datafile, both download_to_VARB   enum
AutoScaling scale inputs to range { -1, +1 } before download: NO, YES YES   enum
ArbOn select waveform and turn ARB ON after download: NO, YES NO   enum
RFPowOn turn RF power ON after download: NO, YES NO   enum
EventMarkers Enable PSG markers: Neither, Event1, Event2, Both Neither   enum
MarkerLength select number of points for ESG markers 10   int
IQ_ModFilter baseband filter applied to the IQ signals: through, filter_40MHz through   enum
Pin Inputs
Pin Name Description Signal Type
1 I I input waveform data real
2 Q Q input waveform data real

Notes/Equations
  1. The CM_PSG_E8267C_Sink model collects data from a simulation and downloads the data to an E8267C Vector Signal Generator. Parameters specify how data is interpreted by the PSG. This model uses the connection manager architecture to communicate with the instrument. See Client-Server Architecture under the section on Operational and Functional Concepts in the Connection Manager documentation for more information.
  2. Prerequisites for using CM_PSG_E8267C_Sink are:
  3. The Instrument parameter specifies a triplet that identifies the specific instrument to be used in the simulation, along with the Connection Manager server information to be used to connect to the instrument.
    To interactively select an instrument, refer to Instrument Selection under About Instruments Components.
    For more information regarding instrument selection, see Discovering Connected Hardware under the section on Getting Started with Connection Manager in the Connection Manager documentation.
  4. The Start and Stop parameters specify when to start and stop data collection. The number of samples collected, Stop − Start + 1, must be in the range 60 samples to 64 Msamples where 1 Msample = 1048576 samples. The PSG requires an even number of samples; the last sample is discarded if Stop − Start + 1 is odd.
  5. The ARBRef parameter specifies an internal or external reference for the PSG clock generator. If set to External, the ARBRefFreq parameter sets the frequency of this clock.
  6. The SampleClk parameter sets the sample clock rate for the DAC output.
  7. The FileName parameter sets the name of the file into which data is written. Data can be written to the ESG, to a local data file, or to both, based on the DownloadMode parameter. The same filename is used for both options.
  8. The DownloadMode parameter specifies the mode of operation of this sink component.
    download_to_VARB - The waveform is downloaded to the ESG volatile ARB (VARB) memory.
    To avoid writing data to the local file system, use this mode of operation.
    write_to_datafile - The waveform is written to a proprietary encrypted binary file format in the data directory of the project. Then the file can be transferred to the WAVEFORM directory in the ESG file system using an FTP client; select the binary data transfer option during the FTP process. The ESG automatically decrypts the file and makes the file available for selection from the list of waveforms in its VARB memory.
    To avoid communication with the ESG instrument during simulation, use this mode of operation.
    Note that, besides data, only the Frequency and SampleClk values are embedded in the file as header information. Other ESG settings (such as Amplitude) must be set manually from the ESG front panel or by using appropriate SCPI commands.
    both - download_to_VARB and write_to_datafile options are enabled.
  9. The ESG driver expects data in the range {−1, 1}. The AutoScaling parameter specifies whether to scale inputs to fit this range.
    If AutoScaling = YES, inputs are scaled to the range {−1, 1}. And, scaling is applied to data written to the local file (refer to note 8).
    If AutoScaling = NO, raw simulation data is downloaded to the ESG without any scaling, but data outside the range {−1, 1} is clipped to −1 or 1.
  10. If ArbOn = YES, the PSG starts generating the signal immediately after simulation data is downloaded; if ArbOn = NO (default), waveform generation must be turned on at the PSG front panel.
  11. If RFPowOn = YES, the PSG turns on RF power immediately after simulation data is downloaded; if RFPowOn = NO (default), RF power must be turned on at the PSG front panel.
  12. The EventMarkers parameter specifies which PSG Event markers are enabled: Event1, Event2, Both, or Neither. Event markers are used for synchronizing other instruments to the PSG. When one or both EventMarkers are enabled, Event1 and/or Event2 is set to the first sample of the downloaded Arb waveform. This is equivalent to setting the corresponding event from the front panel of the PSG.
  13. The MarkerLength parameter specifies the range of points over which the markers must be set starting from the first point of the waveform. Depending on the setting of the EventMarkers parameter, the length of trigger Event1 and/or Event2 is set to a multiple of the pulsewidth which, in turn, is determined by the sample clock rate of the DAC output.
  14. The RecFilter parameter specifies the cutoff frequency for the reconstruction filter that lies between the DAC output and the Dual Arbitrary Waveform Generator output inside the ESG.
  15. To access example designs that use this model, from the ADS Main window, choose File > Example Project > Instruments > CM_PSG_prj.
 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources