#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "recGbl.h"
#include "cantProceed.h"
#include "epicsExport.h"
#include "epicsExit.h"
#include "epicsMutex.h"
#include "epicsThread.h"
#include "epicsString.h"
#include "ellLib.h"
#include "dbDefs.h"
#include "epicsPrint.h"
#include "alarm.h"
#include "dbAccess.h"
#include "devSup.h"
#include "dbEvent.h"
#include "dbFldTypes.h"
#include "errMdef.h"
#include "recSup.h"
#include "db_convert.h"
#include "dbScan.h"
#include "dbCa.h"
#include "waveformRecord.h"
#include "transferArrayRecord.h"
static long init_tarray_record |
( |
| ) |
|
|
static |
static long read_tarray_record |
( |
| ) |
|
|
static |
static long rec_error |
( |
transferArrayRecord * |
prec, |
|
|
long |
status, |
|
|
const char * |
pmsg |
|
) |
| |
|
static |
record error process
- Parameters
-
[in] | prec | The pointer to transferArrayRecord structure |
[in] | status | status code |
[in] | pmsg | The pointer to message to print console |
- Returns
- status is returned as it is
static long get_waveform_spec |
( |
transferArrayRecord * |
prec | ) |
|
|
static |
get specification of waveform
- Parameters
-
[in] | prec | The pointer to a transferArrayRecord structure |
- Return values
-
0 | End successful |
other | Error occurred |
static void* get_out_buff |
( |
transferArrayRecord * |
prec | ) |
|
|
static |
get pointer of buffer for out-link
- Parameters
-
[in] | prec | The pointer to transferArrayRecord structure |
- Returns
- The pointer to buffer
static void* get_inp_buff |
( |
transferArrayRecord * |
prec | ) |
|
|
static |
get pointer of buffer for inp-link
- Parameters
-
[in] | prec | The pointer to transferArrayRecord structure |
- Returns
- The pointer to buffer
static long init_tarray_record |
( |
transferArrayRecord * |
prec | ) |
|
|
static |
Initialization of a transferArray record.
- Parameters
-
[in] | prec | The pointer to transferArrayRecord structure |
- Return values
-
0 | End successful |
other | Error occurred |
static long get_inp_value |
( |
transferArrayRecord * |
prec, |
|
|
void * |
pBuffer, |
|
|
long |
nRequest, |
|
|
long * |
pnGet, |
|
|
size_t |
offset |
|
) |
| |
|
static |
Data read-out with offset specification.
- Parameters
-
[in] | prec | Pointer to transferArray record |
[in] | pBuffer | The pointer to a buffer space |
[in] | nRequest | The number of elements to read |
[out] | pnGet | The pointer to the read number of elements |
[in] | offset | Offset |
- Return values
-
0 | End successful |
other | Error occurred |
static long read_tarray_record |
( |
transferArrayRecord * |
prec | ) |
|
|
static |
Process for transferArray record.
- Parameters
-
[in] | prec | The pointer to transferArrayRecord structure |
- Return values
-
0 | Successful end |
other | Error occurred |
struct { ... } devTransferArray |
Initial value:= {
5,
NULL,
NULL,
NULL,
}
static long init_tarray_record()
static long read_tarray_record()