8 #ifndef _ADCAMERALINK_H 9 #define _ADCAMERALINK_H 11 #include <epicsEvent.h> 12 #include <epicsMutex.h> 13 #include <epicsTime.h> 14 #include <epicsTimer.h> 27 ADCameralink(
const char *portName,
const char *ADCameralinkPort,
28 int numparams,
int maxBuffers,
size_t maxMemory,
int priority,
35 virtual void report(FILE *fp,
int details);
36 void getImageTask(
int arg);
44 virtual void oneLoopImage(
void);
47 virtual void processNewImage(
void *img_ptr);
48 virtual void keepHouse(
void);
49 void grabberSetup(
int function);
66 #define FIRST_ADCameralink_PARAM ADCameralink_first 133 #define LAST_ADCameralink_PARAM ADCameralink_last 137 virtual void grabSerialMutex(
void);
138 virtual void releaseSerialMutex(
void);
139 virtual void grabGrabberMutex(
void);
140 virtual void releaseGrabberMutex(
void);
142 virtual void setDebuggingMessage(
int level);
144 virtual int getSemaphore(
void);
146 virtual void incSemaphore(
void);
150 int getIntParam(
int param);
179 #define NUM_ADCameralink_PARAMS \ 180 (&LAST_ADCameralink_PARAM - &FIRST_ADCameralink_PARAM + 1) virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value)
Sets an int32 parameter.
Definition: ADDriver.cpp:114
Class from which areaDetector drivers are directly derived.
Definition: ADDriver.h:141
epicsEventId startEventId
Definition: ADCameralink.h:159
unsigned int last_timestamp
Definition: ADCameralink.h:61
int total_missed_frames
Definition: ADCameralink.h:95
Definition: ADCameralink.h:135
int cor_check_timestamps
Definition: ADCameralink.h:101
The NDArrayPool class manages a free list (pool) of NDArray objects.
Definition: NDArray.h:161
int ADCameralink_last
Definition: ADCameralink.h:132
Virtual class to represent any vendor frame grabber.
Definition: grabberInterface.h:13
int recent_missed_frames
Definition: ADCameralink.h:96
int is_trigpin0
Definition: ADCameralink.h:85
int cor_grabber_type
Definition: ADCameralink.h:125
epicsMutexId grabberMutex
Definition: ADCameralink.h:174
virtual asynStatus writeFloat64(asynUser *pasynUser, epicsFloat64 value)
Called when asyn clients call pasynFloat64->write().
Definition: asynPortDriver.cpp:2083
virtual void report(FILE *fp, int details)
Report status of the driver.
Definition: asynNDArrayDriver.cpp:679
int is_new_image
Definition: ADCameralink.h:70
int cor_cant_get_ndarray
Definition: ADCameralink.h:105
grabberInterface * cameralink_card
Definition: ADCameralink.h:56
virtual asynStatus getStringParam(int index, int maxChars, char *value)
Returns the value for a string from the parameter library.
Definition: asynPortDriver.cpp:1474
int words_read
Definition: ADCameralink.h:57
virtual asynStatus getDoubleParam(int index, double *value)
Returns the value for a double from the parameter library.
Definition: asynPortDriver.cpp:1449
int cor_sleep_ms
Definition: ADCameralink.h:72
list value
Definition: makeDbAndEdl.py:234
int size_x
Definition: ADCameralink.h:92
int is_loadccf
Definition: ADCameralink.h:82
int is_trigpin2
Definition: ADCameralink.h:87
int cor_est_buffers_left
Definition: ADCameralink.h:112
int cor_missed_ts_wait
Definition: ADCameralink.h:118
int operation_count
Definition: ADCameralink.h:94
NDArrayPool * array_pool
Definition: ADCameralink.h:168
AreaDetector Driver for general Camera Link cards.
Definition: ADCameralink.h:25
int cor_num_missed_timestamp
Definition: ADCameralink.h:117
int cor_max_ndbuffers
Definition: ADCameralink.h:106
int cor_ccf_filename
Definition: ADCameralink.h:81
epicsEventId imageEventId
Definition: ADCameralink.h:160
int cor_num_free_buffers
Definition: ADCameralink.h:103
epicsEventId stopEventId
This should be private but is accessed from C, must be public.
Definition: ADCameralink.h:40
int cor_is_sleep
Definition: ADCameralink.h:73
epicsMutexId serialMutex
Definition: ADCameralink.h:173
int cor_is_log
Definition: ADCameralink.h:69
int cor_frame_to_null
Definition: ADCameralink.h:128
int cor_max_ndmemory
Definition: ADCameralink.h:107
int cor_reset_buff_index
Definition: ADCameralink.h:123
int is_trigpin1
Definition: ADCameralink.h:86
int cor_num_ndbuffers
Definition: ADCameralink.h:109
int cor_use_image_mode
Definition: ADCameralink.h:120
epicsTimeStamp acqStartTime
Definition: ADCameralink.h:161
asynUser * pasynUserServer
Definition: ADCameralink.h:167
Class LOG_FILE.
Definition: logfile.h:38
int copy_memory
Definition: ADCameralink.h:90
int is_abort
Definition: ADCameralink.h:75
unsigned int ts_diff_last
Definition: ADCameralink.h:62
int is_freeze
Definition: ADCameralink.h:78
int cor_num_repeat_timestamp
Definition: ADCameralink.h:115
int is_acquire
Definition: ADCameralink.h:79
int is_snap
Definition: ADCameralink.h:76
int ADCameralink_first
Definition: ADCameralink.h:65
int cor_run_counter
Definition: ADCameralink.h:71
int num_coreco_buffers
Definition: ADCameralink.h:97
volatile int dbg_msg_level
Definition: ADCameralink.h:148
NDArray * pImageBitBucket
Definition: ADCameralink.h:165
volatile int semaphore_counter
Definition: ADCameralink.h:171
int cor_nd_datasize
Definition: ADCameralink.h:114
log_file lf
Definition: ADCameralink.h:176
int is_trigpin3
Definition: ADCameralink.h:89
int is_force_img_size
Definition: ADCameralink.h:98
int is_grab
Definition: ADCameralink.h:74
int last_coreco_param
Definition: ADCameralink.h:130
int cor_alloc_ndmemory
Definition: ADCameralink.h:110
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92
int is_dbg_viewer
Definition: ADCameralink.h:84
int collect_status
Definition: ADCameralink.h:91
int cor_free_ndbuffers
Definition: ADCameralink.h:108
epicsMutexId cntMutex
Definition: ADCameralink.h:172
int is_buffer_mode
Definition: ADCameralink.h:83
int cor_num_buffers
Definition: ADCameralink.h:104
int is_mult_width2
Definition: ADCameralink.h:100
int cor_is_running
Definition: ADCameralink.h:68
int size_y
Definition: ADCameralink.h:93
double last_time
Definition: ADCameralink.h:59
epicsTimerId timerId
Definition: ADCameralink.h:163
NDArray * pImage
Definition: ADCameralink.h:164
int is_acquire_num_frames
Definition: ADCameralink.h:80
epicsTimeStamp acqEndTime
Definition: ADCameralink.h:162