Configuration Files

Parent Previous Next

Most of the programs settings are stored into a XML file. There are three main XML configurations files: NPXLab.xml, USERNAME.xml (where USERNAME is a placeholder for the Current Windows Logged User) and Navigator.xml. The most important one is the NPXLab.xml. A typical path for it is C:\Documents and Settings\All Users\Application Data\NPXLab\NPXLab.xml or c:\ProgramData\NPXLab\NPXLab.xml. All settings stored into NPXLab.xml affect the NPXLab behaviour for all the users.

The following table describes its main settings.


GROUP

ITEM

FILE

Default value

Path

Note

Filters(1)

Notch Frequency

NPXLab.xml

50

DOC->Filters->Notch

The powerline AC frequency, expressed in Hertz

Filters(1)

Number of default filter values

NPXLab.xml

8

DOC->Filters->DefaultCount

The number of LPF and HPF default values

Filters(1)

High Frequency Default Values (of the Low Pass Filter)

NPXLab.xml


DOC->Filters->LPFn

n varies from 0 to DOC->Filters->DefaultCount (see above). Values are frequencies multiplied by the Scaling value, so that 750 means 7.5 Hertz if Scaling is 100

Filters(1)

Low Frequency Default Values (of the High Pass Filter)

NPXLab.xml


DOC->Filters->HPFn

n varies from 0 to DOC->Filters->DefaultCount (see above). Values are frequencies multiplied by the Scaling value, so that 10 means 0.1 Hertz if Scaling is 100

Filters(1)

Scaling factor of filter values

NPXLab.xml

100

DOC->Filters->Scaling

This represents the scaling value of the filters: true filters values are those indicated in the LPFn and HPFn field divided by Scaling value

Filters(1)

Number of filters loaded in the Processing Chain at program startup

NPXLab.xml

0

DOC->Filters->TypeCount

The number of time domain filters loaded at program startup

Filters(1)

The nth filter type to be loaded

NPXLab.xml


DOC->Filtern->Type

n varies from 0 to DOC->Filters->TypeCount (see above). Actually the supported values are (may vary depending on the NPXLab Suite edition): Cheby, Recursive, FIR and FFT.

Filters(1)

Default filter Enable flag

NPXLab.xml


DOC->Filtern->Enabled

n varies from 0 to DOC->Filters->TypeCount (see above). Determines if the filter is enabled or disabled at program startup

Filters(1)

Zero Phase filter flag

NPXLab.xml


DOC->Filtern->ZeroPhase

n varies from 0 to DOC->Filters->TypeCount (see above). Determines if the filter uses the forward and backward technique to approximate a zero phase behaviour

Filters(1)

High Pass Filter Cutoff frequency

NPXLab.xml


DOC->Filtern->HPFDef

n varies from 0 to DOC->Filters->TypeCount (see above). Determines the initial setting of the High Pass Filter (expressed in Hz)

Filters(1)

Low  Pass Filter Cutoff frequency

NPXLab.xml


DOC->Filtern->LPFDef

n varies from 0 to DOC->Filters->TypeCount (see above). Determines the initial setting of the Low Pass Filter (expressed in Hz)

Filters(1)

Notch Filter Status

NPXLab.xml

0

DOC->Filtern->NotchDef

n varies from 0 to DOC->Filters->TypeCount (see above). Determines the initial setting of the Notch Filter (0 = disabled, 1 = enabled)







Spectra(2)

Spectral Band Name

NPXLab.xml

noname

DOC->Spectrum->BandnName

n varies from 0 to 7. The item indicates the name of the nth spectral band (e.g. alpha, beta, ...)

Spectra(2)

Spectral Band Low Frequency

NPXLab.xml

n * 4

DOC->Spectrum->Band_n_Freq_Lo

n varies from 0 to 7. The item indicates the low frequency of the nth spectral band.

Spectra(2)

Spectral Band High Frequency

NPXLab.xml

(n + 1) * 4

DOC->Spectrum->Band_n_Freq_Hi

n varies from 0 to 7. The item indicates the high frequency of the nth spectral band.

Spectra(2)

Total Band Low Frequency

NPXLab.xml

1

DOC->Spectrum->TotalBand_Lo

The item indicates the low frequency of the total band to be used for the computation of the relative power.

Spectra(2)

Total Band High Frequency

NPXLab.xml

32

DOC->Spectrum->TotalBand_Hi

The item indicates the high frequency of the total band to be used for the computation of the relative power







ERP(1)

Default Sensitivity

NPXLab.xml

10

DOC->ERP->Sensitivity

This item indicates the startup sensitivity of the Traces view at viewer startup, and when in Normal View mode. Smaller values indicates smaller sensitivites


(1) Can only be modified by editing the XML configuration file.

(2) Can be modified by editing the XML configuration file AND from the NPXLab Menu: Spectrum | Defined Bands.




Note that a non valid XML file might cause the NPXLab Suite to crash: use an XML editor which is able to check the correctness of the file and make a backup copy of it before editing it. The NPXLab.xml is the one that stores the main (few) general program settings. The Navigator.xml file (a typical path for it is C:\Users\USERNAME\AppData\Local\NPXLab) stores all the customization of the navigation bas (colors, positions, size, etc...). Each user, then, has a different XML configuration file (USERNAME.XML) in which are stored personal settings (fonts, colors, line styles, etc...) relative to the NPXLab Views.

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents