Vous êtes sur la page 1sur 14

Customizing Standard

Characteristics
by editing the Windows Registry
OMICRON Test Universe
2
Article Number VESD5001 - Manual Version: TURegSet.AE.4
OMICRON electronics 2005. All rights reserved.
This Reference Manual is a publication of OMICRON electronics GmbH.
All rights including translation reserved. Reproduction of any kind, e.g., photocopying, microfilming or
storage in electronic data processing systems, requires the explicit consent of OMICRON electronics.
Reprinting, wholly or in part, is not permitted.
This Reference Manual represents the technical status at the time of printing. The product information,
specifications, and all technical data contained within this reference manual are not contractually
binding. OMICRON electronics reserves the right to make changes at any time to the technology and/or
configuration without announcement. OMICRON electronics is not to be held liable for statements and
declarations given in this reference manual. The user is responsible for every application described in
this reference manual and its results. OMIRON electronics explicitly exonerates itself from all liability
for mistakes in this manual.
3
Customizing Standard Characteristics
Customizing Standard
Characteristics of OMICRON Test
Universe
Some of the OMICRON Test Universe standard characteristics can be
customized according to the users requirements. To change a characteristic,
certain settings in the Windows Registry need to be modified.
The following sections describe what characteristics can be changed and how.
Section 1 What characteristics can be modified? describes the feature, the
keys and values to be set and/or created in the registry are described:
1.1 Default CMC Device Type for Offline Mode on page........................... 4
1.2 Ground Wire Break Warning on page.................................................. 4
1.3 Scanning of Parallel Ports on page ..................................................... 5
1.4 Automatic Registration of the Kernel Mode Drivers on page............... 6
1.5 Height of Analog Diagrams in Reports on page .................................. 6
1.6 Software Watchdog Timeout on page ................................................. 7
1.7 PC to Test Set Watchdog Timeout on page ........................................ 7
1.8 Overload Disable Time on page .......................................................... 8
1.9 Disable Hardware-Check Error Messages on page ............................ 9
1.10 Rogowski Simulation Amplitude Dynamics on page........................ 10
1.11 Separate Language Selection for Test Reports on page................. 11
Section 2 How to Edit the Windows Registry provides information how these
modifications have to be performed.
2.1 Editing an entry on page.................................................................... 13
2.2 Adding a New Entry on page............................................................. 14
OMICRON Test Universe
4
1 What characteristics can be
modified?
1.1 Default CMC Device Type for Offline Mode
Determines the default device type for offline operation. When the Hardware
Configuration dialog is opened in offline mode, Test Universe provides
simulation of all device types listed below. By setting this registry entry, the
default device type can be specified, i.e., the device type set here will be
selected by default.
Registry Settings
1.2 Ground Wire Break Warning
Specifies whether or not the ground wire break warning is displayed.
Note: The ground wire break warning is a crucial message! Disabling it will
suppress an important message that indicates a potential safety risk.
Therefore we suggest to disable this warning only if the ground wire
break warning occurs constantly due to your network topology, and all
CMC users are fully aware that this is the case!
Registry Settings
Key name: HKEY_CURRENT_USER\Software\OMICRON\Hardware
Configuration
Value name: DefaultDeviceType
Value type: String (REG_SZ)
Value data: CMC56, CMC156-EP, CMC256-3, CMC256-6, CMC151
Key name: HKEY_CURRENT_USER\Software\OMICRON\Hardware
Configuration
Value name: GroundWireBreakWarning
Value type: String (REG_SZ)
Value data: 0 or 1
(0 = warning disabled, 1 = warning enabled. Default = 1)
Note: When "Value name" does not exist, the warning is
enabled.
5
Customizing Standard Characteristics
1.3 Scanning of Parallel Ports
Determines whether or not CM Engine scans the corresponding parallel port for
connected CMCs. The default setting is "scan port".
Disabling a particular port from being scanned can be advantageous if a
hardware device is connected to it that may conflict with the way the OMICRON
kernel mode driver operates. Such a device can be a printer that, for example,
every time the kernel mode driver switches, initiates an internal reset and ejects
a sheet of paper.
Registry Settings
Key name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\OMICRON\ParCMC
Value name: ScanLPTx
(where "x" is to be replaced with the actual port number)
Value type: DWORD (REG_DWORD)
Value data: 0 or 1 (default = 1)
0 = port is not checked for connected CMCs
1 = the port is included when scanning for devices
Note: When "Value name" does not exist, the port is
included when scanning for devices.
OMICRON Test Universe
6
1.4 Automatic Registration of the Kernel Mode
Drivers
Determines whether or not CM Engine automatically tries to register the kernel
mode drivers for parallel port communication on each start-up. The default
setting is "register kernel mode drivers".
Note: This setting should only be used by very advanced users that
understand the impact of disabling kernel mode drivers.
Registry Settings
It may be advantageous to select not to automatically register the the kernel
mode drivers if you experience a conflict with another driver. However, up to
date, the only definitely known case is an incompatibility with the PPShell driver
of the Windows CE development environment.
Setting the value data to 1 prevents CM Engine from automatically registering
the kernel mode drivers, however, results in the fact that OMICRON Test
Universe can be operated in offline mode only.
1.5 Height of Analog Diagrams in Reports
Specifies the height in millimeters of analog diagrams in the test reports.
Registry Settings
Key name: HKEY_CURRENT_USER\Software\OMICRON\CM Engine
Value name: RegisterAndStartKernelDrivers
Value type: String (REG_SZ)
Value data: 0 or 1 (default = 1)
0 = kernel mode drivers not automatically registered
1 = kernel mode drivers registration attempted automatically
Note: when "Value name" does not exist, registration is
attempted automatically.
Key name: HKEY_CURRENT_USER\Software\OMICRON\<module
name>\Options
Value name: DiagramHeight
Value type: String (REG_SZ)
Value data: height in millimeters, value must be between 1 and 200
7
Customizing Standard Characteristics
1.6 Software Watchdog Timeout
Specifies the time-out for the software watchdog in the device.
Note: This setting should only be changed when advised by the OMICRON
hotline.
Registry Settings
1.7 PC to Test Set Watchdog Timeout
Specifies the time-out for the watchdog between the computer and the
OMICRON test set (only relevant for CMC256 with NET-1 option).
Note: This setting should only be changed when advised by the OMICRON
hotline.
Registry Settings
Key name: HKEY_CURRENT_USER\Software\OMICRON\CM Engine
Value name: WatchdogTimeout
Value type: String (REG_SZ)
Value data: Watchdog timeout in milliseconds, value must be between 2000
and 30000
Note: When "Value name" does not exist, the watchdog
timeout will be set to an internal default (currently
about 2000ms).
Key name: HKEY_CURRENT_USER\Software\OMICRON\CM Engine
Value name: WatchdogTimeoutAL2DevEng
Value type: String (REG_SZ)
Value data: Watchdog timeout in milliseconds, value must be between 1000
and 30000
Note: When "Value name" does not exist, the watchdog
timeout will be set to an internal default (currently
3000ms).
OMICRON Test Universe
8
1.8 Overload Disable Time
Specifies a time span in which the overload detection is disabled after a signal
change.
Registry Settings
Key name: HKEY_CURRENT_USER\Software\OMICRON\CM Engine
Value name: OverloadDisableTime
Value type: String (REG_SZ)
Value data: Overload disable time in milliseconds, value must be between
15 and 25000, otherwise it is ignored.
Note: When "Value name" does not exist, the overload
disable time will be set to an internal default (currently
50ms).
9
Customizing Standard Characteristics
1.9 Disable Hardware-Check Error Messages
This setting disables one or more error messages of the hardware self-test.
Note: Edit with extreme caution! Working with a defective test set whose
error messages are intentionally suppressed can be very dangerous!
Registry Settings
Key name: HKEY_CURRENT_USER\Software\OMICRON\CM Engine
Value name: HWCheckDisableMask
Value type: String (REG_SZ)
Value data: The value is interpreted as 32 bit mask. Each bit in the mask
disables one error message:
Bit Disables error message
0 V1A
1 V2A
2 V3A
3 V1B
4 V2B
5 V3B
6 Overtemperature voltage
7 Voltage overload
8 I1A
9 I2A
10 I3A
11 I1B
12 I2B
13 I3B
14 Overtemperature current
15 Reference current
16 - 23 unused
24 AD converter
25 Binary inputs
26 MEA
27 - 31 unused
OMICRON Test Universe
10
1.10 Rogowski Simulation Amplitude Dynamics
A new setting possibility for the dynamic amplitude range using the true
Rogowski coil simulation of the CMC256 test set. Two dynamic amplitude range
modes can be selected: "normal" (default) and "high".
"Normal" mode provides the security that the amplitudes do not exceed a
limit which could result in distorted signals, even for higher frequencies, e.g.,
400Hz. The amplitude, however, is limited to 5.9 times the nominal current
(assuming that 150mV voltage is the corresponding value for the nominal
current).
The "high" mode permits amplitudes of up to 37 times the nominal current (at
150mV for nominal current). The price to pay for the higher dynamic range is
the danger of distorted signals if harmonics exceed certain limits (see the
following limits table).
Current limits for 50Hz nominal frequency and 150mV coming from the
Rogowski coil at nominal current in "normal" and "high" mode:
With this Service Release it is possible to do this setting directly in the Windows
Registry (refer to the document "Test Universe Registry Settings.pdf" that is part
of this release). A more user-friendly solution will be presented in the next major
Test Universe release.
Normal Mode: High Mode:
f max. current f max. current
50Hz 5.9 x I n 50Hz 37.0 x I n
100Hz 5.9 x I n 100Hz 23.6 x I n
150Hz 5.9 x I n 150Hz 15.7 x I n
200Hz 5.9 x I n 200Hz 11.8 x I n
250Hz 5.9 x I n 250Hz 9.4 x I n
300Hz 5.9 x I n 300Hz 7.9 x I n
350Hz 5.9 x I n 350Hz 6.7 x I n
400Hz 5.9 x I n 400Hz 5.9 x I n
11
Customizing Standard Characteristics
Registry Settings
Note: When "Value name" does not exist, the amplitude dynamics will be set
to "normal".
1.11 Separate Language Selection for Test Reports
By default the language for user interface and test reports is identical (set on the
Start Page at SYST EM SET T I NGS | LANGUAGE).
This registry setting activates the possibility to select a report language different
from the user interface language.
Registry Settings
Note: This is not a 100% solution. For technical reasons, there are some
strings that will remain in the user interface language.
Key name: HKEY_CURRENT_USER\Software\OMICRON\CM Engine
Value name: RogowskiAmplitudeDynamics
Value type: String (REG_SZ)
Value data: Either "normal" or "high"
Key name: HKEY_CURRENT_USER\Software\OMICRON\General Settings
Value name: AllowSeparateLanguageSelection
Value type: String (REG_SZ)
Value data: 0 disables a separate selection
1 enables a separate selection
OMICRON Test Universe
12
2 How to Edit the Windows Registry
Note: The settings in the Windows Registry are crucial for your systems
operating stability and integrity. Proceed with caution when editing the
Windows Registry. If you do not feel confident editing the Registry, ask
your system administrator or a likewise qualified expert.
To create or modify an entry, you need to start the Windows Registry Editor:
1. Open the Windows ST ART menu
2. Select RUN
3. Type in "regedit"
Figure 2-1:
Starting the Windows
Registry Editor
4. Left-click OK or hit the <Enter> key. This will start the Windows Registry
Editor.
Figure 2-2:
The Windows Registry
Editor
In the Windows Registry Editor:
1. Left-click the + sign of HKEY_CURRENT_USER to expand the Explorer-
like registry tree.
2. Navigate to HKEY_CURRENT_USER\Software\OMICRON.
13
Customizing Standard Characteristics
The settings mentioned in section Customizing Standard Characteristics of
OMICRON Test Universe are located in subkeys (or subfolders, in terms of the
Explorer-like tree) of the key HKEY_CURRENT_USER\Software\OMICRON.
Clicking such a subkey will display one or more entries at the right side of the
Registry Editor window.
Figure 2-3:
The OMICRON-specific
settings in the Windows
Registry Editor
2.1 Editing an entry
To edit an existing entry (String or DWORD):
1. Double-click the name of the entry (e.g. ScanLPT1).
Depending on whether the entry is a string or a DWORD, the according
dialog box Edit String or Edit DWORD Value opens. Here the value of
the entry can be changed.
Figure 2-4:
The Edit dialog box
2. Enter the value of your choice into the "Value data:" entry field, and click
OK to close the Edit String dialog box.
OMICRON Test Universe
14
2.2 Adding a New Entry
To add a new entry (String or DWORD):
1. Select the Windows Registry Editors menu item
EDI T | NEW | ST RI NG VAL UE
or
EDI T | NEW | DWORD VAL UE.
2. Enter the value name of your choice, and press the <Enter> key.
You will then get an empty entry that can be modified in the same way as
described for already existing entries in section 2.1 Editing an entry.
Note: Changes in the Windows registry dont affect applications that are
currently running.