ISIS Logo
ECLAB
An EPICS support module to export potentiostat values as process variables
Static Public Member Functions | Static Public Attributes | List of all members
ECLabInterface Struct Reference

Wraps all of the ECLab BL_* function in an interface class that converts the error code into an exception. More...

#include <ECLabInterface.h>

Static Public Member Functions

static void GetLibVersion (char *pVersion, unsigned int *psize)
 
static void Connect (const char *address, uint8 TimeOut, int *pID, TDeviceInfos_t *pInfos)
 
static void testConnect (int ID)
 
static void Disconnect (int ID)
 
static void LoadFirmware (int ID, uint8 *pChannels, int *pResults, uint8 Length, bool ShowGauge, bool ForceReload, const char *BinFile, const char *XlxFile)
 
static void LoadTechnique (int ID, uint8 channel, char *pFName, TEccParams_t Params, bool FirstTechnique, bool LastTechnique, bool DisplayParams)
 
static void GetChannelInfos (int ID, uint8 ch, TChannelInfos_t *pInfos)
 
static void StopChannel (int ID, uint8 channel)
 
static void StartChannel (int ID, uint8 channel)
 
static bool IsChannelPlugged (int ID, uint8 ch)
 
static void GetCurrentValues (int ID, uint8 channel, TCurrentValues_t *pValues)
 
static void UpdateParameters (int ID, uint8 channel, int TechIndx, TEccParams_t Params, const char *EccFileName)
 
static void GetData (int ID, uint8 channel, TDataBuffer_t *pBuf, TDataInfos_t *pInfos, TCurrentValues_t *pValues)
 
static void SetExperimentInfos (int ID, uint8 channel, TExperimentInfos_t TExpInfos)
 
static void GetExperimentInfos (int ID, uint8 channel, TExperimentInfos_t *TExpInfos)
 

Static Public Attributes

static bool BLSIM = false
 

Detailed Description

Wraps all of the ECLab BL_* function in an interface class that converts the error code into an exception.

Definition at line 64 of file ECLabInterface.h.

Member Function Documentation

static void ECLabInterface::Connect ( const char *  address,
uint8  TimeOut,
int *  pID,
TDeviceInfos_t *  pInfos 
)
inlinestatic

Definition at line 73 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabDriver().

static void ECLabInterface::Disconnect ( int  ID)
inlinestatic

Definition at line 83 of file ECLabInterface.h.

References BL_CALL.

static void ECLabInterface::GetChannelInfos ( int  ID,
uint8  ch,
TChannelInfos_t *  pInfos 
)
inlinestatic

Definition at line 99 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabValuesTask().

static void ECLabInterface::GetCurrentValues ( int  ID,
uint8  channel,
TCurrentValues_t *  pValues 
)
inlinestatic

Definition at line 126 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabValuesTask().

static void ECLabInterface::GetData ( int  ID,
uint8  channel,
TDataBuffer_t *  pBuf,
TDataInfos_t *  pInfos,
TCurrentValues_t *  pValues 
)
inlinestatic

Definition at line 136 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabDataTask().

static void ECLabInterface::GetExperimentInfos ( int  ID,
uint8  channel,
TExperimentInfos_t *  TExpInfos 
)
inlinestatic

Definition at line 146 of file ECLabInterface.h.

References BL_CALL.

static void ECLabInterface::GetLibVersion ( char *  pVersion,
unsigned int *  psize 
)
inlinestatic

Definition at line 68 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabDriver().

static bool ECLabInterface::IsChannelPlugged ( int  ID,
uint8  ch 
)
inlinestatic

Definition at line 114 of file ECLabInterface.h.

References BLSIM.

Referenced by ECLabDriver::ECLabDataTask(), and ECLabDriver::ECLabValuesTask().

static void ECLabInterface::LoadFirmware ( int  ID,
uint8 *  pChannels,
int *  pResults,
uint8  Length,
bool  ShowGauge,
bool  ForceReload,
const char *  BinFile,
const char *  XlxFile 
)
inlinestatic

Definition at line 88 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabDriver().

static void ECLabInterface::LoadTechnique ( int  ID,
uint8  channel,
char *  pFName,
TEccParams_t  Params,
bool  FirstTechnique,
bool  LastTechnique,
bool  DisplayParams 
)
inlinestatic

Definition at line 94 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::writeOctet().

static void ECLabInterface::SetExperimentInfos ( int  ID,
uint8  channel,
TExperimentInfos_t  TExpInfos 
)
inlinestatic

Definition at line 141 of file ECLabInterface.h.

References BL_CALL.

static void ECLabInterface::StartChannel ( int  ID,
uint8  channel 
)
inlinestatic

Definition at line 109 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::writeInt32().

static void ECLabInterface::StopChannel ( int  ID,
uint8  channel 
)
inlinestatic

Definition at line 104 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::writeInt32().

static void ECLabInterface::testConnect ( int  ID)
inlinestatic

Definition at line 78 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::ECLabDriver().

static void ECLabInterface::UpdateParameters ( int  ID,
uint8  channel,
int  TechIndx,
TEccParams_t  Params,
const char *  EccFileName 
)
inlinestatic

Definition at line 131 of file ECLabInterface.h.

References BL_CALL.

Referenced by ECLabDriver::writeInt32().

Member Data Documentation

bool ECLabInterface::BLSIM = false
static

Definition at line 66 of file ECLabInterface.h.

Referenced by ECLabDriver::ECLabDriver(), and IsChannelPlugged().


The documentation for this struct was generated from the following files:
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5