# Galvani manual

- Start
- Menu
- Toolbar
- Settings
- Performing measurements
- Data evaluation
- Files and folders

## The measurement process

Galvani supports communication to the instrument over a serial (RS232C) or USB (USB-TMC) interface. In order to communicate to the device the user must have access to these interfaces.
A common way to achieve this for the serial interface is to add the user to the group dialout:
sudo usermod -aG dialout [username].
For an USB interface a file "usbtmc.rules" can be generated in /etc/udev/rules.d/:
# Devices
KERNEL=="usb/*", MODE="0660", GROUP="plugdev"
KERNEL=="usbtmc[0-9]*", MODE="0660", GROUP="plugdev"
In that way the interface is writable by the group plugdev. If necessary the user can be added to this group:
sudo usermod -aG plugdev [username].

Typically the workflow of a measurement procedure is as following:

1. Connect the device to the computer over the serial or USB interface (/dev/ttyS0 ... S3, /dev/ttyUSB0 etc.)
2. Generate a new project and configure it.
3. Adjust the settings for the data channels. Parameters of connected devices can be read from file or configured manually.
   If the device is controlled over the serial interface, turn on the switch Remote setup and select measurement function and range.
4. Choose the diagram options if necessary.
5. Begin a new measurement (menu Measurement / New measurement or toolbutton ).
6. Start the measurement procedure (menu Measurement / Start measurement or toolbutton or press return key).
7. Stop the measurement (menu Measurement / Stop measurement or toolbutton or press space key).
8. Evaluate measurement data.
9. Save measurement data (menu File / Save or toolbutton ).
10. Terminate measurement (menu Measurement / End measurement or toolbutton ).