areaDetector  3-14
EPICS areaDetector framework
Classes | Macros
NDPluginAttrPlot.h File Reference
#include "CircularBuffer.h"
#include <NDPluginAPI.h>
#include <NDPluginDriver.h>
#include <epicsThread.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  ExposeDataTask
 A task that periodically executes the data exposure method of the plugin. More...
 
class  NDPluginAttrPlot
 AD plugin that saves attribute values from recieved NDArrays. More...
 

Macros

#define NDAttrPlotDataString   "AP_Data"
 NDAttrPlot.cpp. More...
 
#define NDAttrPlotDataLabelString   "AP_DataLabel"
 
#define NDAttrPlotDataSelectString   "AP_DataSelect"
 
#define NDAttrPlotAttributeString   "AP_Attribute"
 
#define NDAttrPlotResetString   "AP_Reset"
 
#define NDAttrPlotNPtsString   "AP_NPts"
 
#define ND_ATTRPLOT_UID_INDEX   -1
 
#define ND_ATTRPLOT_UID_LABEL   "UID"
 
#define ND_ATTRPLOT_NONE_INDEX   -2
 
#define ND_ATTRPLOT_NONE_LABEL   "None"
 
#define ND_ATTRPLOT_DATA_EXPOSURE_PERIOD   1.
 
#define NDATTRPLOT_FIRST_PARAM   NDAttrPlotData
 

Macro Definition Documentation

◆ ND_ATTRPLOT_DATA_EXPOSURE_PERIOD

#define ND_ATTRPLOT_DATA_EXPOSURE_PERIOD   1.

◆ ND_ATTRPLOT_NONE_INDEX

#define ND_ATTRPLOT_NONE_INDEX   -2

◆ ND_ATTRPLOT_NONE_LABEL

#define ND_ATTRPLOT_NONE_LABEL   "None"

◆ ND_ATTRPLOT_UID_INDEX

#define ND_ATTRPLOT_UID_INDEX   -1

◆ ND_ATTRPLOT_UID_LABEL

#define ND_ATTRPLOT_UID_LABEL   "UID"

◆ NDATTRPLOT_FIRST_PARAM

#define NDATTRPLOT_FIRST_PARAM   NDAttrPlotData

◆ NDAttrPlotAttributeString

#define NDAttrPlotAttributeString   "AP_Attribute"

◆ NDAttrPlotDataLabelString

#define NDAttrPlotDataLabelString   "AP_DataLabel"

◆ NDAttrPlotDataSelectString

#define NDAttrPlotDataSelectString   "AP_DataSelect"

◆ NDAttrPlotDataString

#define NDAttrPlotDataString   "AP_Data"

NDAttrPlot.cpp.

Plugin that caches NDAttribute values for an acquisition and exposes values of the selected ones to the EPICS layer periodically.

Relevant templates:

  • NDAttrPlot.template Base template for the plugin
  • NDAttrPlotData.template Records for data exposure, there should be max_selected instances loaded
  • NDAttrPlotAttr.template Records for attribute names, there should be max_attributes instances loaded

◆ NDAttrPlotNPtsString

#define NDAttrPlotNPtsString   "AP_NPts"

◆ NDAttrPlotResetString

#define NDAttrPlotResetString   "AP_Reset"