Difference between revisions of "DAC"

From ArmadeusWiki
Jump to: navigation, search
(move installation)
(Usage)
Line 5: Line 5:
  
 
==Usage==
 
==Usage==
to set the DAC use the '''setDAC''' command:
+
To set the DAC outputs to a given value, use the ''setDAC'' command:
 +
<pre class="apf">
 
  # setDAC
 
  # setDAC
 
   
 
   
Line 16: Line 17:
 
   If no VALUE is given, then the output is powered down
 
   If no VALUE is given, then the output is powered down
 
  ##
 
  ##
 +
</pre>
  
'''!! Do not forget to connect a voltage reference for the DAC !!'''
+
{{Warning|Do not forget to connect a voltage reference for the DAC !!}}
  
 
==Links==
 
==Links==

Revision as of 17:40, 4 August 2009

The Max5821L DAC can be controlled from the user space by using the setDAC function.

Installation

Not needed on latest versions (> Armadeus 3.0). Informations are kept here.

Usage

To set the DAC outputs to a given value, use the setDAC command:

 # setDAC
 
 ##Usage: setDAC OUTPUT [VALUE]
 power down or set DAC output with value 0 - 1023
 
  OUTPUT is A , B or AB (both)
  VALUE must be 0 - 1023
 
  If no VALUE is given, then the output is powered down
 ##
Warning Warning: Do not forget to connect a voltage reference for the DAC !!


Links