#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include <exception>
#include <iostream>
#include <sstream>
#include <fstream>
#include <sys/stat.h>
#include <list>
#include <algorithm>
#include <iterator>
#include <vector>
#include <epicsTypes.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsString.h>
#include <epicsTimer.h>
#include <epicsMutex.h>
#include <epicsEvent.h>
#include <iocsh.h>
#include "instetcDriver.h"
#include <macLib.h>
#include <epicsGuard.h>
#include <epicsExport.h>
Go to the source code of this file.
|
#define | LEN_BUFFER 10024 /* needs to match size if char waveform in DB file */ |
|
|
static const char * | driverName ="instetcDriver" |
|
static const iocshArg | initArg0 = { "portName", iocshArgString} |
| The name of the asyn driver port we will create. More...
|
|
static const iocshArg | initArg1 = { "logFilePath", iocshArgString} |
| The path to the file we will monitor. More...
|
|
static const iocshArg | initArg2 = { "lineCount", iocshArgInt} |
| The number of log file lines to broadcast. More...
|
|
static const iocshArg | initArg3 = { "pollingPeriod", iocshArgDouble} |
| The number of seconds between file reads. More...
|
|
static const iocshArg *const | initArgs [] = { &initArg0, &initArg1, &initArg2, &initArg3 } |
|
static const iocshFuncDef | initFuncDef = {"instetcConfigure", sizeof(initArgs) / sizeof(iocshArg*), initArgs} |
|
#define LEN_BUFFER 10024 /* needs to match size if char waveform in DB file */ |
static void initCallFunc |
( |
const iocshArgBuf * |
args | ) |
|
|
static |
static int instetcConfigure |
( |
const char * |
portName, |
|
|
const char * |
logFilePath, |
|
|
const int |
lineCount, |
|
|
const double |
pollingPeriod |
|
) |
| |
|
static |
EPICS iocsh callable function to call constructor of lvDCOMInterface().
- Parameters
-
[in] | portName | The name of the asyn driver port we will create. |
Definition at line 157 of file instetcDriver.cpp.
Referenced by initCallFunc().
static void instetcRegister |
( |
void |
| ) |
|
|
static |
const char* driverName ="instetcDriver" |
|
static |
const iocshArg initArg0 = { "portName", iocshArgString} |
|
static |
const iocshArg initArg1 = { "logFilePath", iocshArgString} |
|
static |
const iocshArg initArg2 = { "lineCount", iocshArgInt} |
|
static |
const iocshArg initArg3 = { "pollingPeriod", iocshArgDouble} |
|
static |
const iocshFuncDef initFuncDef = {"instetcConfigure", sizeof(initArgs) / sizeof(iocshArg*), initArgs} |
|
static |