NEMC NCD Event MuxScope Calibrated Record
===============================
Contact: N. West, Oxford.
Revision History:-
================
5.00 N. McCauley First version
Description
-----------
This bank contains the Mux - Oscilloscope data and waveform for one channel,
after the calibration of the data (such as the log amp) has occured.
Reference Links
---------------
None.
Structural Links
----------------
None.
Status Bits
-----------
Note: Any status bit parameters are defined to work with bit functions such as
IAND and BTEST.
Data Words
----------
Data types: B(bit), I, F, D(double), H(hollerith 4 char)
+1 I KNEMC_STATUS 3-bit flag. Meaning if bit set:- See Note 1.
B0 Is associated with its parent NEMG Global Mux Record
B1 Contains data from the Multiplexer Record
=> words _MUX .. _BOX are defined.
B2 Contains data from the Scope/Scope Time records
=> words _CLK .. are defined
The following come from the Multiplexer Record
+2 I KNEMC_MUX_CHAN Channels that fired (12-bit hit register)
+3 I KNEMC_OS Oscilloscope Number
+4 I KNEMC_MUX_BUS Mux Controller Board Bus number.
The following come from the NQxx banks.
+5 I KNEMC_MUX_BOX Mux Box number. or:-
-2 Undefined
-1 Multiply defined (hardware error?)
+6 I KNEMC_NCDSTRING NCD string number.
-2 Undefined
-1 Multiply defined
+7 I Spare.
+8 I Spare.
The following come from the Scope Time Record
+9 D KNEMC_CLK Clock in ticks (first word)
+10 Second word.
+11 I KNEMC_REG Latch register id (0-4).
The following come from the Scope Record
+12 I KNEMC_OS_LEN Length of waveform (in bytes)
+13 I KNEMC_OS_CHAN Oscilloscope channel.
+14 F Spare
+15 F Spare
+16 F Spare
+17 F Spare
+18 F Spare
+19 F Spare
+20 F Spare
+21 I KNEMC_START_TRACE The Calibratated waveform.
...
Notes
-----
1). The EV bank contains 2 NEMG links:-
-29 -KEV_NEMG_PAR NEMG Partial - Not every supported NEMC has KNEMS_STATUS == 7
-28 -KEV_NEMG NEMG Complete - Every supported NEMC has KNEMS_STATUS == 7.
Normal NCD events will have one entry on -KEV_NEMG and nothing on -KEV_NEMG_PAR.
In abnormal conditions (i.e. un-matched Mux or Scope records) will there be banks on
entry -KEV_NEMG_PAR but in this case -KEV_NEMG will be empty i.e only if everything
looks good will there be data on -KEV_NEMG.