Implementation of ECLabDriver class and ECLabConfigure() iocsh command. More...
#include <stdlib.h>#include <string.h>#include <stdio.h>#include <errno.h>#include <math.h>#include <exception>#include <iostream>#include <map>#include <vector>#include <fstream>#include <algorithm>#include <epicsTypes.h>#include <epicsTime.h>#include <epicsThread.h>#include <epicsString.h>#include <epicsTimer.h>#include <epicsMutex.h>#include <epicsEvent.h>#include <errlog.h>#include <iocsh.h>#include <macLib.h>#include "BLFunctions.h"#include "ECLabInterface.h"#include "ECLabDriver.h"#include "ECLabParams.h"#include <epicsExport.h>Go to the source code of this file.
Functions | |
| int | ECLabConfigure (const char *portName, const char *ip) |
| The function is registered via EClabRegister(). More... | |
| static void | initCallFunc (const iocshArgBuf *args) |
| static void | ECLabRegister (void) |
| Register new commands with EPICS IOC shell. More... | |
| epicsExportRegistrar (ECLabRegister) | |
Variables | |
| static const char * | driverName ="ECLabDriver" |
| Name of driver for use in message printing. More... | |
| static const iocshArg | initArg0 = { "portName", iocshArgString} |
| A name for the asyn driver instance we will create - used to refer to it from EPICS DB files. More... | |
| static const iocshArg | initArg1 = { "ip", iocshArgString} |
| IP address used. More... | |
| static const iocshArg *const | initArgs [] = { &initArg0, &initArg1 } |
| static const iocshFuncDef | initFuncDef = {"ECLabConfigure", sizeof(initArgs) / sizeof(iocshArg*), initArgs} |
Implementation of ECLabDriver class and ECLabConfigure() iocsh command.
Definition in file ECLabDriver.cpp.
| int ECLabConfigure | ( | const char * | portName, |
| const char * | ip | ||
| ) |
The function is registered via EClabRegister().
| [in] | portName | A name for the asyn driver instance we will create - used to refer to it from EPICS DB files. |
Definition at line 636 of file ECLabDriver.cpp.
Referenced by initCallFunc().
|
static |
Register new commands with EPICS IOC shell.
Definition at line 664 of file ECLabDriver.cpp.
References initCallFunc().
| epicsExportRegistrar | ( | ECLabRegister | ) |
|
static |
Definition at line 658 of file ECLabDriver.cpp.
References ECLabConfigure().
Referenced by ECLabRegister().
|
static |
Name of driver for use in message printing.
Definition at line 41 of file ECLabDriver.cpp.
Referenced by ECLabDriver::ECLabDriver(), ECLabDriver::writeFloat64(), ECLabDriver::writeInt32(), and ECLabDriver::writeOctet().
|
static |
A name for the asyn driver instance we will create - used to refer to it from EPICS DB files.
Definition at line 652 of file ECLabDriver.cpp.
|
static |
IP address used.
Definition at line 653 of file ECLabDriver.cpp.
Definition at line 654 of file ECLabDriver.cpp.
|
static |
Definition at line 656 of file ECLabDriver.cpp.
1.8.5