#include <AnalogOutputSubsystem.hpp>

Public Member Functions | |
| AnalogOutputSubsystem (USBDevice &parent) | |
| virtual | ~AnalogOutputSubsystem () |
| virtual std::ostream & | print (std::ostream &out) |
| int | getNumChannels () const |
| int | getRange () const |
| AnalogOutputSubsystem & | setRange (int range) |
| AnalogOutputSubsystem & | write (int channel, unsigned short counts) |
| AnalogOutputSubsystem & | write (const UShortArray &points) |
| AnalogOutputSubsystem & | writeVolts (int channel, double volts) |
| AnalogOutputSubsystem & | writeVolts (const OutputVoltagePointArray &points) |
| double | countsToVolts (unsigned short counts) const |
| DoubleArray | countsToVolts (const UShortArray &counts) const |
| unsigned short | voltsToCounts (double volts) const |
| UShortArray | voltsToCounts (const DoubleArray &volts) const |
Protected Attributes | |
| int | range |
| int | numChannels |
Static Protected Attributes | |
| static const int | MAX_COUNTS = 65535 |
| static const int | NUM_RANGES = 4 |
| static const double | daRange [][2] |
| AIOUSB::AnalogOutputSubsystem::AnalogOutputSubsystem | ( | USBDevice & | parent | ) |
| AIOUSB::AnalogOutputSubsystem::~AnalogOutputSubsystem | ( | ) | [virtual] |
| virtual std::ostream& AIOUSB::AnalogOutputSubsystem::print | ( | std::ostream & | out | ) | [virtual] |
Implements AIOUSB::DeviceSubsystem.
| int AIOUSB::AnalogOutputSubsystem::getNumChannels | ( | ) | const [inline] |
| int AIOUSB::AnalogOutputSubsystem::getRange | ( | ) | const [inline] |
| AnalogOutputSubsystem & AIOUSB::AnalogOutputSubsystem::setRange | ( | int | range | ) |
| AnalogOutputSubsystem & AIOUSB::AnalogOutputSubsystem::write | ( | int | channel, | |
| unsigned short | counts | |||
| ) |
| AnalogOutputSubsystem & AIOUSB::AnalogOutputSubsystem::write | ( | const UShortArray & | points | ) |
| AnalogOutputSubsystem & AIOUSB::AnalogOutputSubsystem::writeVolts | ( | int | channel, | |
| double | volts | |||
| ) |
| AnalogOutputSubsystem & AIOUSB::AnalogOutputSubsystem::writeVolts | ( | const OutputVoltagePointArray & | points | ) |
| double AIOUSB::AnalogOutputSubsystem::countsToVolts | ( | unsigned short | counts | ) | const |
| DoubleArray AIOUSB::AnalogOutputSubsystem::countsToVolts | ( | const UShortArray & | counts | ) | const |
| unsigned short AIOUSB::AnalogOutputSubsystem::voltsToCounts | ( | double | volts | ) | const |
| UShortArray AIOUSB::AnalogOutputSubsystem::voltsToCounts | ( | const DoubleArray & | volts | ) | const |
const int AIOUSB::AnalogOutputSubsystem::MAX_COUNTS = 65535 [static, protected] |
const int AIOUSB::AnalogOutputSubsystem::NUM_RANGES = 4 [static, protected] |
int AIOUSB::AnalogOutputSubsystem::range [protected] |
int AIOUSB::AnalogOutputSubsystem::numChannels [protected] |
const double AIOUSB::AnalogOutputSubsystem::daRange [static, protected] |
Initial value:
{
{ 0, 5 }
, { -5, 10 }
, { 0, 10 }
, { -10, 20 }
}
1.5.6