HVchannel1471
class HVchannel1471 : public HVchannel
Class that corresponds to a PHENIX HV channel for a module
of type 1471
Inheritance:
Public Methods
-
HVchannel1471( const char *Name, const char *Type, HVmodule *pMyModule, ooHandle( dbHVchannel) me )
- Constructor in case we instatiate the object from the database (ooHandle dbHVchannel)
-
HVchannel1471( const char *Name, const char *Type, HVmodule *pMyModule = NULL )
- Constructor for a named channel of a given type
-
bool is1471()
- Returns true since this is a 1471 channel
Public
-
Member functions that are needed to get and set the properties unique to the 1471
-
-
int getRampTripEnable( bool& bRTE )
- get Ramp Trip Enable
-
int getPeakCurrent( double& dPeakCurrent )
- get Measured Peak Current
-
int getPeakTripCurrent( double& dPeakTripCurrent )
- get Measured Peak Current Trip
-
int setRampTripEnable( bool bRTE )
- set Ramp Trip Enable
-
int setPeakTripCurrent( double dPeakTripCurrent )
- set Peak Trip Current
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()
virtual bool hasBulkSupply()
short incTripCount()
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
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]
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
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 1471. These channels have 3 extra properties,
and so need three more 'get' functions and two more
'set' functions.MODIFICATIONS:
HVchannel1471( const char *Name, const char *Type, HVmodule *pMyModule = NULL )
- Constructor for a named channel of a given type
HVchannel1471( const char *Name, const char *Type, HVmodule *pMyModule, ooHandle( dbHVchannel) me )
- Constructor in case we instatiate the object from the database (ooHandle dbHVchannel)
bool is1471()
- Returns true since this is a 1471 channel
Member functions that are needed to get and set the properties unique to the 1471
int getRampTripEnable( bool& bRTE )
- get Ramp Trip Enable
int getPeakCurrent( double& dPeakCurrent )
- get Measured Peak Current
int getPeakTripCurrent( double& dPeakTripCurrent )
- get Measured Peak Current Trip
int setRampTripEnable( bool bRTE )
- set Ramp Trip Enable
int setPeakTripCurrent( double dPeakTripCurrent )
- set Peak Trip Current
- This class has no child classes.
- Author:
- R. Roth
Date: Mar 15, 99
- Version:
- Last update Mar 15, 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