Download AMS Antenna Measurement Software

Transcript
AMS Version 4.0 User Manual
SaveData Freq Power Az El Tx PkAmp Phase
Switch1 B
Tx = 90
Receiver Sweep
PkAmp = Receiver GetPeakAmp
pkFreq = Receiver GetPeakFreq
SaveData Freq Power Az El Tx PkAmp Phase
Freq = AMS GetNextFreq
goto LOOPFREQ
END
El = AMS_ElStart
Az = AMS_AzStart
Positioner1 MoveAz Az
Positioner1 MoveEl El
Popup "Test Complete"
4.19.2. Script Text Files
Script code files are located in the directory C:\AMS\Script\. Script code files may
have a maximum of 199 lines. Nomenclature:





“real” refers to a declared variable with double precision
“int” refers to a declared integer
“AMS_real” refers to any of pre declared AMS real variables listed below
“AMS_int” refers to any of pre declared AMS integer variables listed below
“real value” refers to any real number
4.19.3. Comments
Script code lines starting with # are comments and are ignored
4.19.4. Declarable Variables
Variables can be declared as real or int. Variables must be declared at the beginning
of the script. A variable name must not duplicate an AMS variable, as described
below.
4.19.5. Labels
Labels are used for “goto” and “if goto” Statements
4.19.6. Device functions
Device functions are used to control and communicate with the device drivers.
Control Device functions have the format of “Device Par1 Par2 Par3…”.
Communication device functions retrieve data from the device, and have the format
of “real = Device Par1 Par Par3 …”.
5185 Dolman Ridge Road
Gloucester, Ontario K1C 7G4
Tel: 613-841-1663; 800-EMC-1495
Fax: 613-841-0456
Copyright 2008, 2009, 2010, 2011, 2012 Raymond EMC Systems Corp. All rights reserved
Page 37