quadEM  7-0
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
 

Macro Definition Documentation

#define ND_ATTRPLOT_DATA_EXPOSURE_PERIOD   1.
#define ND_ATTRPLOT_NONE_INDEX   -2
#define ND_ATTRPLOT_NONE_LABEL   "None"
#define ND_ATTRPLOT_UID_INDEX   -1
#define ND_ATTRPLOT_UID_LABEL   "UID"
#define NDATTRPLOT_FIRST_PARAM   NDAttrPlotData
#define NDAttrPlotAttributeString   "AP_Attribute"
#define NDAttrPlotDataLabelString   "AP_DataLabel"
#define NDAttrPlotDataSelectString   "AP_DataSelect"
#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
#define NDAttrPlotNPtsString   "AP_NPts"
#define NDAttrPlotResetString   "AP_Reset"