PhaseStation 53100A User’s Manual V1.04 25-Apr-2022
145
JavaScript API Function Reference
TimeLab includes an embedded JavaScript engine
that can run automated test scripts using the
TimePod 5330A and PhaseStation 53100A. The API functions listed below are useful in a variety of
applications ranging from performance verification procedures to user-developed test scripts.
Usage examples for many of these API functions can be found in the
53100A_performance_test.js
script
included with TimeLab, as well as
5330A_performance_test.js
and
5330A_ADC_test.js
.
In addition to the user performance test scripts, TimeLab includes two other examples showing how to
accomplish various tasks under script control.
53100A_3_cornered_hat.js
demonstrates how to launch
an automated 3-cornered hat stability measurement that will run for 12 hours, periodically saving the
results while the test is running, while
53100A_command_line_example.js
illustrates one way to create
a complete automated test procedure by launching TimeLab to run a script from an external shell,
application, or environment with specified parameters and termination behavior.
Review the comments in these scripts to learn how to configure, run, and adapt them. For more
information on creating, editing, and running test scripts, refer to the
Scripts
menu description on page
AcqChannel([Number user_value, ] Number channel)
Returns the position in the legend table beneath the graph, from 0 to 8, of the plot
associated with the script instance’s specified acquisition channel. Since plots being
acquired under script control may be moved up and down in the legend table by the
user like any other loaded plots,
AcqChannel()
is needed to obtain the value needed when
calling
ScriptBindToPlot()
in multichannel acquisitions.
The
channel
parameter should range from 0 to one less than the value returned by
AcqNumChannels()
. If two parameters are passed, the first is the
user_value
that was
originally passed to
AcqStartAcquisition()
when the plot at the desired index was created.
Scripts that perform only standard single-channel acquisitions will not need to use this
function.
AcqCheckOptions(String option_name [{, String option_name}])
This function is reserved for compatibility with Symmetricom 3120A test scripts. It
always returns TRUE in scripts associated with TimePod 5330A and PhaseStation 53100A
measurements.
15
Summary of Contents for PHASE STATION 53100A
Page 1: ...TM 53100A Phase Noise Test Set User s Manual Revision 1 04 April 25 2022...
Page 16: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 16...
Page 18: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 18...
Page 20: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 20...
Page 30: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 30...
Page 36: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 36...
Page 42: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 42...
Page 64: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 64...
Page 74: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 74...
Page 104: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 104...
Page 116: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 116...
Page 122: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 122...
Page 130: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 130...
Page 140: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 140...
Page 214: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 214...
Page 215: ...PhaseStation 53100A User s Manual V1 04 25 Apr 2022 215 Appendix Legal and regulatory notices...