Berkeley Nuclear Data Software
Public Member Functions | List of all members
ADAM6024Interface Class Reference

#include <ADAM6024Interface.h>

Public Member Functions

 ADAM6024Interface ()
 
int connect ()
 uses the internal settings to connect to the device More...
 
float getVoltage (int a_ch)
 returns the analog voltage of an ADC channel More...
 
void setVoltage (int a_ch, float a_voltage)
 sets the voltage of a given DAC More...
 

Detailed Description

this class implements basic functionality for reading and setting voltages from the analog IO on the adam 6024 using the upd ascii protocol see page 122 of the adam 6000 user manual

Constructor & Destructor Documentation

◆ ADAM6024Interface()

ADAM6024Interface::ADAM6024Interface ( )

default constructors sets up the internal class member variables appropriately for the one device the group currently has

Here is the call graph for this function:

Member Function Documentation

◆ connect()

int ADAM6024Interface::connect ( )

uses the internal settings to connect to the device

Here is the call graph for this function:

◆ getVoltage()

float ADAM6024Interface::getVoltage ( int  a_ch)

returns the analog voltage of an ADC channel

Here is the call graph for this function:

◆ setVoltage()

void ADAM6024Interface::setVoltage ( int  a_ch,
float  a_voltage 
)

sets the voltage of a given DAC

Here is the call graph for this function:

The documentation for this class was generated from the following files: