Analog I/O Demo 4 -- Basic digital to analog converter ================================================================================== In this demo, we set the DAC to different voltages (their maximum, minimum and then zero). The argument ``channelVoltages`` of ``Datapixx('SetDacVoltages', channelVoltages);`` must be a 2 dimensions matrix with information: [channel numbers; channel voltages]. .. Note:: You can only use ADC/DAC with the full version of a device; the lite version does not have ADC/DAC capabilities. .. literalinclude:: ../DatapixxToolbox/DatapixxDemos/DatapixxDacBasicDemo.m :language: matlab :emphasize-lines: 23, 38, 39 :linenos: