This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-software:colorimeter [27 May 2015 11:38] – Drop things unrelated to the application itself Lars-Peter Clausen | resources:tools-software:linux-software:colorimeter [24 May 2018 13:35] (current) – Add an important note to close iio-osc before starting the app. Istvan Csomortani | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CN0363 Colorimeter Application User Guide ====== | ====== CN0363 Colorimeter Application User Guide ====== | ||
- | ===== Source code ===== | + | ===== Starting the Application |
- | The source code for the Colorimeter | + | <note important> |
+ | {{: | ||
+ | |||
+ | The CN0363 Colorimeter Application can be launched from the top-left **" | ||
+ | |||
+ | <WRAP clear></ | ||
===== Analyzing a Sample ===== | ===== Analyzing a Sample ===== | ||
The Colorimeter application has three main tabs [[# | The Colorimeter application has three main tabs [[# | ||
+ | |||
===== Automated Data Collection ===== | ===== Automated Data Collection ===== | ||
+ | |||
{{ : | {{ : | ||
Line 14: | Line 21: | ||
==== Analyze Sample ==== | ==== Analyze Sample ==== | ||
- | Clicking the **Analyze Sample** button will perform | + | Clicking the **Analyze Sample** button will perform |
Once the analyzing process has finished it is also possible to either try to match the sample to a existing sample from the sample library or save the sample into the sample library for future use. | Once the analyzing process has finished it is also possible to either try to match the sample to a existing sample from the sample library or save the sample into the sample library for future use. | ||
+ | |||
==== Match Sample ==== | ==== Match Sample ==== | ||
Clicking the **Match Sample** button will compare the current sample to all samples in the sample library. If a sample is found that has a close enough matching score the sample including its name and match score will be displayed. | Clicking the **Match Sample** button will compare the current sample to all samples in the sample library. If a sample is found that has a close enough matching score the sample including its name and match score will be displayed. | ||
+ | |||
==== Save Sample ==== | ==== Save Sample ==== | ||
Line 48: | Line 57: | ||
{{ : | {{ : | ||
- | The sample library allows to manage and compare previously saved sample data. On the left side is a list of all samples. On the right side the absorbence | + | The sample library allows to manage and compare previously saved sample data. On the left side is a list of all samples. On the right side the absorbance |
Samples can also be removed from the library by selecting the sample and then clicking the **Remove** button. A sample that has been removed from the library can not be restored. | Samples can also be removed from the library by selecting the sample and then clicking the **Remove** button. A sample that has been removed from the library can not be restored. | ||
Line 57: | Line 66: | ||
{{ : | {{ : | ||
- | For optimum performance it is necessary to calibrate the application to the connected board and the environment. This calibration can be performed in the calibration dialog which can be opened | + | For optimum performance it is necessary to calibrate the application to the connected board and the environment. This calibration can be performed in the calibration dialog which can be opened |
Calibration must be performed with distilled water in both the reference and the sample probes. It is also recommended that during calibration the photo-diodes are shielded from ambient light. | Calibration must be performed with distilled water in both the reference and the sample probes. It is also recommended that during calibration the photo-diodes are shielded from ambient light. | ||
Start the automatic calibration procedure in the software; from the Menu | Start the automatic calibration procedure in the software; from the Menu | ||
- | bar, open the **Calibration** dialog box, and click **Calibrate**.Once the calibration is done the calibration values will be updated. | + | bar, open the **Calibration** dialog box, and click **Calibrate**. Once the calibration is done the calibration values will be updated. |
It is also possible to save the current calibration data for later use by clicking the **Export** button or to load previously saved calibration data by clicking the **Import** button. | It is also possible to save the current calibration data for later use by clicking the **Export** button or to load previously saved calibration data by clicking the **Import** button. | ||
Line 68: | Line 77: | ||
Calibration data includes a zero-offset for each channel and gain setting, which removes any potential offset that is measured if no excitation signal is present. The calibration data also includes a gain factor which expresses the relative relationship of the reference and sample channel values at full-scale excitation. | Calibration data includes a zero-offset for each channel and gain setting, which removes any potential offset that is measured if no excitation signal is present. The calibration data also includes a gain factor which expresses the relative relationship of the reference and sample channel values at full-scale excitation. | ||
+ | ===== Source code ===== | ||
+ | |||
+ | The source code for the Colorimeter application can be found on the [[https:// | ||
+ | |||
+ | <div> | ||
+ | **Install colorimeter application** | ||
+ | < | ||
+ | < | ||
+ | Cloning into ' | ||
+ | remote: Counting objects: 65, done. | ||
+ | remote: Compressing objects: 100% (33/33), done. | ||
+ | remote: Total 65 (delta 13), reused 2 (delta 2), pack-reused 28 | ||
+ | Unpacking objects: 100% (65/65), done. | ||
+ | Checking connectivity... done. | ||
+ | $ make | ||
+ | cc -shared -o capture.so capture.c -liio -lm -Wall -Wextra -fPIC -std=gnu99 -pedantic -O3 | ||
+ | $ make install | ||
+ | sed ' | ||
+ | sed ' | ||
+ | root@analog: | ||
+ | install -d // | ||
+ | install -d // | ||
+ | install -d // | ||
+ | install ./ | ||
+ | install ./ | ||
+ | install ./ | ||
+ | ./setup.py install --prefix=/ | ||
+ | running install | ||
+ | running build | ||
+ | running build_py | ||
+ | copying lib/ | ||
+ | running install_lib | ||
+ | copying build/ | ||
+ | byte-compiling / | ||
+ | running install_egg_info | ||
+ | Removing / | ||
+ | Writing / | ||
+ | xdg-icon-resource install --noupdate --size 16 ./ | ||
+ | xdg-icon-resource install --noupdate --size 32 ./ | ||
+ | xdg-icon-resource install --size 64 ./ | ||
+ | xdg-desktop-menu install adi-colorimeter.desktop</ | ||
+ | </ | ||
+ | </ | ||
===== Supported Devices ===== | ===== Supported Devices ===== | ||
- | [[adi> | + | * [[adi> |
+ | |||
+ | ===== More Information ===== | ||
- | [[http:// | + | * [[:resources: |