Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Paragon-neo/100G features a RESTful HTTP API, support is provided through the on-instrument script recorder and the calnexRest Python and TCL wrappers that All Paragon products can be automated using Python or Tcl.

Support for scripting is provided through wrappers. These wrappers translate from script calls into the native HTTP API interface interfaces on the instrument.

Paragon-neo/100G has two native interfaces:

  • RESTful: A fully-featured REST interface supporting all functionality of the instrument, automation scripts can easily be generated using the on-instrument Script Recorder application. The calnexRest wrappers include extended utility commands to make scripting of common tasks easier.

...

  • Paragon-X compatibility: A limited interface intended to provide a mechanism to port existing Paragon-X scripts.

Reference Documentation

The RESTful interface is documented on-line in your instrument:

  • Open a browser and enter the IP address of your instrument.

  • On the help page, you will find a link to a brief Remote Control Manual with instructions to get you started; API will take you to the full RESTful on-line documentation for the the REST commands.

  • The

...

The latest versions of the wrappers are below.

REST

...

  • utility functions are documented See: <link>


The limited Compatibility Interface is documented in the same Remote Control Manual as is provided with Paragon-X. It can be found in your Start menu or from the Paragon-X GUI under Help→Remote Control.

Wrapper Operation

RESTful Wrappers

The RESTful wrappers are shipped in your instrument and can be referenced from: "http://<ipAddr>/Calnex100G/RemoteControl/". If you would prefer, you can also download them from the links below. The versions below may be more recent than in your instrument but will be backwards compatible with any scripts you have already written.

Python:

View file
namecalnexRest.py

TCL:

View file
namecalnexRest.tcl

Perl:

Python and Tcl wrappers are provided. The Perl wrapper is no longer being actively maintained or supported on Paragon-neo/100G.

The on-instrument Script Recorder function will generate a user script from the actions performed, this is the easiest way to begin automating the instrument operation:

...

Paragon-X Compatibility Wrapper

Limited support for Paragon-X style commands are available to enable existing Paragon-X scripts to be used. See this page.The compatibility interface is documented in the same Remote Control Manual as is provided with Paragon-X. It can be found in your Start menu or from the Paragon-X GUI under Help→Remote Control.