#include "gpib3988crate.hh" |
CRT::CrtGpib3988CamacCrate
class description - source file - inheritance tree (.ps)
public:
CRT::CrtGpib3988CamacCrate CrtGpib3988CamacCrate()
CRT::CrtGpib3988CamacCrate CrtGpib3988CamacCrate(const Char_t* inName, CRT::CrtGpib3988Board* inBoard)
CRT::CrtGpib3988CamacCrate CrtGpib3988CamacCrate(const CRT::CrtGpib3988CamacCrate&)
void ~CrtGpib3988CamacCrate()
virtual Int_t BlockRead(Int_t inIdent, Int_t inFunction, Int_t inCount, Int_t* outValue) const
virtual Int_t BlockSend(Int_t inIdent, Int_t inFunction, Int_t inCount, Int_t* inValue) const
static TClass* Class()
virtual void ClearInhibit() const
virtual Int_t GetIdentity(Int_t inBoardNumber, Int_t inSubAdress) const
virtual void GetStatus(Char_t* outBuffer) const
virtual void Initialize()
virtual TClass* IsA() const
virtual Int_t Read(Int_t inIdent, Int_t inFunction, Int_t* outValue) const
virtual Int_t Send(Int_t inIdent, Int_t inFunction, Int_t inValue) const
virtual void SetInhibit() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Int_t Test(Int_t inIdent, Int_t inFunction) const
private:
Int_t fOk equals 1 if initialization succeeded
CRT::CrtGpib3988Board* fBoard is the corresponding board object
Cosmic Ray Telescope Data Aquisition Software
Generic driver for a CAMAC crate.
Connection from a PC to the crate is done via the Kinetics GPIB 3988
crate controller
CrtGpib3988CamacCrate() : CrtCamacCrate()
default constructor
CrtGpib3988CamacCrate(const Char_t *inName, CrtGpib3988Board *inBoard)
: CrtCamacCrate(inName), fOk(0), fBoard(inBoard)
constructor
~CrtGpib3988CamacCrate()
destructor
Int_t GetIdentity(Int_t inBoardNumber, Int_t inSubAdress) const
calculates identity number for a crate/board/subadress number
void Initialize()
Int_t Send(Int_t inIdent, Int_t inFunction, Int_t inValue) const
executes a function on a specific card in the crate. It passes the
inValue to this function
return code is the Q response
Int_t Read(Int_t inIdent, Int_t inFunction, Int_t *outValue) const
executes a function on a specific card in the crate. It passes the
function return value to outValue.
return code is the Q response
Int_t Test(Int_t inIdent, Int_t inFunction) const
executes a test function on a specific card in the crate.
return code is the Q response
Int_t BlockSend(Int_t inIdent, Int_t inFunction, Int_t inCount, Int_t *inValue) const
same as send, but repeats the same function with increasing sub-addresses.
inCount defines the number of executions.
The return value will be the number of executions.
Please note: The inValue array has to have a length of at least the number
of channels
Int_t BlockRead(Int_t inIdent, Int_t inFunction, Int_t inCount, Int_t *outValue) const
same as read, but repeats the same function with increasing sub-addresses
as long as the Q response is 1 or increments the slot if the Q response is
0. inCount defines the number of executions.
The return value will be the number of executions.
Please note: The outValue array has to have a length of at least the number
of channels
void GetStatus(Char_t *outBuffer) const
void SetInhibit() const
sets crate inhibit
void ClearInhibit() const
clears crate inhibit
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
CRT::CrtGpib3988CamacCrate CrtGpib3988CamacCrate(const CRT::CrtGpib3988CamacCrate&)
Author: Thomas Hadig (Group EB SLAC Stanford CA USA)
Last update: $Date: 2003/08/22 22:31:11 $
Copyright Thomas Hadig, hadig@slac.stanford.edu
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.