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

#include <CAENHVModule.h>

Public Types

enum  ConnectionMethod { USB , TCP_IP }
 

Public Member Functions

 CAENHVModule ()
 the default constructor puts the class into and unconnected state More...
 
 CAENHVModule (ConnectionMethod a_conType, int a_portNum)
 this constructor attempts to put the class into a connected working state More...
 
void ConnectAndConfig ()
 
int getNumChannels ()
 returns the number of HV channels on the connected device
More...
 
int setChNames ()
 
void getChannelProp (std::string chName)
 
void setVoltage (std::string chName)
 
void getChannelVoltage (std::string chName)
 
void getAllVoltage (std::string chName) int getVmax()
 
int getImax ()
 

Detailed Description

this class is intended as an abstract interface to CAEN hv modules to simplify connection and parameterization

Member Enumeration Documentation

◆ ConnectionMethod

Enumerator
USB 
TCP_IP 

Constructor & Destructor Documentation

◆ CAENHVModule() [1/2]

CAENHVModule::CAENHVModule ( )

the default constructor puts the class into and unconnected state

◆ CAENHVModule() [2/2]

CAENHVModule::CAENHVModule ( ConnectionMethod  a_conType,
int  a_portNum 
)

this constructor attempts to put the class into a connected working state

Member Function Documentation

◆ ConnectAndConfig()

void CAENHVModule::ConnectAndConfig ( )

◆ getAllVoltage()

void CAENHVModule::getAllVoltage ( std::string  chName)

◆ getChannelProp()

void CAENHVModule::getChannelProp ( std::string  chName)

◆ getChannelVoltage()

void CAENHVModule::getChannelVoltage ( std::string  chName)

◆ getImax()

int CAENHVModule::getImax ( )

◆ getNumChannels()

int CAENHVModule::getNumChannels ( )

returns the number of HV channels on the connected device

◆ setChNames()

int CAENHVModule::setChNames ( )

◆ setVoltage()

void CAENHVModule::setVoltage ( std::string  chName)

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