areaDetector  3-5-0
EPICS areaDetector framework
Functions
ADnEDAxis.c File Reference
#include <registryFunction.h>
#include <string.h>
#include <stdio.h>
#include <dbCommon.h>
#include <aSubRecord.h>
#include <epicsExport.h>
#include <cantProceed.h>

Functions

long ADnEDAxisInit (struct aSubRecord *psub)
 Functions for an aSub record to generate an array for an axis scale on a X/Y plot. More...
 
long ADnEDAxisProcess (struct aSubRecord *psub)
 
void ADnEDAxis (void)
 
 epicsExportRegistrar (ADnEDAxis)
 

Function Documentation

◆ ADnEDAxis()

void ADnEDAxis ( void  )

◆ ADnEDAxisInit()

long ADnEDAxisInit ( struct aSubRecord *  psub)

Functions for an aSub record to generate an array for an axis scale on a X/Y plot.

Matt Pearson March 2015.

The record definition should look something like:

///

/// INPA - Start value

/// INPB - Size of the desired scale array (must be <=NOVA)

/// INPC - Bin size

/// NOVA - Max size of the output array (cannot change)

///

record(aSub, "$(P)$(R)Det$(DET):TOF:XAxis") { field(INAM, "aSubInit") field(SNAM, "aSubProcess") field(PREC, "5") field(INPA, "$(P)$(R)Det$(DET):TOF:XAxis_Start") field(INPB, "$(P)$(R)Det$(DET):TOF:XAxis_Size") field(INPC, "$(P)$(R)Det$(DET):TOF:XAxis_Bin") field(FTA, "DOUBLE") field(FTB, "LONG") field(FTC, "DOUBLE") field(FTVA, "DOUBLE") field(NOVA, "$(TOFXSIZE)") <- this is the max size of the TOF waveform for DETX }

◆ ADnEDAxisProcess()

long ADnEDAxisProcess ( struct aSubRecord *  psub)

◆ epicsExportRegistrar()

epicsExportRegistrar ( ADnEDAxis  )