By selecting “Edit/Properties” for the instrument window, you will be able to set some of the following instrument properties:
Type: There are 2 types of visual appearance for instruments:
• Circle with classic (analog style) round scale
• Non-graphic, with numeric value only
Modify instrument value: You can define coefficients to modify the instrument value after calculation. This is useful if you need a calculation slightly different than the one included in SIGVIEW; for example, if the unit you would like to use needs some scaling. You can define both add (A) and multiply factors (B). The resulting instrument value will be calculated from the originally calculated value by using the following expression: NewValue = A + B*OriginalValue.
Range: Value range for instrument scale.
Units: Units for instrument value (Volt, meter, etc.).
Show signal marker: This option is available only for “At..., Maximum, Minimum, Maximum position and Minimum position” instruments. If you enable it, a marker will appear in the origin signal, showing the exact position for the value shown in the instrument. You can define the content of the marker by changing its text, or turning on the X/Y value display in the marker.
Show level marker in signal: This option is available only for some instruments (Const, Standard deviation, Mean, Median, Quantile, Show value at... ) which value can be displayed on the Y-axis of the origin signal. If you enable this option, a horizontal line will be displayed in the origin signal, showing the instrument value level on the Y-axis.
Depending on the type of instrument, the level marker can be different: Mean instrument will simply show one line at the mean value and the Standard Deviation instrument will show two lines, one at mean+value and one at mean-value.
You can freely define the marker text which will be displayed above the marker line.
Critical value range: You can select the value range which represents the “red zone”. It will be marked red on the instrument. By selecting the “Outside” option in the radio box, you will invert the selection, i.e. all values outside that range will be marked red. If using a "Log instrument values" function, you will also be able to see the alarm range there as a signal overlay.
Play sound on critical value: SIGVIEW will play a warning sound (taken from your Windows sound settings) when the value is in a critical zone.
Execute this application on critical value: You can enter the complete path of an external application to be executed if the value is in a critical range, i.e. if the value of the instrument enters the “red-zone”. You can also define how often this application will be called. SIGVIEW will execute defined application and pass current instrument value as a parameter to it. For example, if your application is “C:\MyLogger.exe”, and a value of 45.4432 causes the alarm to go off, SIGVIEW will call “C:\MyLogger.exe 45.4432” command line. This function can also be used to simply log analysis values outside SIGVIEW in some regular intervals.
Examples for executing external applications
As an example for the external application, SIGVIEW distribution includes a “Logger.exe” application. You can simply copy this file from the SIGVIEW installation folder to some other folder and enter its path to the instrument dialog. Logger.exe will log the values passed from SIGVIEW in a *txt file with the name SIGVIEWLog_<current date>.txt in its working directory.
Another example for such external application is ULDigital.exe, also included with the SIGVIEW installation. This application can control digital outputs on devices compatible with Universal Library from Measurement Computing®, i.e. can turn external devices on or off. There are the following command line options: ULDigital.exe <duration in ms> <digital output>.
Where <digital output> should correspond with UniversalLibrary's FIRSTPORTA, SECONDPORTA... values. For example, on PMD devices these values are 10, 14, 18... for channels A0, A1, A2... This application requires that the Universal Library driver is installed.