--------------------------------------------------------------- Field Type DCT Initial Access Modify Rec Proc PP Monitor --------------------------------------------------------------- VAL (See FTVL) No 0 Yes Yes Yes No PREC SHORT Yes 0 Yes Yes No No FTVL GBLCHOICE Yes 0 Yes No No INP INLINK Yes 0 No N/A EGU STRING Yes Null Yes Yes No No HOPR FLOAT Yes 0 Yes Yes No No LOPR FLOAT Yes 0 Yes Yes No No MALM ULONG Yes 1 Yes No No NELM ULONG Yes 1 Yes Yes No Yes INDX ULONG Yes 0 Yes Yes No Yes NORD LONG No 0 Yes No No BPTR NOACCESS No ---------------------------------------------------------------
------------------------------------------------------------------------------------------- Name Summary Description ------------------------------------------------------------------------------------------- VAL Value Field This is used to reference the sub-array. PREC Display Precision Precision with which to display VAL. This field is not used by record support other than to supply a value when get_precision is called. FTVL Field Type of Value This is DBF_STRING, ... ,DBF_ENUM. INP Input Link This field is used by the device support routines to obtain input. It can be a database link, or a channel access link. EGU Engineering Units ASCII string describing Engineering units. This field is used by record support to supply a units description string when get_units is called. HOPR High Operating Range These fields determine the upper and lower display limits for graphics displays and the upper and lower control limits for control displays. The fields are used by record support to honor calls to get_graphic_double or get_control_double. LOPR Low Operating Range MALM Maximum Number Of Generally this should be set to the NELM of the waveform Elements In Sub-array record being pointed to. NELM Number Of Elements In Sub-array INDX Index Into Referenced Index of (offset into) waveform record being referenced; Array used as first element of sub-array. NORD Number of Elements Number of elements that were read of the desired Read subarray. This could be less than NELM depending on INDX and the NELM of the referenced waveform record. BPTR Buffer Pointer Holds address of sub-array. -------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------- Name Summary Description --------------------------------------------------------------------------------------- PACT Processing Active See Chapter 2 Section "Database Common: Field Descriptions" on page 4 for descriptions. DPVT Device Private UDF VAL Undefined NSEV New Alarm Severity NSTA New Alarm Status INP Input Link This field is used by the device support routines to locate its input. FTVL Field Type of Value This is DBF_STRING, ... ,DBF_ENUM. The device support routine should check that this is correctly defined. MALM Maximum Number Number of elements that will fit in the array the record Of Elements In allocates. Device support must never return more Sub-array elements than this NELM Number Sub-array Number of elements in desired sub-array. Elements INDX Index Into Index of beginning of desired sub-array in source array. Referenced Array BPTR Buffer Pointer Address of array device support must copy the source array into. NORD Number Of Device support must set this value when it completes. Elements Read ---------------------------------------------------------------------------------------
report(FILE fp, paddr)Not currently used.
init()Not currently used.
init_record(precord)This routine is called by the record support init_record routine.
read_sa(precord)Enough of the source waveform is read into BPTR, from the beginning of the source, to include the requested sub-array. The sub-array is then copied to the beginning of the buffer. NORD is set to indicate how many elements of the sub-array were acquired.