Send a voltage signal from 0 to 5 V through a NI-DAQ for controlling an electrically tunable lens (ETL).
1. Set manually the output voltage by using a knob or a text box.
2. Add voltage values to the table.
3. Indicate the total number of frames to acquire.
4. Press start.
The program will set the output voltage with the first value on the table, then it will wait to an input signal from the imaging system (end-of-frame TTL) for changing to the next voltage value of the table, and so on. When it finish the values of the table, is started again with the first and so on.
You need a NI-DAQ to send an analog output to the ETL current amplifier and to read an end-of-frame TTL signal from the imaging system.
Jesus Perez (2021). ETL controller for volumetric imaging (https://www.mathworks.com/matlabcentral/fileexchange/78245-etl-controller-for-volumetric-imaging), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!