Mercurial > ~darius > hgwebdir.cgi > pyinst
comparison specan.py @ 34:182c42e7bf03
Add page references for each command to teh Anritsu.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 28 Sep 2011 09:18:38 +0930 |
parents | c6c86dcb54ba |
children | c93d6d4cb04b |
comparison
equal
deleted
inserted
replaced
33:e80c2ff5fa87 | 34:182c42e7bf03 |
---|---|
99 # raise exceptions.ValueError("Sweep value not supported, must be one of " + str(RSSPA.swptslist)) | 99 # raise exceptions.ValueError("Sweep value not supported, must be one of " + str(RSSPA.swptslist)) |
100 | 100 |
101 | 101 |
102 class AnSPA(Traceinst): | 102 class AnSPA(Traceinst): |
103 '''Anritsu Spectrum Analyzer''' | 103 '''Anritsu Spectrum Analyzer''' |
104 attrs = { 'fstart' : ['FREQ:START', float, None], | 104 attrs = { 'fstart' : ['FREQ:START', float, None], # Page 26 |
105 'fstop' : ['FREQ:STOP', float, None], | 105 'fstop' : ['FREQ:STOP', float, None], # Page 26 |
106 'atten' : ['SENSE:POWER:ATTENUATION', float, None], | 106 'atten' : ['SENSE:POWER:ATTENUATION', float, None], # Page 27 |
107 'sweept' : ['SENSE:SWEEP:TIME', float, None], | 107 'sweept' : ['SENSE:SWEEP:TIME', float, None], # Page 28 |
108 'sweepcnt' : [':SENSe:AVERage:COUNt', int, None], | 108 'sweepcnt' : [':SENSe:AVERage:COUNt', int, None], # Page 21 |
109 'tracemode' : [':SENSe:AVERage:TYPE', str, None], | 109 'tracemode' : [':SENSe:AVERage:TYPE', str, None], # Page 21 |
110 'resbw' : ['SENSE:BANDWIDTH:RESOLUTION', float, None], | 110 'resbw' : ['SENSE:BANDWIDTH:RESOLUTION', float, None], # Page 22 |
111 'vidbw' : ['SENSE:BANDWIDTH:VIDEO', float, None], | 111 'vidbw' : ['SENSE:BANDWIDTH:VIDEO', float, None], # Page 23 |
112 'reflev' : [':DISPLAY:WIND:TRACE:Y:SCALE:RLEVEL', float, None], | 112 'reflev' : [':DISPLAY:WIND:TRACE:Y:SCALE:RLEVEL', float, None], # Page 15 |
113 'detector' : [':SENSe:DETector:FUNCtion', str, None], | 113 'detector' : [':SENSe:DETector:FUNCtion', str, None], # Page 24 |
114 } | 114 } |
115 | 115 |
116 tracetypename = 'REAL,32' | 116 tracetypename = 'REAL,32' |
117 tracedtype = numpy.float32 | 117 tracedtype = numpy.float32 |
118 tracequery = 'TRACE:DATA?' | 118 tracequery = 'TRACE:DATA?' |