class rtHVchannel : public GenEpicsDevice

Class that encapsulates a "real time" HV channel

Inheritance:


Public Methods

HVmodule* getModule()
Returns a pointer to the HV module [or NULL if created without specifing it]
pstring getName()
Returns the name of the channel
pstring getType()
Returns the type of the channel
rtHVchannel( const char *Name, const char *Type, HVmodule *pModule = NULL )
Constructor for a named channel of a given type
~rtHVchannel()
Destructor

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

Documentation

Class that encapsulates a "real time" HV channel. Its purpose is to allow access to a PHENIX HV channels in real time, i.e. the individual HV channels that are controlled by EPICS.

The EPICS extension ezca (easy channel access) is used to access the EPICS database in the IOC.

Note: Currently we only support 1461Nmod104 modules and will have to add the others later.

MODIFICATIONS:

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

~rtHVchannel()
Destructor

pstring getName()
Returns the name of the channel

pstring getType()
Returns the type of the channel

HVmodule* getModule()
Returns a pointer to the HV module [or NULL if created without specifing it]

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]


Direct child classes:
HVchannel
Author:
C.Witzig
Date: July 6, 98
Version:
Last update Jan 21, 98

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