The jetimeas function triggers a measurement of a JETI specbos spectroradiometer. Use at your own risk, see license.
See also: jeticon, jetiaim, jetioff
Usage:
data = jetimeas(jeti,mode,time,n)
Where:
Parameter | Description |
jeti | Is the serial connection object. |
mode | Defines the operation mode: ‘spec’ for spectral power distribution (SPD) data ‘values’ for derived values from the SPD |
time | Sets the integration time for the measurement in ms. If not provided the device will automaticly adjust the integration time. |
n | Defines the number of measurements, default = 1. |
Examples
Connect to JETI specbos and perform SPD measurement:
s = serialportlist; % assuming only JETI is connected jeti = jeticon(s); spec = jetimeas(jeti,'spec') plotspec(380:780,spec)
Perform measurement and receive derived values:
spec = jetimeas(jeti,'values')