|
quadEM
7-0
|
#include <stdlib.h>#include <string.h>#include <stdio.h>#include <errno.h>#include <math.h>#include <epicsTypes.h>#include <epicsTime.h>#include <epicsThread.h>#include <epicsString.h>#include <epicsTimer.h>#include <epicsMutex.h>#include <epicsEvent.h>#include <asynOctetSyncIO.h>#include <iocsh.h>#include <epicsExport.h>#include "drvAHxxx.h"Macros | |
| #define | AHxxx_TIMEOUT 0.05 |
| #define | MIN_INTEGRATION_TIME 0.001 |
| #define | MAX_INTEGRATION_TIME 1.0 |
Functions | |
| int | drvAHxxxConfigure (const char *portName, const char *QEPortName, int ringBufferSize, const char *modelName) |
| EPICS iocsh callable function to call constructor for the drvAHxxx class. More... | |
| void | drvAHxxxRegister (void) |
| epicsExportRegistrar (drvAHxxxRegister) | |
| #define AHxxx_TIMEOUT 0.05 |
| #define MAX_INTEGRATION_TIME 1.0 |
| #define MIN_INTEGRATION_TIME 0.001 |
| int drvAHxxxConfigure | ( | const char * | portName, |
| const char * | QEPortName, | ||
| int | ringBufferSize, | ||
| const char * | modelName | ||
| ) |
EPICS iocsh callable function to call constructor for the drvAHxxx class.
| [in] | portName | The name of the asyn port driver to be created. |
| [in] | QEPortName | The name of the asyn communication port to the AHxxx created with drvAsynIPPortConfigure or drvAsynSerialPortConfigure. |
| [in] | ringBufferSize | The number of samples to hold in the input ring buffer. This should be large enough to hold all the samples between reads of the device, e.g. 1 ms SampleTime and 1 second read rate = 1000 samples. If 0 then default of 2048 is used. |
| [in] | modelName | The model of electrometer. It is too difficult to try to determine this from the firmware version number, so it must be specified. Allowed values are: "AH401B", "AH401D", "AH501", "AH501BE", "AH501C", and "AH501D". |
| void drvAHxxxRegister | ( | void | ) |
| epicsExportRegistrar | ( | drvAHxxxRegister | ) |
1.8.5