Spectre Build Tunnel Input
The Spectre Build Tunnel Input object runs an Integrator tunnel script and feeds the resulting data into the build script as text.
The tunnel input object has four sections in the properties panel where you set attributes.
You specify the Tunnel script in the Tunnel Input pane.
Use the browse button to navigate to the tunnel-script and set the path.
Use the Open Script button to open the tunnel script in Visual Integrator.
Each object has an area where you can enter comments for documentation purposes.
It is a DI best practice to enter a comment for every object in a Spectre build script.
The tunnel-input object's Available Columns grid displays the columns from execution of the tunnel script. A count is included in the header. The context menu on the Columns grid supports the following row actions: Refresh Columns, Copy, Paste, Move Row Up, Move Row Down, Insert Row, and Delete Row.
The tnl file is parsed to extract the defined columns from the dimensions, info and summary array. Columns types are pulled from the column properties in the model structure, that is, from the cBase Column Type attribute in the tunnel object.
The Pass Parameters pane can be used to add parameters to pass to the tunnel script. Use the plus and minus buttons to add and delete rows. Enter the parameter name and value in each row.
These parameters are passed to the PARM parameters in the Integrator script. Passing multiple values is supported.
NOTE:
-
Spectre can only run one tunnel script at a time.
-
Spectre does not know when the data from the script becomes stale, so it will re-run the script every time.