NQDH: NCD Scope Settings Record
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.
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 (typically A, as in 754A, or D for 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) (redundant to Bank number).
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 = 1,
Line = 2, CH1 = 3, CH2 = 4,
CH3 = 5, CH4 = 6)
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
21 I NQDH_REC Starting address of repeated block
i = NQDH_REC + (n-1)*NQHD_REC_SIZE Start (n = 1 to NQDH_NUM_CHAN)
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 1 to i+3 of final channel repeat for each scope (NQDH_NUM_OS)
Go Back to the
Snoman Companion Top Page