Titles: NQDH NCD Scope Settings Record ====================================== Contact: Mark Howe / Jan Wouters / Adam Cox Version 1 verified on 10-29-04 by LCS and KRR Revision History:- ================ 2003-02-11 (jmw) - Original 2003-11-19 (gac) - Renamed words to NQDH_*, added NQDH_VERS, NQDH_SAMPLE_RATE, NQDH_TPOSITION, NQDH_NUM_CHAN, NQDH_REC_SIZE, NQDH_REC, and did some other renaming of words. 2004-05-08 (jmw) - Added word 0 - number of scope records which follow. 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 the scope settings such as horizontal scale, channel scales, etc. for one oscilloscope. Data Words ---------- Fixed length Database Header. See titles_dbhdr.html Data types: B(bit), I, F, D(double), H(hollerith 4 char) Word Type Mnemonic Description 1 I NQDH_NUM_OS Number of oscilloscope records that follow. 2 I NQDH_VERS NQDH bank version number 3 I NQDH_OS_MODEL Oscilloscope model number (typically 754) 4 I NQDH_OS_VERS Oscilloscope Version in ASCII code (typically 65 for A, as in 754A, or 68 for D as in 754D) 5 F NQDH_XPOS Horizontal pos. 6 F NQDH_XSCALE Horizontal scale Seconds / div. 7 F NQDH_SAMPLE_RATE Sampling Rate (typically 1 GS/sec) 8 F NQDH_TLEVEL Trigger level in V. 9 I NQDH_LENGTH Horizontal record length. 10 I NQDH_OS_NUM Scope identification (0 or 1) 11 I NQDH_TCOUP Trigger coupling (AC = 1, DC = 2, HFRej = 3, LFRej = 4, NOISERej = 5 ) 12 I NQDH_TMODE Trigger mode (Auto = 1, Normal = 2, Single = 3) 13 I NQDH_TPOL Trigger polarity (0 = neg, 1 = pos) 14 I NQDH_TSOURCE Trigger source (Ext = 0, Line = 1, CH1 = 2, CH2 = 3, CH3 = 4, CH4 = 5) 15 F NQDH_TPOSITION Trigger position (in percentage of trace width) 16..18 I Spare 19 I NQDH_NUM_CHAN Number of scope channels (=4) 20 I NQDH_REC_SIZE Size of the following repeated block i = NQDH_REC + (n-1)*NQHD_REC_SIZE Start (n = 1 to NQDH_NUM_CHAN) where NDQH_REC is the starting address of repeated block i+0 F NQDH_YPOS Vertical Channel position (volts). i+1 F NQDH_YSCALE Vertical Channel scale in volts / div. i+2 I NQDH_ACQ Channel on (1 = true, 0 = false) i+3 I NQDH_COUPLING Channel coupling (AC = 0, DC = 1, GND = 2, DC50 = 3) Words 2 to i+3 of final channel repeat for each scope (NQDH_NUM_OS)