|
| mar345 (const char *portName, const char *mar345Port, int maxBuffers, size_t maxMemory, int priority, int stackSize) |
| Constructor for mar345 driver; most parameters are simply passed to ADDriver::ADDriver. More...
|
|
virtual asynStatus | writeInt32 (asynUser *pasynUser, epicsInt32 value) |
| Called when asyn clients call pasynInt32->write(). More...
|
|
virtual void | setShutter (int open) |
| Set the shutter position. More...
|
|
virtual void | report (FILE *fp, int details) |
| Report status of the driver. More...
|
|
void | mar345Task () |
| Should be private but accessed from C, must be public. More...
|
|
| ADDriver (const char *portName, int maxAddr, int numParams, int maxBuffers, size_t maxMemory, int interfaceMask, int interruptMask, int asynFlags, int autoConnect, int priority, int stackSize) |
| All of the arguments are simply passed to the constructor for the asynNDArrayDriver base class, except numParams. More...
|
|
virtual asynStatus | connect (asynUser *pasynUser) |
| Connects driver to device; This method is called when the driver's pasynCommon->connect() function is called. More...
|
|
| asynNDArrayDriver (const char *portName, int maxAddr, int maxBuffers, size_t maxMemory, int interfaceMask, int interruptMask, int asynFlags, int autoConnect, int priority, int stackSize) |
| This is the constructor for the asynNDArrayDriver class. More...
|
|
virtual | ~asynNDArrayDriver () |
|
virtual asynStatus | writeOctet (asynUser *pasynUser, const char *value, size_t maxChars, size_t *nActual) |
| Called when asyn clients call pasynOctet->write(). More...
|
|
virtual asynStatus | readGenericPointer (asynUser *pasynUser, void *genericPointer) |
| This method copies an NDArray object from the asynNDArrayDriver to an NDArray pointer passed in by the caller. More...
|
|
virtual asynStatus | writeGenericPointer (asynUser *pasynUser, void *genericPointer) |
| This method currently does nothing, but it should be implemented in this base class. More...
|
|
virtual asynStatus | setIntegerParam (int index, int value) |
| Sets the value for an integer in the parameter library. More...
|
|
virtual asynStatus | setIntegerParam (int list, int index, int value) |
| Sets the value for an integer in the parameter library. More...
|
|
virtual asynStatus | createFilePath (const char *path, int pathDepth) |
| Function to create a directory path for a file. More...
|
|
virtual asynStatus | checkPath () |
| Checks whether the directory specified NDFilePath parameter exists. More...
|
|
virtual bool | checkPath (std::string &filePath) |
| Checks whether the directory specified exists. More...
|
|
virtual asynStatus | createFileName (int maxChars, char *fullFileName) |
| Build a file name from component parts. More...
|
|
virtual asynStatus | createFileName (int maxChars, char *filePath, char *fileName) |
| Build a file name from component parts. More...
|
|
virtual asynStatus | readNDAttributesFile () |
| Create this driver's NDAttributeList (pAttributeList) by reading an XML file This clears any existing attributes from this drivers' NDAttributeList and then creates a new list based on the XML file. More...
|
|
virtual asynStatus | getAttributes (NDAttributeList *pAttributeList) |
| Get the current values of attributes from this driver and appends them to an output attribute list. More...
|
|
virtual void | updateTimeStamps (NDArray *pArray) |
|
asynStatus | incrementQueuedArrayCount () |
|
asynStatus | decrementQueuedArrayCount () |
|
int | getQueuedArrayCount () |
|
void | updateQueuedArrayCount () |
|
Driver for mar345 online image plate detector; communicates with the mar345dtb program over a TCP/IP socket.
The mar345dtb program must be running and must be configured to listen for commands on a socket. This is done by adding a line like the following to the file /home/mar345/tables/config.xxx (where xxx is the detector serial number) COMMAND PORT 5001 In this example 5001 is the TCP/IP port number that the mar345dtb and this driver will use to communicate.