class HVchannel1469 : public HVchannel

Class that corresponds to a PHENIX HV channel for a module of type 1469

Inheritance:


Public Methods

HVbulkSupply* getBulkSupply()
Returns a pointer to the bulk supply that controls this channel
bool hasBulkSupply()
Returns true if it has a bulk supply
HVchannel1469( const char *Name, const char *Type, HVmodule *pMyModule = NULL )
Constructor for a named channel of a given type
HVchannel1469( const char *Name, const char *Type, HVmodule *pMyModule, ooHandle( dbHVchannel) me )
Constructor in case we instatiate the object from the database (ooHandle dbHVchannel)
void setBulkSupply( HVbulkSupply *pSupply )
Establishes the control between a bulk supply and the channel (NOTE: this is not done in the ctor )

Public

Member functions that avoid access to non-modifiyable parameters
int getDemandVoltage( double &)
no demand voltage
int getRampUpRate( double &)
no up ramp rate
int getRampDownRate( double &)
no ramp down rate
int getMeasuredVoltageDeadZone( double &)
no MVDZ
int setDemandVoltage( double )
no demand voltage
int setRampUpRate( double )
no up ramp rate
int setRampDownRate( double )
no ramp down rate
int setMeasuredVoltageDeadZone( double )
no MVDZ
overloaded operation for reading/setting setPoints and readbacks
int setSetpoint(HVsetpoint &values )
to set all important values
int getSetpoint( HVsetpoint &values )
to read back all setpoints
int getReadback( HVreadback &values )
to read back all important values

Inherited from HVchannel:

Public Methods

static int getChannelNbFromName( const char * pcName )
virtual int getPeakCurrent(double& dPeakCurrent)
virtual int getPeakTripCurrent(double& dPeakTripCurrent)
virtual int getRampTripEnable(bool& bRTE)
inline short getTripCount()
short incTripCount()
virtual bool is1471()
virtual bool isBulkSupply()
short resetTripCount()
virtual int setPeakTripCurrent(double dPeakTripCurrent)
virtual int setRampTripEnable(bool bRTE)

Public

Member functions for database access

virtual int storeReadback( const HVreadback &ReadbackToStore, struct tm *theTime = NULL )
to store a readback in the database
virtual int storeSetpoint( const HVsetpoint &SetpointToStore, struct tm *theTime = NULL )
to store a setpoint in the database

Inherited from rtHVchannel:

Public Methods

HVmodule* getModule()
pstring getName()
pstring getType()

Public

Reading values from the EPICS IOC record

virtual int getReadback( HVreadback &values )
to read back all important values
virtual int getSetpoint( HVsetpoint &values )
to read back all setpoints
int getCurrent( double& dCurrent )
Measured current [microAmp]
int getVoltage( double& dVoltage )
Measured voltage [Volt]
virtual int getDemandVoltage( double& dVoltage )
Demand voltage [Volt]
virtual int getRampUpRate( double& dVoltage )
Ramp up rate [Volt/sec]
virtual int getRampDownRate( double& dVoltage )
Ramp down rate [Volt/sec]
int getTripCurrent( double& dVoltage )
Trip Current in [microAmp]
int getEnabled( bool& bEnabled )
Returns true if the channel is enabled
int getChannelStatus( int& iStatus )
Returns the channel status as read from the hardware itself
virtual int getMeasuredVoltageDeadZone( double& dVoltage )
Measured Voltage dead zone [Volt]
int getMeasuredCurrentDeadZone( double& dCurrent )
Measured current dead zone [Volt]
int getHighVoltageLimit( double& dVoltage )
The (hardware) imposed high voltage limit (as given by the potentiometer)

Writing values into the EPICS IOC record

virtual int setSetpoint(HVsetpoint &values )
to set all important values
int Enable()
Enables the channel
int Disable()
Disables the channel
virtual int setDemandVoltage( double dVoltage )
Demand voltage [Volt]
virtual int setRampUpRate( double dRampRate )
Ramp up rate [Volt/sec]
virtual int setRampDownRate( double dRampRate )
Ramp down rate [Volt/sec]
int setTripCurrent( double dTripCurrent )
Trip Current in [microAmp]
virtual int setMeasuredVoltageDeadZone( double dVoltage )
Measured Voltage dead zone [Volt]
int setMeasuredCurrentDeadZone( double dVoltage )
Measured current dead zone [Volt]

Inherited from GenEpicsDevice:

Public

Reading values from EPICS records in the IOC

long getByteValue( char* pcName, char& aChar )
Reads a byte
long getStringValue( char* pcName, char *aString )
Reads a string
long getShortValue( char* pcName, short& aShort )
Reads a short
long getLongValue( char* pcName, long& aLong )
Reads a long
long getFloatValue( char* pcName, float& aFloat )
Reads a float
long getDoubleValue( char* pcName, double& aDouble )
Reads a double

Writing values into EPICS records in the IOC

static long putByteValue( char* pcName, char aChar )
Writes a byte
static long putStringValue( char* pcName, char *aString )
Writes a string
static long putShortValue( char* pcName, short aShort )
Writes a short
static long putLongValue( char* pcName, long aLong )
Writes a long
static long putFloatValue( char* pcName, float aFloat )
Writes a float
static long putDoubleValue( char* pcName, double aDouble )
Writes a double

Inherited from dbHVinterface:

Public Methods

static void selectDB( dbHV *pHVDB )

Protected Fields

static dbHV* pDB

Documentation

Class that corresponds to a PHENIX HV channel for a module of type 1469. These modules have several bulk supplies that drive a set of channels. Not every operation can be executed on the individual channel, eg the bulk supply has one demandVoltage which then puts every channel at this voltage. This is implemented through inheritance, where the member function setDemandVoltage is a virtual function of the object HVchannel and redifined in HVchannel1469 to return hvcModuleHasNoSuchFunction.

MODIFICATIONS:

HVchannel1469( const char *Name, const char *Type, HVmodule *pMyModule = NULL )
Constructor for a named channel of a given type

HVchannel1469( const char *Name, const char *Type, HVmodule *pMyModule, ooHandle( dbHVchannel) me )
Constructor in case we instatiate the object from the database (ooHandle dbHVchannel)

bool hasBulkSupply()
Returns true if it has a bulk supply

void setBulkSupply( HVbulkSupply *pSupply )
Establishes the control between a bulk supply and the channel (NOTE: this is not done in the ctor )

HVbulkSupply* getBulkSupply()
Returns a pointer to the bulk supply that controls this channel

Member functions that avoid access to non-modifiyable parameters

int getDemandVoltage( double &)
no demand voltage

int getRampUpRate( double &)
no up ramp rate

int getRampDownRate( double &)
no ramp down rate

int getMeasuredVoltageDeadZone( double &)
no MVDZ

int setDemandVoltage( double )
no demand voltage

int setRampUpRate( double )
no up ramp rate

int setRampDownRate( double )
no ramp down rate

int setMeasuredVoltageDeadZone( double )
no MVDZ

overloaded operation for reading/setting setPoints and readbacks

int setSetpoint(HVsetpoint &values )
to set all important values

int getSetpoint( HVsetpoint &values )
to read back all setpoints

int getReadback( HVreadback &values )
to read back all important values


This class has no child classes.
Author:
C.Witzig
Date: Jan 26, 99
Version:
Last update Jan 26, 1999

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de