Menu

Configuration

clochardM33

Configuration

There are two parts to the SP2B configuration:
1. Does it run and does it open results pages? The general stuff.
2. The file locations. The very important web server settings.

Get to the configuration from Start | SpecProc2Browser | SpecProc2Browser Configuration

The configuration is saved on Close.

General

Run after SpecProc
When this is set SP2B runs automatically at the end of a SpecProc batch.
If this is not set SP2B does not run.

Open Results Page when finished
When this is set the SpecProc results Summary page(s) are opened in your default web browser.
If this is not set files are copied to the web server location, but nothing is opened in the web browser.

Server Configuration

Web Server wwwRoot File Location
The file path to the local web server web root folder.
Defaults to C:\inetpub\wwwroot\ which is correct for IIS See [Web Server Setup]

  • This is the folder that your local web server uses as its home page location.
  • All other file paths are relative to this.
  • It is essential that this is correct otherwise all file and web-page-open actions will use invalid addressing.
  • The validation icon reflects the folders status.

Best practice is to Browse to the location rather than typing it in. This will ensure that the folder exists and the syntax is correct.

SpecProc Results Folder - Relative to wwwRoot
The folder that your SpecProc results are copied into.
Defaults to SpecProcResults\Your data goes here\

  • It is relative to the web server root.
  • This can have any value and as many levels as you you like, provided it makes a value URL.
  • This is same as the address you would type into a browser to get to your results files.
  • For example with the default value you would go to http://localhost/SpecProcResults/Your data goes here/
  • Don't worry about spaces in names, they are fine, Windows and Browsers sort them out.

You do not have to change this value for different MassLynx projects. They are automatically structured below this location.
For example. if you processed data from ABC1.PRO and XYZ2.PRO (and you were using the default configuration) they would go into
http://localhost/SpecProcResults/Your data goes here/ABC1.PRO
and
http://localhost/SpecProcResults/Your data goes here/XYZ2.PRO

Best practice for situations where you have groupings that are above the project level, say on different instruments, is to maintain that grouping at the difference level using this setting.
For example, if you wish to have results from multiple instruments on the same web server then for each instrument configure this to reflect the instrument.
This could be something like:

  • SpecProcResults\Instrument #1\
  • SpecProcResults\Instrument #2\
  • SpecProcResults\Instrument #N\
    However, there is only one current configuration and results are written into that.
    It is up to you to maintain this setting as and when you need to change it.

Style Sheet File Location - Relative to SpecProc Results
The folder that the style sheets are copied into relative to the results folder.
Defaults to SpecProcStyles\

This is the location of the files used to style and decorate the results files.
It is forced to be relative to the results folder which makes the results folder fully portable as it will maintain the display rules if you copy it to another web server.
There is no realistic need to ever change this. It is included for completeness.
However, if you change the results folder you need to remake this folder otherwise your web pages will come up blank (there will be no style rules). See below.

Create Folders/Copy Files
Press this button to build the file structure you have configured. This will create the folder paths (where they don't already exist) and copy the necessary style sheets.
It does not overwrite any data.

File Structure

This is a live set of links to show you what your configuration will create.

Saving Configuration

You do not need to explicitly save the configuration. It is saved when you close the configuration window.
However, if the file validation detects that one or more path does not exist it you will be prompted to create the missing folders and files.
You do this by either following the prompt or pressing in the Create Folder/Copy Files button.


Related

Wiki: Home
Wiki: How Does it Work?
Wiki: How to use SP2B
Wiki: Updating Method Files
Wiki: Web Server Setup

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.