Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

If you want use Paragon-X style commands with Paragon-neo/100G, you can use the wrappers provided in your Paragon-X install. These can be found in your user folder under Documents/Calnex/Paragon-X/RemoteControl. Wrappers are provided for Python and Tcl. A Perl wrapper is also provided but this is no longer being maintained.

These wrappers are being enhanced to provide more complete compatibility with Paragon-X (see the enhancement list below). We have started with the Tcl wrapper; the Python version will be available soon. Although we don't yet have a released version of the Tcl wrapper a beta is available (see below). Please note that this is a BETA version and has not been through a complete regression test cycle (so use at your own risk). Since it is a beta, you should not save the files in the same location as the version shipping with your Paragon-X.

Enhancements

  • Some functionality for Paragon-neo/100G must be implemented directly in the wrapper since it cannot be implemented in the instrument. For example, any command that involves exporting a file to a folder on a local PC must be downloaded by a script since the instrument cannot write directly to your PC. Right now, the only supported command of this type is Cat GenerateReport.

  • There are also some Paragon-X commands that do not map to any equivalent in Paragon-neo/100G. Examples of these commands are:
    • Cat Show: For Paragon-neo/100G, the CAT is always active with the latest measurements.
    • Cat Close: Since the CAT is always available, it cannot be closed.
    • Cat <filetype> (where <filetype> may be 1pps, SyncE, 1588TimeError etc.): These commands load a specific file type into the CAT from the Paragon-X GUI. The Paragon-neo/100G CAT does not require these commands to load a capture. 

Since these commands serve no purpose for Paragon-neo/100G, the wrapper will quietly ignore them and will not generate an error (which is important to avoid your existing scripts failing).

  • The current version (v23.00) of the CAT has no Paragon-X style command to return the number of missing 1pps pulses in a capture. A command has been added that allows this to be information to be retrieved (using the CAT's REST interface). The new command is paragonget Cat <1ppsMetric> OnePpsMiss where <1ppsMetric> is one of TIMEERROR, AVERAGEDTE, DTELF, DTEHF, DTEMTIE or DTETDEV.

  • New logging functionality has been added. This will log all commands and responses to a logging file and may optionally log to the console. Logging can be enabled or disabled at any point in your script. The command is:

paragonWrapperLogging <enable> <toConsole> where both parameters are boolean.

Logs will be stored in a folder called paragonWrapperLogging in the same location as the wrapper.

Tcl

The beta version of the wrapper now consists of a number of files. These are all bundled into a zip file: Paragon Tcl 25911 BETA.zip

Python

Coming soon...



  • No labels