By using “Load Workspace...” and “Save workspace...” options in a File menu, you can save all
currently opened SIGVIEW windows and their relations ( a "Workspace") in a file and reload it
SIGVIEW does not save the actual content of each signal or analysis result – it saves only a
structure of your analysis system and a file names for loaded files. For example, if you load a
signal, perform an FFT on it and save that workspace, SIGVIEW will not save the actual values
from the signal or values from the FFT result. Only the name of the signal file will be saved along
with the information that you performed FFT on it with certain parameters. Therefore, if you
change the data in the original signal file and reload SIGVIEW workspace, you will get changed
signal data and the FFT from it. Generally, a workspace file contains the information you can
normally see in a Control Window plus properties for each window including axes properties and
SIGVIEW is saving its workspace in a file with extension SWS (SIGVIEW WorkSpace). This file is
a plain text file with the structure similar to Windows *.INI files. Its structure is quite simple and
easy to understand or even to edit manually. You can open SWS file with any text editor and
perform some changes if you need it. You can even edit its content automatically from another
application to control SIGVIEW functionality.
For all loaded signals, SIGVIEW saves their full path names in workspace file. When opening that
workspace file later, SIGVIEW searches for those files on their original location first (for example
c:wav). If file does not exist, SIGVIEW tries to load the file with the same name from the folder
where SWS file is. Therefore, if you want to distribute workspace file with all the signals needed,
you just have to be sure that the SWS and signal files will be in the same folder on target
Information about window location and size will also be saved for every window. This information
is relative to the size of the main SIGVIEW window, so you can be quite sure that the loaded
workspace will look the same way in every screen resolution or SIGVIEW window size.
It is also possible to create a workspace file without defining exact signal file names in it. When
opening such workspace file, SIGVIEW will ask you for a file name for each signal file used in this
workspace. To create such workspace file, just save it once normally –
with file names, then open
the SWS file with any text editor program and replace all file names in it (all FileName=.... keys)
You also use drag 'n drop to drag one or more Workspace files from Windows Explorer and drop
them on SIGVIEW window. The effect will be the same as if loading these files by using "Load
Workspace..." menu option.
Using Workspace file as a command line argument
It is possible to give an SWS file as a command line argument when starting SIGVIEW, for
SIGVIEW will start and open this workspace. It is also possible to define all needed signal file
names in the command line as well. You have to create the SWS file where each signal file name
is replaced with “#X”, where X=1,2,3,..., for example “FileName=#1”. Then you can start SIGVIEW with
SIGVIEW32.EXE c:\Analysis1.sws c:\file1.wav c:\file2.wav
Every appearance of “#1” in the Analysis1.sws will be replaced with “c:\file1.wav”, every
appearance of “#2” with “c:\file2.wav”, and so on....
Saving file names in a Workspace
If you are saving a Workspace (SWS file) containing windows with file-based signals (for
example, loaded WAV files), SIGVIEW will offer you two options:
1. Save full file names in a file: Each time you load the workspace, your files (if they still exist) will
be automatically loaded. The result will be exactly the same as the workspace you saved if those
signal files did not change in the meantime.
2. Do not save file name information in a file: Saved workspace will be used as a template for
operations on any files. Each time you try to load the workspace, SIGVIEW will offer you a file
load dialog to choose a file which should be loaded for each window from the workspace which
contained file-based signal. This can be used to speed up the analysis you have to perform often
on different files, similar to Custom tools.
Several example workspace files are installed in “Examples” subdirectory of SIGVIEW's application data directory (usually C:\Documents and Settings\<UserName>\Application
Data\Sigview\) and can be accessed directly through Help/Examples... option in the main menu.