| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>Galvani manual</title> |
| 5 |
<meta name="generator" content="Bluefish 2.2.12" > |
| 6 |
<meta name="author" content="burkard" > |
| 7 |
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"> |
| 8 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
| 9 |
<link href="../galvani.css" rel="stylesheet" type="text/css"> |
| 10 |
</head> |
| 11 |
<body> |
| 12 |
<div id="kopf"> |
| 13 |
<h1>Galvani manual</h1> |
| 14 |
<img src="../image/galvani.svg" width="200" height="120" alt="galvani-icon" style="margin-right: 20px;" align="right"> |
| 15 |
</div> |
| 16 |
|
| 17 |
<div id="navi"> |
| 18 |
<ul> |
| 19 |
<li><a href="index.html">Start</a></li> |
| 20 |
<li><a href="menu.html">Menu</a></li> |
| 21 |
<li><a href="toolbar.html">Toolbar</a></li> |
| 22 |
<li class="cur"><span>Settings</span></li> |
| 23 |
<li><a href="mess.html">Performing measurements</a></li> |
| 24 |
<li><a href="eval.html">Data evaluation</a></li> |
| 25 |
<li><a href="files.html">Files and folders</a></li> |
| 26 |
</ul> |
| 27 |
</div> |
| 28 |
|
| 29 |
|
| 30 |
<div class="titel"> |
| 31 |
<h2>Settings</h2> |
| 32 |
</div> |
| 33 |
|
| 34 |
<div id="intro"> |
| 35 |
<p> |
| 36 |
Settings for measurement and data plotting can be defined in the menu "<i>Settings</i>". |
| 37 |
<br> |
| 38 |
If the option "autoload options" is active, all parameters are read from the configuration file at program start. |
| 39 |
<br> |
| 40 |
If the option "autosave options" is active, all parameters are saved in the configuration file at program end. |
| 41 |
<br> |
| 42 |
Function parameters, which are defined in project or data channel settings, will be overwritten during the measurement, if the device is sending these data. |
| 43 |
</br> |
| 44 |
Galvani options can be classified as: |
| 45 |
<ul> |
| 46 |
<li><a href="#projekt">Project settings</a></li> |
| 47 |
<li><a href="#grafik_opt">Diagram settings</a></li> |
| 48 |
<li><a href="#kanal_opt">Settings for data channels</a></li> |
| 49 |
</ul> |
| 50 |
</p> |
| 51 |
</div> |
| 52 |
<br clear="all"> |
| 53 |
<p class="item_1"><a name="projekt"></a>Project settings</p> |
| 54 |
<p class="anleitung"style="margin-bottom: 0"> |
| 55 |
In the project settings the main measurement parameters are defined: |
| 56 |
<ul class="anleitung"> |
| 57 |
<li>Title: A short identifier of the measurment project (optional).</li> |
| 58 |
<li>The function shown on x-axis (data channel 1).</li> |
| 59 |
<li>The function shown on y-axis (data channel 2).</li> |
| 60 |
<li>A project comment. In this entry the measurement parameters or a description of the sample can be filled in (optional).</li> |
| 61 |
</ul> |
| 62 |
</p> |
| 63 |
<p class="anleitung" style="margin-bottom: 0"> |
| 64 |
For both channels these measurement functions ca be selected: |
| 65 |
<ul class="anleitung"> |
| 66 |
<li>DC voltage (default)</li> |
| 67 |
<li>DC current</li> |
| 68 |
<li>AC voltage</li> |
| 69 |
<li>AC current</li> |
| 70 |
<li>Resistance</li> |
| 71 |
<li>Electrical conductivity</li> |
| 72 |
<li>pH</li> |
| 73 |
<li>Temperature</li> |
| 74 |
</ul> |
| 75 |
</p> |
| 76 |
<p class="anleitung"> |
| 77 |
In channel 1 (x-axis) the time variable can also be selected - this is the default option. |
| 78 |
<br> <br> |
| 79 |
Galvani selects the unit (volt, ampere, ohm, siemens, pH, °C) according to the defined function. |
| 80 |
If the data sent by the device contain a function and a unit, project or channel settings are overwritten. |
| 81 |
Project settings are also overwritten when a simulation <em>pH</em> or <em>spectrum</em> is selected. |
| 82 |
With simulation <em>spectrum</em> the function <em>wavelength (400-800 nm)</em> is selected for x-axis and <em>absorption (intensity)</em> for y-axis. |
| 83 |
</p> |
| 84 |
<p class="anleitung"> |
| 85 |
Together with the measurement function the related device e.g. simulation type is shown. A click on this button leads to the settings menu where the related device can be configured.<br><br> |
| 86 |
For simulation of titration curves the convenient acid can be chosen from a dropdown list. The user can fill in the acid volume an concentration, the concentration of the titrator (sodium hydroxide) an the titration velocity. |
| 87 |
A value of 50 mL/min with a time interval of 0.1 seconds is suitable.<br> |
| 88 |
For the calculation of titration curves Galvani uses the tabulated pKs-values (H.R.Christen: Grundlagen der allgemeinen und anorganischen Chemie, Frankfurt a.M. 1980, G.H.Aylward, T.J.V.Findlay: Datensammlung Chemie, Weinheim 1975). |
| 89 |
The algorithm is based on the concept of de Levie (R. de Levie: "General expressions for acid-base titrations of arbitrary mixtures", Washington 1995 - Technical report #7, Chemistry Department, Georgetown). |
| 90 |
</p> |
| 91 |
<br clear="all"> |
| 92 |
|
| 93 |
<p class="item_1"><a name="grafik_opt"></a>Diagram settings</p> |
| 94 |
<p class="anleitung">Diagram settings can be selected in menu <b>Settings/diagram</b>.</p> |
| 95 |
<p class="item_2">Background</p> |
| 96 |
<p class="anleitung"> A mouse click on the area opens a colour selection window where the background colour can be chosen.</p> |
| 97 |
<p class="item_2">Colour of axes</p> |
| 98 |
<p class="anleitung"> A mouse click on the area opens a colour selection window where the axes' colour can be chosen.</p> |
| 99 |
<p class="item_2">Grid</p> |
| 100 |
<p class="anleitung"> Turn on the switch to show the grid. |
| 101 |
<br>A mouse click on the area opens a colour selection window where the grid colour can be chosen.</p> |
| 102 |
<p class="item_2">Data points</p> |
| 103 |
<p class="anleitung" style="margin-bottom: 0"> |
| 104 |
To define the appearance and the junction of data points, these options can be chosen: |
| 105 |
<ul class="anleitung"> |
| 106 |
<li>Symbol (cross, circle, square, diamond or no symbol)</li> |
| 107 |
<li>Appearance of symbols (filled or outline)</li> |
| 108 |
<li>Size of the symbols in points</li> |
| 109 |
<li>Junction of symbols (line, curve or no junction). |
| 110 |
<br>Galvani calculates curve segments by cubic (Hermite) splines.</li> |
| 111 |
<li>Line style (solid, dashed or dotted)</li> |
| 112 |
<li>Line colour: A mouse click on the area opens a colour selection window where the line colour can be chosen.</li> |
| 113 |
</ul> |
| 114 |
</p> |
| 115 |
<p class="item_2">Scaling</p> |
| 116 |
<p class="anleitung"> Turn on the switch for autoscaling the diagram coordinates. Another switch forces the zero line to be shown. |
| 117 |
<br>The limits of the coordinate system can be adjusted manually in the appropiate entry fields. |
| 118 |
If the switch "autoscale" is on, the coordinate system is adjusted to actual data based on the manually defined. |
| 119 |
</p> |
| 120 |
<p class="item_2">Project title</p> |
| 121 |
<p class="anleitung"> Turn on the switch to show the project title as headline of the diagram.</p> |
| 122 |
|
| 123 |
|
| 124 |
<br clear="all"> |
| 125 |
<p class="item_1"><a name="kanal_opt"></a>Settings for data channels</p> |
| 126 |
<p class="anleitung">Parameters for data channels can be selected in menu <b>Settings/Data channel X / Y</b>. |
| 127 |
<br>Most options are identical for both data channels. |
| 128 |
The time variable can only be selected for channel 1 (x-axis). Other devices than digital multimeters can be chosen only for channel 2 (y-axis).</p> |
| 129 |
<p class="item_2">Data source</p> |
| 130 |
<p class="anleitung" style="margin-bottom: 0"> |
| 131 |
The time variable is the default function for channel 1. |
| 132 |
<br>In addition there are the following options: |
| 133 |
<ul class="anleitung"> |
| 134 |
<li>Digital multimeter (default for channel 2)</li> |
| 135 |
<li>Other device (only channel 2)</li> |
| 136 |
<li>Simulation</li> |
| 137 |
</ul> |
| 138 |
</p> |
| 139 |
<p class="item_2">Measurement interval</p> |
| 140 |
<p class="anleitung">The measurement interval (the time difference between two measurements) can be chosen up to a maximum of 1 hour (3600 seconds). |
| 141 |
The minimum is defined by the multimeter or device (parameter "timeout"). <br>Choose the measurement interval in the selection window for channel 2 (y). |
| 142 |
</p> |
| 143 |
<p class="item_2">Data source simulation</p> |
| 144 |
<p class="anleitung" style="margin-bottom: 0"> This option allows the simulation of measurements. The user can define special simulation parameters or let galvani create them (auto). |
| 145 |
Galvani modulates the calculation of data with random variables. |
| 146 |
<br>The following functions are available: |
| 147 |
<ul class="anleitung"> |
| 148 |
<li>Linear</li> |
| 149 |
<li>Exponential (decay curve)</li> |
| 150 |
<li>Chromatogram (Peak modeling by Gauß function)</li> |
| 151 |
<li>pH-diagram (titration curve)</li> |
| 152 |
</ul> |
| 153 |
</p> |
| 154 |
<p class="item_2">Data source digital multimeter</p> |
| 155 |
|
| 156 |
<div class="infobox"> |
| 157 |
Galvani supports communication to the instrument over a serial (RS232C) or USB (USB-TMC) interface. |
| 158 |
In order to communicate to the device the user must have access to these interfaces. |
| 159 |
<br> A common way to achieve this for the serial interface is to add the user to the group <i>dialout</i>: <br> |
| 160 |
sudo usermod -aG dialout [username].<br> |
| 161 |
For an USB interface a file "usbtmc.rules" can be generated in /etc/udev/rules.d/:<br> |
| 162 |
# Devices<br> |
| 163 |
KERNEL=="usb/*", MODE="0660", GROUP="plugdev"<br> |
| 164 |
KERNEL=="usbtmc[0-9]*", MODE="0660", GROUP="plugdev" |
| 165 |
<br> In that way the interface is writable by the group <i>plugdev</i>. If necessary the user can be added to this group:<br> |
| 166 |
sudo usermod -aG plugdev [username].<br> |
| 167 |
</div> |
| 168 |
<br><br clear="all"> |
| 169 |
<p class="anleitung"> |
| 170 |
Galvani supplies configuration files (extension .dmm) for some devices. They can be found in the user's Galvani data directory ~/galvani/. |
| 171 |
This version of Galvani supports only devices sending ASCII data. Galvani supports although communication by SCPI commands (Standard Commands for Programmable Instruments). |
| 172 |
<br>With the <b>Load</b> button the device settings are read from a configuration file and saved in a list of up to 10 devices. |
| 173 |
Configured devices can be selected for measurements on both channels.<br> |
| 174 |
Manually configured parameters can be saved as files by clicking on the <b>Save</b> button. |
| 175 |
</p> |
| 176 |
<p class="anleitung" style="margin-bottom: 0"> |
| 177 |
Parameters for serial communication: |
| 178 |
<ul class="anleitung"> |
| 179 |
<li><b>Interface</b>: Galvani lists all available interfaces. <br>The interfaces /dev/ttyS0 - /dev/ttyS3 are listed even when they are physically not available. |
| 180 |
When they are chosen in this case, this leads to a corrupted port, which cannot be resetted. The program then must be restarted. |
| 181 |
<br>An interface is occupied by a measurement operation. It will be unavailable until the measurement process is terminated.<br> |
| 182 |
When a serial interface (RS232C) is chosen, further parameters are shown (see below).</li> |
| 183 |
<li><b>SCPI</b> (switch): The instrument supports communication by SCPI commands.</li> |
| 184 |
<li><b>Remote control</b> (switch): The measurement function of the device can be set up over the serial interface. |
| 185 |
<br>If this switch is on, measurement function and range can be selected in further choice boxes and input fields can be filled with control strings.</li><b></b> |
| 186 |
<li><b>Baudrate</b>: data transfer rate (600-115200 Bit/s)</li> |
| 187 |
<li><b>Charsize</b>: number of data bits (7 or 8)</li> |
| 188 |
<li><b>Stopbits</b>: (1 or 2)</li> |
| 189 |
<li><b>Flowcontrol</b>: control of serial communication (hardware, software or none)</li> |
| 190 |
<li><b>Parity</b>: control bit (odd, even or none)</li> |
| 191 |
<li><b>Polling</b> (switch): The device expects a request character ("D" or "MEAS?" in case of SCPI) before sending data.</li> |
| 192 |
<li><b>Bytes</b>: Galvani waits for the specified number of bytes to be sent by the device (default: 0).</li> |
| 193 |
<li><b>Values</b>: Number of data values sent by the device (default: 1)</li> |
| 194 |
<li><b>Timeout</b>: Minimal timeout between data readings (device dependent).</li> |
| 195 |
</ul> |
| 196 |
</p> |
| 197 |
<p class="item_2">Data source device</p> |
| 198 |
<p class="anleitung" style="margin-bottom: 0"> |
| 199 |
Besides digital multimeters other measuring devices with serial communication can be used in Galvani. The device being chosen only the interface must be selected. |
| 200 |
<br>This version of Galvani supports the following devices: |
| 201 |
<ul class="anleitung"> |
| 202 |
<li>pH meter Lutron PH-207</li> |
| 203 |
</ul> |
| 204 |
</p> |
| 205 |
|
| 206 |
|
| 207 |
<br><br clear="all"> |
| 208 |
</body> |
| 209 |
</html> |