NQMH: NCD Multiplexer Settings Record



				Titles: NQMH NCD Multiplexer Settings Record
                                ============================================
				
Contact: Mark Howe / Jan Wouters
Version 1 verified on 10-29-04 by LCS and KRR

Revision History:-
================
	2003-02-11 (jmw) - Original
	2003-02-19 (jmw) - Added ADC readback value
	2003-11-04 (gac) - Clarified Bank Number description,
			     	added NQMH_MUX_B, NQMH_MUX_HW and NQMH_OS_CHAN
	2003-11-17 (gac) - renamed word prefix NCDM -> NQMH and
				added NQMH_NUM_CHAN and NQMH_REC_SIZE	
	2004-02-08 (jmw) - Added word 0 - Number of mux records.
        2007-04-16 (ggp) - Revised documentation

Titles Files
------------

Verification
------------

Description
-----------

Bank Number: Version 1

Written out at the beginning of a run by SHaRC.  Contains multiplexer threshold settings and read back threshold for one multiplexer.

Data Words
----------

	Fixed length Database Header. See titles_dbhdr.html

    Data types: B(bit), I, F, D(double), H(hollerith 4 char)


The following record is repeated 13 times, once for each multiplexer channel.
Word		Type	Mnemonic		Description

1		I	NQMH_NUM_MUX		Number of multiplexer records that follow.
2		I	NQMH_VERS		NQMH bank version number
3     	        I	NQMH_MUX_BUS		Mux Controller Board Bus Number
4		I	NQMH_MUX_BOX		Mux Box Hardware Number in decimal (0x00 - 0xff)
5     	        I       NQMH_OS_CHAN		Oscilloscope Channel number
6..10		I				Five spare words
11		I	NQMH_NUM_CHAN		Number of Channels (=13)
12		I 	NQMH_REC_SIZE		Record Size	(3 words)
13		I	NQMH_REC		Base address for following record loop

                        i = NQMH_REC + (n-1)*NQMH_REC_SIZE              Start - repeat block NQMH_NUM_CHAN times

i+0		I	NQMH_THRES_DAC					Multiplexer thresholds in DAC units.
i+1		I	NQMH_THRES_ADC					Readback of threshold from ADC.
i+2		I	 SPARE

                 Words 2 to i+2 of final channel repeat for each mux box.


Go Back to the Snoman Companion Top Page