areaDetector  3-5-0
EPICS areaDetector framework
Classes | Macros
NDPluginAttrPlot.h File Reference
#include "CircularBuffer.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
 
#define NDATTRPLOT_LAST_PARAM   NDAttrPlotNPts
 
#define NUM_NDATTRPLOT_PARAMS
 

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

◆ NDATTRPLOT_LAST_PARAM

#define NDATTRPLOT_LAST_PARAM   NDAttrPlotNPts

◆ 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"

◆ NUM_NDATTRPLOT_PARAMS

#define NUM_NDATTRPLOT_PARAMS
Value:
#define NDATTRPLOT_FIRST_PARAM
Definition: NDPluginAttrPlot.h:144
#define NDATTRPLOT_LAST_PARAM
Definition: NDPluginAttrPlot.h:150