Beispiel #1
0
 def __init__(self):
     XMLConfiguration.__init__(self,'DeviceNetList',write=False)
     self.Add(XMLPropertyDefaultString('DeviceName'))
     self.Add(XMLPropertyDefaultString('PartName'))
     self.Add(XMLPropertyDefaultBool('ShowReference',True))
     self.Add(XMLPropertyDefaultBool('ShowPorts',True))
     self.Add(XMLProperty('Values',[DeviceNetListKeywordConfiguration() for _ in range(0)],'array',arrayType=DeviceNetListKeywordConfiguration()))
Beispiel #2
0
 def __init__(self):
     super().__init__('Alignment')
     self.Add(XMLPropertyDefaultBool('AutoAlign',False))
     self.Add(XMLPropertyDefaultFloat('BERForAlignment',-3))
     self.Add(XMLPropertyDefaultInt('BitsPerSymbol',1))
     self.Add(XMLPropertyDefaultString('Mode','Horizontal')) # 'Horizontal' or 'Vertical'
     self.Add(XMLPropertyDefaultString('Horizontal','Middle')) # 'Middle' or 'Max' (vertical eye)
     self.Add(XMLPropertyDefaultString('Vertical','MaxMin')) # 'MaxMin' (maximum minimum opening) or 'Max' (maximum opening) 
 def __init__(self):
     XMLConfiguration.__init__(self, 'PartPin', write=False)
     self.Add(XMLPropertyDefaultInt('Number'))
     self.Add(XMLPropertyDefaultCoord('ConnectionPoint'))
     self.Add(XMLPropertyDefaultString('Orientation'))
     self.Add(XMLPropertyDefaultBool('NumberVisible'))
     self.Add(XMLPropertyDefaultBool('Visible'))
     self.Add(XMLPropertyDefaultBool('NumberingMatters'))
     self.Add(XMLPropertyDefaultString('NumberSide', 'n'))
 def __init__(self):
     ProjectFileBase.__init__(self)
     self.Add(XMLPropertyDefaultString('Version', None))
     self.SubDir(ProjectFiles())
     self.SubDir(Appearance())
     self.SubDir(Cache())
     self.SubDir(OnlineHelp())
     self.SubDir(Calculation())
 def __init__(self):
     XMLConfiguration.__init__(self, 'DrawingProperties')
     self.Add(XMLPropertyDefaultFloat('Grid', 32.))
     self.Add(XMLPropertyDefaultInt('Originx', 1))
     self.Add(XMLPropertyDefaultInt('Originy', 4))
     self.Add(XMLPropertyDefaultInt('Width', 711))
     self.Add(XMLPropertyDefaultInt('Height', 318))
     self.Add(XMLPropertyDefaultString('Geometry', '711x363+27+56'))
 def __init__(self):
     XMLConfiguration.__init__(self, 'PartPicture')
     self.Add(XMLPropertyDefaultInt('Index', None))
     self.Add(XMLPropertyDefaultString('ClassName', write=False))
     self.Add(XMLPropertyDefaultCoord('Origin'))
     self.Add(XMLPropertyDefaultInt('Orientation'))
     self.Add(XMLPropertyDefaultBool('MirroredVertically', False))
     self.Add(XMLPropertyDefaultBool('MirroredHorizontally', False))
 def __init__(self):
     XMLConfiguration.__init__(self, 'OnlineHelp')
     self.Add(XMLPropertyDefaultBool('UseOnlineHelp', True))
     self.Add(
         XMLPropertyDefaultString(
             'URL',
             'http://teledynelecroy.github.io/SignalIntegrity/SignalIntegrity/App'
         ))
Beispiel #8
0
 def __init__(self):
     XMLConfiguration.__init__(self,'Device')
     self.Add(XMLPropertyDefaultString('ClassName'))
     self.SubDir(PartPictureConfiguration())
     self.Add(XMLProperty('PartProperties',[PartPropertyConfiguration() for _ in range(0)],'array',arrayType=PartPropertyConfiguration()))
     self.SubDir(DeviceNetListConfiguration())
     import SignalIntegrity.App.Preferences
     for key in SignalIntegrity.App.Preferences['Devices'].dict.keys():
         self.SubDir(copy.deepcopy(SignalIntegrity.App.Preferences['Devices'][key]),makeOnRead=True)
Beispiel #9
0
 def __init__(self):
     super().__init__('Annotation')
     self.Add(XMLPropertyDefaultBool('Annotate',False))
     self.Add(XMLPropertyDefaultString('Color','#ffffff'))
     self.Add(XMLPropertyDefaultBool('MeanLevels',True))
     self.Add(XMLPropertyDefaultBool('LevelExtents',False))
     self.Add(XMLPropertyDefaultBool('EyeWidth',True))
     self.Add(XMLPropertyDefaultBool('EyeHeight',True))
     self.SubDir(EyeContourConfiguration())
 def __init__(self):
     ProjectFileBase.__init__(self)
     self.Add(XMLPropertyDefaultString('Version', None))
     self.SubDir(ProjectFiles())
     self.SubDir(Appearance())
     self.SubDir(Cache())
     self.SubDir(OnlineHelp())
     self.SubDir(Calculation())
     self.SubDir(SParameterProperties(preferences=True))
     self.SubDir(Features())
 def __init__(self):
     XMLConfiguration.__init__(self, 'Device')
     self.Add(XMLPropertyDefaultString('ClassName'))
     self.SubDir(PartPictureConfiguration())
     self.Add(
         XMLProperty('PartProperties',
                     [PartPropertyConfiguration() for _ in range(0)],
                     'array',
                     arrayType=PartPropertyConfiguration()))
     self.SubDir(DeviceNetListConfiguration())
Beispiel #12
0
 def __init__(self):
     super().__init__('EyeDiagram')
     self.Add(XMLPropertyDefaultString('Color','#ffffff'))
     self.Add(XMLPropertyDefaultInt('UI',3))
     self.Add(XMLPropertyDefaultInt('Rows',200))
     self.Add(XMLPropertyDefaultInt('Columns',200))
     self.Add(XMLPropertyDefaultFloat('Saturation',20))
     self.Add(XMLPropertyDefaultFloat('ScaleX',75.))
     self.Add(XMLPropertyDefaultFloat('ScaleY',150.))
     self.Add(XMLPropertyDefaultString('Mode','ISI'))
     self.Add(XMLPropertyDefaultBool('Invert',True))
     self.SubDir(EyeYAxisConfiguration())
     self.SubDir(EyeJitterNoiseConfiguration())
     self.SubDir(EyeAlignmentConfiguration())
     self.SubDir(EyeEnhancedPrecisionConfiguration())
     self.SubDir(EyeMeasureConfiguration())
     self.SubDir(EyeAnnotationConfiguration())
     self.SubDir(DecisionConfiguration())
     self.SubDir(BathtubConfiguration())
 def __init__(self):
     XMLConfiguration.__init__(self, 'Color')
     self.Add(XMLPropertyDefaultString('Background'))
     self.Add(XMLPropertyDefaultString('Foreground'))
     self.Add(XMLPropertyDefaultString('ActiveBackground'))
     self.Add(XMLPropertyDefaultString('ActiveForeground'))
     self.Add(XMLPropertyDefaultString('DisabledForeground'))
     self.Add(XMLPropertyDefaultString('Plot'))
 def __init__(self):
     XMLConfiguration.__init__(self, 'PartProperty')
     self.Add(XMLPropertyDefaultString('Keyword'))
     self.Add(XMLPropertyDefaultString('PropertyName', write=False))
     self.Add(XMLPropertyDefaultString('Description', write=False))
     self.Add(XMLPropertyDefaultString('Value'))
     self.Add(XMLPropertyDefaultBool('Hidden', write=False))
     self.Add(XMLPropertyDefaultBool('Visible'))
     self.Add(XMLPropertyDefaultBool('KeywordVisible'))
     self.Add(XMLPropertyDefaultString('Type', write=False))
     self.Add(XMLPropertyDefaultString('Unit', write=False))
     self.Add(XMLPropertyDefaultBool('InProjectFile', True, False))
Beispiel #15
0
 def __init__(self):
     super().__init__('Decision')
     self.Add(XMLPropertyDefaultString('Mode','Mid')) # 'Mid' or 'Best' for independent decision levels
Beispiel #16
0
 def __init__(self):
     super().__init__('EnhancedPrecision')
     self.Add(XMLPropertyDefaultString('Mode','Auto'))
     self.Add(XMLPropertyDefaultInt('FixedEnhancement',10))
 def __init__(self):
     XMLConfiguration.__init__(self, 'DeviceNetListKeyword', write=False)
     self.Add(XMLPropertyDefaultString('Keyword'))
     self.Add(XMLPropertyDefaultBool('ShowKeyword', True))
Beispiel #18
0
 def __init__(self):
     super().__init__('Contours')
     self.Add(XMLPropertyDefaultBool('Show',False))
     self.Add(XMLPropertyDefaultString('Which','Eye')) # 'Eye' or 'All'
 def __init__(self):
     XMLConfiguration.__init__(self, 'PostProcessingLine')
     self.Add(XMLPropertyDefaultString('Line', ''))
Beispiel #20
0
 def __init__(self):
     super().__init__('YAxis')
     self.Add(XMLPropertyDefaultString('Mode','Auto'))
     self.Add(XMLPropertyDefaultFloat('Max',1.0))
     self.Add(XMLPropertyDefaultFloat('Min',0.0))
 def __init__(self):
     XMLConfiguration.__init__(self, 'LastFiles')
     self.Add(XMLPropertyDefaultString('Name'))
     self.Add(XMLPropertyDefaultString('Directory'))