jAER project on SourceForge

net.sf.jaer.biasgen.VDAC
Class DAC

java.lang.Object
  extended by net.sf.jaer.biasgen.VDAC.DAC

public class DAC
extends java.lang.Object

Describes a Digital to Analog Coverter (DAC).

Author:
tobi

Constructor Summary
DAC(int numChannels, int resolutionBits, float refMinVolts, float refMaxVolts, float vdd)
          Constructs a new DAC object which represents the DAC.
 
Method Summary
 int getNumChannels()
           
 float getRefMaxVolts()
           
 float getRefMinVolts()
           
 int getResolutionBits()
           
 float getResolutionVolts()
           
 float getVdd()
          Gets the largest possible voltage this DAC can output.
 void setNumChannels(int numChannels)
           
 void setRefMaxVolts(float refMaxVolts)
           
 void setRefMinVolts(float refMinVolts)
           
 void setResolutionBits(int resolutionBits)
           
 void setVdd(float vdd)
          Sets the largest possible voltage (the positive supply) this DAC can output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAC

public DAC(int numChannels,
           int resolutionBits,
           float refMinVolts,
           float refMaxVolts,
           float vdd)
Constructs a new DAC object which represents the DAC.

Parameters:
numChannels - number of output channels.
resolutionBits - resolution of each channel in bits.
refMinVolts - vref miniumum in volts (same for all channels).
refMaxVolts - vref max in volts (same for all channels).
vdd - the positive supply voltage (the largest voltage the DAC could output). A DAC may use an internal or external reference voltage such that some counts would output a voltage larger than vdd. VPot uses this vdd to limit its displayed voltage.
Method Detail

getResolutionVolts

public float getResolutionVolts()

getRefMinVolts

public float getRefMinVolts()

setRefMinVolts

public void setRefMinVolts(float refMinVolts)

getRefMaxVolts

public float getRefMaxVolts()

setRefMaxVolts

public void setRefMaxVolts(float refMaxVolts)

getResolutionBits

public int getResolutionBits()

setResolutionBits

public void setResolutionBits(int resolutionBits)

getNumChannels

public int getNumChannels()

setNumChannels

public void setNumChannels(int numChannels)

getVdd

public float getVdd()
Gets the largest possible voltage this DAC can output.


setVdd

public void setVdd(float vdd)
Sets the largest possible voltage (the positive supply) this DAC can output


jAER project on SourceForge