From a131fab8f132888cb6ced42322cdd4db5bdc3be3 Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Sun, 15 Sep 2013 16:44:50 -0600 Subject: [PATCH 1/7] added display of calibrated screen center --- HEROES SAS GSE/AppController.m | 3 + HEROES SAS GSE/CameraView.h | 1 + HEROES SAS GSE/CameraView.m | 24 +- HEROES SAS GSE/ConsoleWindowController.xib | 35 +- HEROES SAS GSE/DataPacket.h | 2 + HEROES SAS GSE/DataPacket.m | 27 +- HEROES SAS GSE/DataSeries.m | 2 +- HEROES SAS GSE/ParseDataOperation.m | 1 + HEROES SAS GSE/PlotWindowController.m | 14 +- HEROES SAS GSE/TimeSeries.m | 2 +- HEROES SAS GSE/en.lproj/MainMenu.xib | 523 +++++++++------------ 11 files changed, 304 insertions(+), 330 deletions(-) diff --git a/HEROES SAS GSE/AppController.m b/HEROES SAS GSE/AppController.m index 2bd4f95..940905d 100644 --- a/HEROES SAS GSE/AppController.m +++ b/HEROES SAS GSE/AppController.m @@ -601,6 +601,8 @@ - (void)mainThread_handleData:(NSNotification *)note self.PYASFcameraView.fiducialPoints = [packet getFiducialPoints]; self.PYASFcameraView.fiducialIDs = [packet getFiducialIDs]; [self.PYASFcameraView setScreenCenter:[packet.screenCenter pointValue].x :[packet.screenCenter pointValue].y]; + [self.PYASFcameraView setCalibratedScreenCenter: [packet.calibratedScreenCenter pointValue].x :[packet.calibratedScreenCenter pointValue].y]; + self.PYASFcameraView.screenRadius = packet.screenRadius; self.PYASFcameraView.clockingAngle = packet.clockingAngle; @@ -733,6 +735,7 @@ - (void)mainThread_handleData:(NSNotification *)note self.PYASRcameraView.chordCrossingPoints = [packet getChordPoints]; self.PYASRcameraView.fiducialPoints = [packet getFiducialPoints]; [self.PYASRcameraView setScreenCenter:[packet.screenCenter pointValue].x :[packet.screenCenter pointValue].y]; + [self.PYASRcameraView setCalibratedScreenCenter: [packet.calibratedScreenCenter pointValue].x :[packet.calibratedScreenCenter pointValue].y]; self.PYASRcameraView.screenRadius = packet.screenRadius; self.PYASRcameraView.clockingAngle = packet.clockingAngle; self.PYASRcameraView.fiducialIDs = [packet getFiducialIDs]; diff --git a/HEROES SAS GSE/CameraView.h b/HEROES SAS GSE/CameraView.h index 8320f11..53cf4cc 100644 --- a/HEROES SAS GSE/CameraView.h +++ b/HEROES SAS GSE/CameraView.h @@ -26,5 +26,6 @@ - (void) draw; - (void) setCircleCenter: (float)x :(float)y; - (void) setScreenCenter: (float)x :(float)y; +- (void) setCalibratedScreenCenter: (float)x :(float)y; @end diff --git a/HEROES SAS GSE/CameraView.m b/HEROES SAS GSE/CameraView.m index b104ac6..c1d2635 100644 --- a/HEROES SAS GSE/CameraView.m +++ b/HEROES SAS GSE/CameraView.m @@ -20,6 +20,8 @@ @interface CameraView() @property (nonatomic) float circleY; @property (nonatomic) float screenX; @property (nonatomic) float screenY; +@property (nonatomic) float calibratedScreenX; +@property (nonatomic) float calibratedScreenY; // declaration of private methods as needed - (void) prepareOpenGL; @@ -57,6 +59,8 @@ @implementation CameraView @synthesize screenY; @synthesize clockingAngle; @synthesize fiducialIDs = _fiducialIDs; +@synthesize calibratedScreenX; +@synthesize calibratedScreenY; -(id) initWithFrame:(NSRect)frameRect { @@ -67,6 +71,8 @@ -(id) initWithFrame:(NSRect)frameRect self.circleY = 0.0; self.screenX = 500.0; self.screenY = 500.0; + self.calibratedScreenX = 525.0; + self.calibratedScreenY = 525.0; self.turnOnBkgImage = NO; self.imageExists = NO; self.mouseLocation = NSMakePoint(-1, -1); @@ -95,6 +101,15 @@ - (void) setScreenCenter: (float)x :(float)y{ } } +- (void) setCalibratedScreenCenter: (float)x :(float)y{ + if ((x < [self.numberXPixels floatValue]) && (x > 0)) { + self.calibratedScreenX = x; + } + if ((y < [self.numberYPixels floatValue]) && (y > 0)) { + self.calibratedScreenY = y; + } +} + -(void)setImageExists:(BOOL)imageExists{ _imageExists = imageExists; } @@ -148,6 +163,7 @@ - (void) drawOverlay { NSPoint sunCenter = NSMakePoint(self.circleX, self.circleY); NSPoint screenCenter = NSMakePoint(self.screenX, self.screenY); + NSPoint calibratedScreenCenter = NSMakePoint(self.calibratedScreenX, self.calibratedScreenY); // draw the Sun (circle and cross) glColor3f(1.0f, 0.0f, 0.0f); @@ -164,8 +180,12 @@ - (void) drawOverlay // draw the screen center glColor3f(0.7f, 0.7f, 0.7f); - [self drawACross:screenCenter :0.02]; + [self drawACross:screenCenter :0.015]; + // draw the CALIBRATED screen center + glColor3f(0.7f, 0.7f, 0.0f); + [self drawACross:calibratedScreenCenter :0.02]; + // draw the screen outline glColor3f(0.7f, 0.7f, 0.7f); [self drawACircle:screenCenter :self.screenRadius]; @@ -491,7 +511,7 @@ - (void) cleanUp // [denoise release]; // } // if - //[super cleanUp]; + //[super clean]; } // cleanUp @end diff --git a/HEROES SAS GSE/ConsoleWindowController.xib b/HEROES SAS GSE/ConsoleWindowController.xib index e46e8e7..9275210 100644 --- a/HEROES SAS GSE/ConsoleWindowController.xib +++ b/HEROES SAS GSE/ConsoleWindowController.xib @@ -2,9 +2,9 @@ 1080 - 12E55 + 12D78 3084 - 1187.39 + 1187.37 626.00 com.apple.InterfaceBuilder.CocoaPlugin @@ -41,7 +41,7 @@ 15 2 - {{784, 131}, {882, 263}} + {{245, 901}, {760, 263}} 544735232 GSE Console NSWindow @@ -62,10 +62,10 @@ 2322 - {882, 229} + {730, 229} - + _NS:13 @@ -82,7 +82,7 @@ - 882 + 730 1 @@ -134,7 +134,7 @@ - {{1, 1}, {882, 229}} + {{1, 1}, {745, 229}} @@ -299,7 +299,7 @@ wGw 256 - {{867, 1}, {16, 229}} + {{746, 1}, {15, 229}} _NS:83 @@ -324,10 +324,10 @@ wGw 0.94565218687057495 - {{-1, -1}, {884, 231}} + {{-1, -1}, {762, 231}} - + _NS:9 133138 @@ -340,7 +340,7 @@ wGw 268 - {{728, 230}, {67, 32}} + {{606, 230}, {67, 32}} @@ -369,7 +369,7 @@ wGw 268 - {{795, 230}, {73, 32}} + {{673, 230}, {73, 32}} @@ -394,7 +394,7 @@ wGw 268 - {{573, 230}, {155, 32}} + {{451, 230}, {155, 32}} @@ -419,9 +419,10 @@ wGw 268 - {{441, 238}, {132, 18}} + {{319, 238}, {132, 18}} + _NS:9 YES @@ -448,12 +449,12 @@ wGw NO - {882, 263} + {760, 263} - + - {{0, 0}, {1280, 778}} + {{0, 0}, {2560, 1418}} {10000000000000, 10000000000000} YES diff --git a/HEROES SAS GSE/DataPacket.h b/HEROES SAS GSE/DataPacket.h index 5538f41..eead20c 100644 --- a/HEROES SAS GSE/DataPacket.h +++ b/HEROES SAS GSE/DataPacket.h @@ -23,6 +23,7 @@ @property (nonatomic) BOOL isSAS1; @property (nonatomic) BOOL isSAS2; @property (nonatomic) NSValue *screenCenter; +@property (nonatomic) NSValue *calibratedScreenCenter; @property (nonatomic) float screenRadius; @property (nonatomic) NSMutableArray *i2cTemperatures; @property (nonatomic) NSMutableArray *sbcVoltages; @@ -35,6 +36,7 @@ @property (nonatomic) NSString *aspectErrorCode; @property (nonatomic) float clockingAngle; @property (nonatomic) NSValue *screenCenterOffset; +@property (nonatomic) NSValue *calibratedScreenCenterOffset; -(NSString *) getframeTimeString; -(void) addChordPoint: (NSPoint) point :(int) index; diff --git a/HEROES SAS GSE/DataPacket.m b/HEROES SAS GSE/DataPacket.m index 69f8dc8..67dea55 100644 --- a/HEROES SAS GSE/DataPacket.m +++ b/HEROES SAS GSE/DataPacket.m @@ -59,6 +59,8 @@ @implementation DataPacket @synthesize aspectErrorCode; @synthesize clockingAngle; @synthesize screenCenterOffset; +@synthesize calibratedScreenCenter = _calibratedScreenCenter; +@synthesize calibratedScreenCenterOffset = _calibratedScreenCenterOffset; -(id)init{ self = [super init]; // call our super’s designated initializer @@ -135,6 +137,23 @@ - (NSValue *)screenCenter return _screenCenter; } +- (NSValue *)calibratedScreenCenter +{ + if (_calibratedScreenCenter == nil) { + _calibratedScreenCenter = [[NSValue alloc] init]; + } + return _calibratedScreenCenter; +} + +- (NSValue *)calibratedScreenCenterOffset +{ + if (_calibratedScreenCenterOffset == nil) { + _calibratedScreenCenterOffset = [[NSValue alloc] init]; + } + return _calibratedScreenCenterOffset; +} + + - (NSValue *)CTLCommand { if (_CTLCommand == nil) { @@ -175,19 +194,17 @@ -(void)setIsSAS1:(BOOL)isSAS1{ _isSAS2 = !isSAS1; if (isSAS1) { self.clockingAngle = CLOCKING_ANGLE_PYASF+TWIST_PYASF+180; + self.calibratedScreenCenterOffset = [NSValue valueWithPoint:NSMakePoint(CENTER_X_PYASF, CENTER_Y_PYASF)]; } else { self.clockingAngle = CLOCKING_ANGLE_PYASR+TWIST_PYASR+180; + self.calibratedScreenCenterOffset = [NSValue valueWithPoint:NSMakePoint(CENTER_X_PYASR, CENTER_Y_PYASR)]; } } -(void)setIsSAS2:(BOOL)isSAS2{ _isSAS2 = isSAS2; _isSAS1 = !isSAS2; - if (isSAS2) { - self.clockingAngle = CLOCKING_ANGLE_PYASR+TWIST_PYASR+180; - } else { - self.clockingAngle = CLOCKING_ANGLE_PYASF+TWIST_PYASF+180; - } + [self setIsSAS1:!isSAS2]; } @end diff --git a/HEROES SAS GSE/DataSeries.m b/HEROES SAS GSE/DataSeries.m index db01bea..f51f00c 100644 --- a/HEROES SAS GSE/DataSeries.m +++ b/HEROES SAS GSE/DataSeries.m @@ -8,7 +8,7 @@ #import "DataSeries.h" -#define MAX_CAPACITY 1000 +#define MAX_CAPACITY 100 @interface DataSeries() -(float)calculateAverage; diff --git a/HEROES SAS GSE/ParseDataOperation.m b/HEROES SAS GSE/ParseDataOperation.m index 3672037..aca5197 100644 --- a/HEROES SAS GSE/ParseDataOperation.m +++ b/HEROES SAS GSE/ParseDataOperation.m @@ -227,6 +227,7 @@ - (void)main dataPacket.screenCenter = [NSValue valueWithPoint:NSMakePoint(-x_intercept/x_slope, -y_intercept/y_slope)]; dataPacket.screenRadius = 0.5* ((3000.0/fabs(x_slope)) + (3000.0/fabs(y_slope))); + dataPacket.calibratedScreenCenter = [NSValue valueWithPoint:NSMakePoint((-x_intercept + dataPacket.calibratedScreenCenterOffset.pointValue.x)/x_slope, (-y_intercept + dataPacket.calibratedScreenCenterOffset.pointValue.y)/y_slope)]; uint8_t image_max; tm_packet >> image_max; diff --git a/HEROES SAS GSE/PlotWindowController.m b/HEROES SAS GSE/PlotWindowController.m index f50741b..86c88a0 100644 --- a/HEROES SAS GSE/PlotWindowController.m +++ b/HEROES SAS GSE/PlotWindowController.m @@ -165,7 +165,7 @@ - (void)windowDidLoad self.hostView.hostedGraph = graph; [graph.defaultPlotSpace scaleToFitPlots:[graph allPlots]]; - [graph reloadData]; + [graph reloadDataIfNeeded]; [self update]; } #pragma mark - @@ -177,8 +177,8 @@ - (IBAction)TextFieldUpdated:(NSTextField *)sender { -(void)update{ if (self.data != nil) { - float ymin; - float ymax; + float ymin = 0; + float ymax = 100; // Axes CPTXYAxisSet *axisSet = (CPTXYAxisSet *)self.hostView.hostedGraph.axisSet; CPTXYAxis *yAxis = axisSet.yAxis; @@ -239,14 +239,13 @@ -(void)update{ length:CPTDecimalFromFloat(abs(ymax - ymin))]; //[graph.defaultPlotSpace scaleToFitPlots:[graph allPlots]]; - [graph reloadData]; + [graph reloadDataIfNeeded]; } } -(NSNumber *)numberForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordIndex:(NSUInteger)index { - NSString *plot_name = plot.identifier; - TimeSeries *currentData = [self.data objectForKey:plot_name]; + TimeSeries *currentData = [self.data objectForKey:plot.identifier]; if (fieldEnum == CPTScatterPlotFieldX) { NSTimeInterval x = [[[currentData time] objectAtIndex:index] timeIntervalSinceDate:self.earliestTime]; @@ -260,8 +259,7 @@ -(NSNumber *)numberForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordInd -(NSUInteger)numberOfRecordsForPlot:(CPTPlot *)plot { - NSString *plot_name = plot.identifier; - TimeSeries *currentData = [self.data objectForKey:plot_name]; + TimeSeries *currentData = [self.data objectForKey:plot.identifier]; return [[currentData data] count]; } diff --git a/HEROES SAS GSE/TimeSeries.m b/HEROES SAS GSE/TimeSeries.m index 67faa3b..ac8f34d 100644 --- a/HEROES SAS GSE/TimeSeries.m +++ b/HEROES SAS GSE/TimeSeries.m @@ -9,7 +9,7 @@ #import "DataSeries.h" #import "TimeSeries.h" -#define MAX_CAPACITY 1000 +#define MAX_CAPACITY 100 @interface TimeSeries() @property (nonatomic, strong) NSMutableArray *mytime; diff --git a/HEROES SAS GSE/en.lproj/MainMenu.xib b/HEROES SAS GSE/en.lproj/MainMenu.xib index e966024..c1d0d8f 100644 --- a/HEROES SAS GSE/en.lproj/MainMenu.xib +++ b/HEROES SAS GSE/en.lproj/MainMenu.xib @@ -1326,8 +1326,8 @@ 7 2 - {{442, 488}, {1147, 941}} - 1949827072 + {{118, 423}, {1147, 941}} + 1954021376 HEROES SAS GSE NSWindow @@ -4232,7 +4232,7 @@ 268 - {{196, 62}, {40, 18}} + {{196, 61}, {40, 18}} @@ -4254,7 +4254,7 @@ 268 - {{18, 65}, {50, 17}} + {{15, 65}, {53, 17}} @@ -4275,7 +4275,7 @@ 268 - {{119, 64}, {72, 17}} + {{119, 63}, {72, 17}} @@ -4296,7 +4296,7 @@ 268 - {{196, 39}, {40, 17}} + {{196, 39}, {40, 16}} @@ -4336,31 +4336,10 @@ NO - - - 268 - {{18, 41}, {50, 16}} - - - - _NS:1535 - YES - - 68157504 - 272630784 - SAS-2 - - _NS:1535 - - - - - NO - 268 - {{241, 64}, {51, 17}} + {{241, 63}, {51, 17}} @@ -4381,10 +4360,10 @@ 268 - {{241, 39}, {51, 17}} + {{241, 38}, {51, 17}} - + _NS:1535 YES @@ -4423,7 +4402,7 @@ 268 - {{74, 64}, {40, 23}} + {{74, 62}, {40, 23}} @@ -4433,7 +4412,7 @@ 268 - {{297, 61}, {40, 23}} + {{297, 59}, {40, 25}} @@ -4443,7 +4422,7 @@ 268 - {{297, 37}, {40, 23}} + {{297, 36}, {40, 24}} @@ -4463,7 +4442,7 @@ 268 - {{74, 36}, {40, 23}} + {{74, 35}, {40, 22}} @@ -4476,7 +4455,7 @@ {{425, 60}, {100, 26}} - + _NS:9 YES @@ -4557,7 +4536,7 @@ {{366, 39}, {158, 18}} - + _NS:9 YES @@ -4583,6 +4562,27 @@ NO + + + 268 + {{15, 38}, {43, 17}} + + + + _NS:1535 + YES + + 68157504 + 272630784 + SAS-2 + + _NS:1535 + + + + + NO + {{1, 1}, {540, 91}} @@ -13357,6 +13357,22 @@ 3487 + + + 4 + 0 + + 4 + 1 + + 0.0 + + 1000 + + 6 + 24 + 2 + 3 @@ -13405,28 +13421,12 @@ 29 3 - + - 10 - 0 - - 10 - 1 - - 0.0 - - 1000 - - 6 - 24 - 2 - - - - 4 + 3 0 - - 4 + + 3 1 0.0 @@ -13741,6 +13741,22 @@ 9 3 + + + 4 + 0 + + 4 + 1 + + 12 + + 1000 + + 3 + 9 + 3 + 5 @@ -13933,22 +13949,6 @@ 24 2 - - - 11 - 0 - - 11 - 1 - - 0.0 - - 1000 - - 6 - 24 - 2 - 5 @@ -13997,23 +13997,7 @@ 24 2 - - - 5 - 0 - - 5 - 1 - - 0.0 - - 1000 - - 6 - 24 - 2 - - + 3 0 @@ -14021,7 +14005,7 @@ 3 1 - 47 + 49 1000 @@ -14029,23 +14013,23 @@ 9 3 - + - 10 + 5 0 - - 10 + + 5 1 0.0 1000 - 9 - 40 + 6 + 24 2 - + 3 0 @@ -14053,23 +14037,7 @@ 3 1 - 19 - - 1000 - - 3 - 9 - 3 - - - - 4 - 0 - - 4 - 1 - - 61 + 21 1000 @@ -14077,12 +14045,12 @@ 9 3 - + - 4 + 10 0 - - 4 + + 10 1 0.0 @@ -14109,12 +14077,12 @@ 9 3 - - - 6 + + + 11 0 - - 6 + + 11 1 0.0 @@ -14125,12 +14093,12 @@ 24 2 - - - 5 + + + 10 0 - - 5 + + 10 1 0.0 @@ -14141,39 +14109,23 @@ 24 2 - - - 3 - 0 - - 4 - 1 - - 8 - - 1000 - - 6 - 24 - 3 - - - - 4 + + + 5 0 - - 4 + + 5 1 - 62 + 16 1000 - 3 - 5 + 8 + 29 3 - + 5 0 @@ -14181,16 +14133,15 @@ 5 1 - 19 + 16 1000 - 3 - 9 + 8 + 29 3 - @@ -14206,6 +14157,7 @@ + @@ -14224,7 +14176,7 @@ - + 7 0 @@ -14232,7 +14184,7 @@ 0 1 - 44 + 47 1000 @@ -14248,34 +14200,6 @@ - - 3519 - - - - - 3524 - - - - - - - - 3526 - - - - - 3534 - - - - - 3535 - - - 3538 @@ -14376,11 +14300,6 @@ - - 3633 - - - 3640 @@ -14552,6 +14471,22 @@ + + + 8 + 0 + + 0 + 1 + + 14 + + 1000 + + 3 + 9 + 1 + @@ -14588,11 +14523,6 @@ - - 3839 - - - 3872 @@ -14676,11 +14606,6 @@ - - 3968 - - - 3971 @@ -14827,11 +14752,6 @@ - - 4073 - - - 4082 @@ -14935,11 +14855,6 @@ - - 4293 - - - 4299 @@ -16568,11 +16483,6 @@ - - 5894 - - - 5708 @@ -17328,22 +17238,6 @@ - - - 8 - 0 - - 0 - 1 - - 14 - - 1000 - - 3 - 9 - 1 - @@ -17367,21 +17261,6 @@ - - 6339 - - - - - 6340 - - - - - 6341 - - - 6342 @@ -17868,23 +17747,81 @@ - 6468 - + 6476 + + + + + 6479 + + + + + 6482 + - 6469 - + 6483 + - 6470 - + 6497 + - 6471 - + 6498 + + + + + 6500 + + + + + 6506 + + + + + 6511 + + + + + 6514 + + + + + + + + 6515 + + + + + 6518 + + + + + 6519 + + + + + 6520 + + + + + 6521 + @@ -18360,22 +18297,18 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - - - - + + + + - - - - - + + + - @@ -18388,6 +18321,7 @@ + @@ -18407,11 +18341,11 @@ - - + + com.apple.InterfaceBuilder.CocoaPlugin @@ -18421,18 +18355,12 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18456,7 +18384,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18470,7 +18397,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{380, 496}, {480, 360}} @@ -18524,6 +18451,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + + com.apple.InterfaceBuilder.CocoaPlugin @@ -18533,7 +18463,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18562,7 +18491,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18604,7 +18532,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18644,7 +18571,6 @@ com.apple.InterfaceBuilder.CocoaPlugin NumberInRangeFormatter com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin NumberInRangeFormatter com.apple.InterfaceBuilder.CocoaPlugin NumberInRangeFormatter @@ -19166,7 +19092,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + @@ -19184,7 +19110,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -19334,18 +19259,12 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -19447,10 +19366,22 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -19473,7 +19404,7 @@ - 6471 + 6521 From f387fd22cda2dd000f69e43d8a363ff68ae964cb Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Tue, 17 Sep 2013 17:31:52 -0600 Subject: [PATCH 2/7] added proper names to plot windows --- HEROES SAS GSE/AppController.m | 24 ++++++++---------------- HEROES SAS GSE/DataSeries.m | 2 +- HEROES SAS GSE/PlotWindowController.h | 2 +- HEROES SAS GSE/PlotWindowController.m | 4 ++-- HEROES SAS GSE/TimeSeries.m | 2 +- 5 files changed, 13 insertions(+), 21 deletions(-) diff --git a/HEROES SAS GSE/AppController.m b/HEROES SAS GSE/AppController.m index 831da8d..ba99fbf 100644 --- a/HEROES SAS GSE/AppController.m +++ b/HEROES SAS GSE/AppController.m @@ -884,7 +884,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { NSArray *objs = [NSArray arrayWithObjects:[self.timeSeriesCollection objectForKey:@"PYAS-F camera temperature"], [self.timeSeriesCollection objectForKey:@"PYAS-R camera temperature"], [self.timeSeriesCollection objectForKey:@"RAS camera temperature"] ,nil]; NSArray *keys = [NSArray arrayWithObjects:@"PYAS-F", @"PYAS-R", @"RAS", nil]; NSDictionary *data = [[NSDictionary alloc] initWithObjects:objs forKeys:keys]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"Camera Temperatures"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -892,7 +892,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { NSDictionary *data = [[NSDictionary alloc] initWithObjectsAndKeys: [self.timeSeriesCollection objectForKey:@"SAS1 ctl X solution"], @"PYAS-F", [self.timeSeriesCollection objectForKey:@"SAS2 ctl X solution"] , @"PYAS-R", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"CTL X Solutions"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -900,7 +900,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { NSDictionary *data = [[NSDictionary alloc] initWithObjectsAndKeys: [self.timeSeriesCollection objectForKey:@"SAS1 ctl Y solution"], @"PYAS-F", [self.timeSeriesCollection objectForKey:@"SAS2 ctl Y solution"] , @"PYAS-R", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"CTL Y Solutions"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -908,15 +908,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { NSDictionary *data = [[NSDictionary alloc] initWithObjectsAndKeys: [self.timeSeriesCollection objectForKey:@"SAS1 ctl R solution"], @"PYAS-F", [self.timeSeriesCollection objectForKey:@"SAS2 ctl R solution"] , @"PYAS-R", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; - [newPlotWindow showWindow:self]; - [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; - } - if ([userChoice isEqualToString:@"cpu temperature"]) { - NSDictionary *data = [[NSDictionary alloc] initWithObjectsAndKeys: - [self.timeSeriesCollection objectForKey:@"SAS1 cpu temperature"], @"SAS-2", - [self.timeSeriesCollection objectForKey:@"SAS2 cpu temperature"] , @"SAS-1", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"CTL R Solutions"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -930,7 +922,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { [self.timeSeriesCollection objectForKey:@"SAS1 air temperature"] , @"air", [self.timeSeriesCollection objectForKey:@"SAS1 rail temperature"] , @"rail", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"SAS-1 Temperatures"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -944,7 +936,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { [self.timeSeriesCollection objectForKey:@"SAS2 air temperature"] , @"air", [self.timeSeriesCollection objectForKey:@"SAS2 rail temperature"] , @"rail", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"SAS-2 Temperatures"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -956,7 +948,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { [self.timeSeriesCollection objectForKey:@"SAS1 5.0V"] , @"5.0V", [self.timeSeriesCollection objectForKey:@"SAS1 12.0V"] , @"12.0V", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"SAS-1 Voltages"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } @@ -968,7 +960,7 @@ - (IBAction)OpenWindow_WindowMenuItemAction:(NSMenuItem *)sender { [self.timeSeriesCollection objectForKey:@"SAS2 5.0V"] , @"5.0V", [self.timeSeriesCollection objectForKey:@"SAS2 12.0V"] , @"12.0V", nil]; - PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data]; + PlotWindowController *newPlotWindow = [[PlotWindowController alloc] initWithData:data name:@"SAS-2 Voltages"]; [newPlotWindow showWindow:self]; [self.PlotWindows setObject:newPlotWindow forKey:userChoice]; } diff --git a/HEROES SAS GSE/DataSeries.m b/HEROES SAS GSE/DataSeries.m index f51f00c..415233f 100644 --- a/HEROES SAS GSE/DataSeries.m +++ b/HEROES SAS GSE/DataSeries.m @@ -8,7 +8,7 @@ #import "DataSeries.h" -#define MAX_CAPACITY 100 +#define MAX_CAPACITY 50 @interface DataSeries() -(float)calculateAverage; diff --git a/HEROES SAS GSE/PlotWindowController.h b/HEROES SAS GSE/PlotWindowController.h index c3c0c63..56478de 100644 --- a/HEROES SAS GSE/PlotWindowController.h +++ b/HEROES SAS GSE/PlotWindowController.h @@ -28,5 +28,5 @@ @property (nonatomic, strong) NSDictionary *data; -(void) update; -- (id)initWithData:(NSDictionary *)inputdata; +- (id)initWithData:(NSDictionary *)inputdata name:(NSString *)name; @end diff --git a/HEROES SAS GSE/PlotWindowController.m b/HEROES SAS GSE/PlotWindowController.m index a2e6518..669fbf6 100644 --- a/HEROES SAS GSE/PlotWindowController.m +++ b/HEROES SAS GSE/PlotWindowController.m @@ -76,8 +76,9 @@ - (id)init{ return [super initWithWindowNibName:@"PlotWindowController"]; } -- (id)initWithData:(NSDictionary *)inputdata{ +- (id)initWithData:(NSDictionary *)inputdata name:(NSString *)name{ self = [self init]; + [self.MainWindow setTitle:name]; self.data = inputdata; return self; } @@ -134,7 +135,6 @@ - (void)windowDidLoad TimeSeries *currentData = [self.data objectForKey:key]; if (i == 0) { yAxis.title = currentData.name; - [self.MainWindow setTitle:currentData.name]; } // Create a plot that uses the data source method diff --git a/HEROES SAS GSE/TimeSeries.m b/HEROES SAS GSE/TimeSeries.m index ac8f34d..4d6c067 100644 --- a/HEROES SAS GSE/TimeSeries.m +++ b/HEROES SAS GSE/TimeSeries.m @@ -9,7 +9,7 @@ #import "DataSeries.h" #import "TimeSeries.h" -#define MAX_CAPACITY 100 +#define MAX_CAPACITY 50 @interface TimeSeries() @property (nonatomic, strong) NSMutableArray *mytime; From 611946603ee4aaf42bbdf9876d0b3629b69cd3e5 Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Tue, 17 Sep 2013 17:35:04 -0600 Subject: [PATCH 3/7] disabled follow button on plotcontroller --- HEROES SAS GSE/PlotWindowController.xib | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/HEROES SAS GSE/PlotWindowController.xib b/HEROES SAS GSE/PlotWindowController.xib index 5aba1cc..22d3dd3 100644 --- a/HEROES SAS GSE/PlotWindowController.xib +++ b/HEROES SAS GSE/PlotWindowController.xib @@ -274,10 +274,11 @@ {{540, 12}, {106, 24}} + _NS:9 YES - 67108864 + 603979776 0 _NS:9 @@ -1230,6 +1231,14 @@ + + CPTGraphHostingView + NSView + + IBProjectSource + ./Classes/CPTGraphHostingView.h + + NSLayoutConstraint NSObject From 19edd07dc27a9adb6f3daa32e6930e6ca21c688a Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Tue, 17 Sep 2013 17:37:03 -0600 Subject: [PATCH 4/7] number formatter now changes text color based on background color for better readability. --- HEROES SAS GSE/NumberInRangeFormatter.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HEROES SAS GSE/NumberInRangeFormatter.m b/HEROES SAS GSE/NumberInRangeFormatter.m index afa3d4a..98801d4 100644 --- a/HEROES SAS GSE/NumberInRangeFormatter.m +++ b/HEROES SAS GSE/NumberInRangeFormatter.m @@ -52,19 +52,19 @@ - (NSAttributedString *)attributedStringForObjectValue:(id)anObject withDefaultA NSInteger stringLength = [string length]; NSDictionary *firstAttributes = @{ - NSBackgroundColorAttributeName: [NSColor whiteColor]}; + NSBackgroundColorAttributeName: [NSColor whiteColor], NSForegroundColorAttributeName: [NSColor blackColor]}; [attrString addAttributes:firstAttributes range:NSMakeRange(0, stringLength)]; if ([[attrString string] floatValue] < self.minimum) { NSDictionary *firstAttributes = @{ - NSBackgroundColorAttributeName: [NSColor blueColor]}; + NSBackgroundColorAttributeName: [NSColor blueColor], NSForegroundColorAttributeName: [NSColor whiteColor]}; [attrString addAttributes:firstAttributes range:NSMakeRange(0, stringLength)]; } if ([[attrString string] floatValue] > self.maximum) { NSDictionary *firstAttributes = @{ - NSBackgroundColorAttributeName: [NSColor redColor]}; + NSBackgroundColorAttributeName: [NSColor redColor], NSForegroundColorAttributeName: [NSColor whiteColor]}; [attrString addAttributes:firstAttributes range:NSMakeRange(0, stringLength)]; } From 250c2369401876f418a06c31653f092af2d7c9c7 Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Tue, 17 Sep 2013 18:36:03 -0600 Subject: [PATCH 5/7] fixes, plotting should now be stable as it is limited to amount of points it can handle --- HEROES SAS GSE/DataSeries.m | 2 +- HEROES SAS GSE/NumberInRangeFormatter.m | 1 - HEROES SAS GSE/PlotWindowController.h | 2 +- HEROES SAS GSE/PlotWindowController.m | 4 ++-- HEROES SAS GSE/TimeSeries.m | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/HEROES SAS GSE/DataSeries.m b/HEROES SAS GSE/DataSeries.m index 415233f..f51f00c 100644 --- a/HEROES SAS GSE/DataSeries.m +++ b/HEROES SAS GSE/DataSeries.m @@ -8,7 +8,7 @@ #import "DataSeries.h" -#define MAX_CAPACITY 50 +#define MAX_CAPACITY 100 @interface DataSeries() -(float)calculateAverage; diff --git a/HEROES SAS GSE/NumberInRangeFormatter.m b/HEROES SAS GSE/NumberInRangeFormatter.m index 98801d4..16e8b1a 100644 --- a/HEROES SAS GSE/NumberInRangeFormatter.m +++ b/HEROES SAS GSE/NumberInRangeFormatter.m @@ -67,7 +67,6 @@ - (NSAttributedString *)attributedStringForObjectValue:(id)anObject withDefaultA NSBackgroundColorAttributeName: [NSColor redColor], NSForegroundColorAttributeName: [NSColor whiteColor]}; [attrString addAttributes:firstAttributes range:NSMakeRange(0, stringLength)]; } - return attrString; } diff --git a/HEROES SAS GSE/PlotWindowController.h b/HEROES SAS GSE/PlotWindowController.h index 56478de..dbba3fb 100644 --- a/HEROES SAS GSE/PlotWindowController.h +++ b/HEROES SAS GSE/PlotWindowController.h @@ -28,5 +28,5 @@ @property (nonatomic, strong) NSDictionary *data; -(void) update; -- (id)initWithData:(NSDictionary *)inputdata name:(NSString *)name; +- (id)initWithData:(NSDictionary *)inputdata name:(NSString *)string; @end diff --git a/HEROES SAS GSE/PlotWindowController.m b/HEROES SAS GSE/PlotWindowController.m index 669fbf6..840c674 100644 --- a/HEROES SAS GSE/PlotWindowController.m +++ b/HEROES SAS GSE/PlotWindowController.m @@ -76,9 +76,9 @@ - (id)init{ return [super initWithWindowNibName:@"PlotWindowController"]; } -- (id)initWithData:(NSDictionary *)inputdata name:(NSString *)name{ +- (id)initWithData:(NSDictionary *)inputdata name:(NSString *)string{ self = [self init]; - [self.MainWindow setTitle:name]; + [self.MainWindow setTitle:string]; self.data = inputdata; return self; } diff --git a/HEROES SAS GSE/TimeSeries.m b/HEROES SAS GSE/TimeSeries.m index 4d6c067..ac8f34d 100644 --- a/HEROES SAS GSE/TimeSeries.m +++ b/HEROES SAS GSE/TimeSeries.m @@ -9,7 +9,7 @@ #import "DataSeries.h" #import "TimeSeries.h" -#define MAX_CAPACITY 50 +#define MAX_CAPACITY 100 @interface TimeSeries() @property (nonatomic, strong) NSMutableArray *mytime; From 9e97ddc0d499de9b5d7c1a0c3656d322f30d9e5c Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Thu, 19 Sep 2013 18:07:08 -0600 Subject: [PATCH 6/7] fix to updated text becoming grey, updated calibrated values, updated to submodule SAS --- HEROES SAS GSE/AppController.m | 32 +++++++------- HEROES SAS GSE/DataPacket.m | 16 +++---- HEROES SAS GSE/NumberInRangeFormatter.m | 2 +- HEROES SAS GSE/en.lproj/MainMenu.xib | 58 ++++++++++++++++++++++++- 4 files changed, 81 insertions(+), 27 deletions(-) diff --git a/HEROES SAS GSE/AppController.m b/HEROES SAS GSE/AppController.m index ba99fbf..13db60f 100644 --- a/HEROES SAS GSE/AppController.m +++ b/HEROES SAS GSE/AppController.m @@ -209,32 +209,32 @@ -(void)awakeFromNib{ formatter.minimum = 75; formatter = [self.SAS1V2p5Voltage formatter]; - formatter.maximum = 2.5 * 1.20; - formatter.minimum = 2.5 * 0.80; + formatter.maximum = 2.5 * 1.10; + formatter.minimum = 2.5 * 0.90; formatter = [self.SAS2V2p5Voltage formatter]; - formatter.maximum = 2.5 * 1.20; - formatter.minimum = 2.5 * 0.80; + formatter.maximum = 2.5 * 1.10; + formatter.minimum = 2.5 * 0.90; formatter = [self.SAS1V3p3Voltage formatter]; - formatter.maximum = 3.3 * 1.20; - formatter.minimum = 3.3 * 0.80; + formatter.maximum = 3.3 * 1.10; + formatter.minimum = 3.3 * 0.90; formatter = [self.SAS2V3p3Voltage formatter]; - formatter.maximum = 3.3 * 1.20; - formatter.minimum = 3.3 * 0.80; + formatter.maximum = 3.3 * 1.10; + formatter.minimum = 3.3 * 0.90; formatter = [self.SAS1V5Votlage formatter]; - formatter.maximum = 5.0 * 1.20; - formatter.minimum = 5.0 * 0.80; + formatter.maximum = 5.0 * 1.10; + formatter.minimum = 5.0 * 0.90; formatter = [self.SAS2V5Votlage formatter]; - formatter.maximum = 5.0 * 1.20; - formatter.minimum = 5.0 * 0.80; + formatter.maximum = 5.0 * 1.10; + formatter.minimum = 5.0 * 0.90; formatter = [self.SAS1V12Voltage formatter]; - formatter.maximum = 12.0 * 1.20; - formatter.minimum = 12.0 * 0.80; + formatter.maximum = 12.0 * 1.10; + formatter.minimum = 12.0 * 0.90; formatter = [self.SAS2V12Voltage formatter]; - formatter.maximum = 12.0 * 1.20; - formatter.minimum = 12.0 * 0.80; + formatter.maximum = 12.0 * 1.10; + formatter.minimum = 12.0 * 0.90; for (NSString *title in self.PlotWindowsAvailable) { [self.TimeProfileMenu addItemWithTitle:title action:NULL keyEquivalent:@""]; diff --git a/HEROES SAS GSE/DataPacket.m b/HEROES SAS GSE/DataPacket.m index 67dea55..baadd0e 100644 --- a/HEROES SAS GSE/DataPacket.m +++ b/HEROES SAS GSE/DataPacket.m @@ -15,14 +15,14 @@ #define NUM_VOLTAGE_READINGS 5 //Calibrated parameters -#define CLOCKING_ANGLE_PYASF -33.26 -#define CENTER_X_PYASF 0 -#define CENTER_Y_PYASF 0 -#define TWIST_PYASF 180.0 -#define CLOCKING_ANGLE_PYASR -53.00 -#define CENTER_X_PYASR -210 -#define CENTER_Y_PYASR 56 -#define TWIST_PYASR 0.0 +#define CLOCKING_ANGLE_PYASF -32.425 //model is -33.26 +#define CENTER_X_PYASF 124.68 //mils +#define CENTER_Y_PYASF -74.64 //mils +#define TWIST_PYASF 180.0 //needs to be ~180 +#define CLOCKING_ANGLE_PYASR -52.175 //model is -53.26 +#define CENTER_X_PYASR -105.59 //mils +#define CENTER_Y_PYASR -48.64 //mils +#define TWIST_PYASR 0.0 //needs to be ~0 @interface DataPacket() @property (nonatomic, strong) NSMutableArray *chordPoints; diff --git a/HEROES SAS GSE/NumberInRangeFormatter.m b/HEROES SAS GSE/NumberInRangeFormatter.m index 16e8b1a..e1d4fbb 100644 --- a/HEROES SAS GSE/NumberInRangeFormatter.m +++ b/HEROES SAS GSE/NumberInRangeFormatter.m @@ -52,7 +52,7 @@ - (NSAttributedString *)attributedStringForObjectValue:(id)anObject withDefaultA NSInteger stringLength = [string length]; NSDictionary *firstAttributes = @{ - NSBackgroundColorAttributeName: [NSColor whiteColor], NSForegroundColorAttributeName: [NSColor blackColor]}; + NSBackgroundColorAttributeName: [NSColor whiteColor]}; [attrString addAttributes:firstAttributes range:NSMakeRange(0, stringLength)]; if ([[attrString string] floatValue] < self.minimum) diff --git a/HEROES SAS GSE/en.lproj/MainMenu.xib b/HEROES SAS GSE/en.lproj/MainMenu.xib index c1d0d8f..a1365a6 100644 --- a/HEROES SAS GSE/en.lproj/MainMenu.xib +++ b/HEROES SAS GSE/en.lproj/MainMenu.xib @@ -3789,7 +3789,6 @@ {{59, 22}, {56, 22}} - _NS:1535 {1000, 750} YES @@ -4363,7 +4362,6 @@ {{241, 38}, {51, 17}} - _NS:1535 YES @@ -18443,6 +18441,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if clock sync is better than 1 ms + + @@ -18451,6 +18457,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if clock sync is better than 1 ms + + @@ -18520,6 +18534,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if receiving packets + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18529,10 +18551,26 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if receiving packets + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if temperature is not 0 + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18540,6 +18578,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if temperature is not 0 + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -18547,6 +18593,14 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Green if temperature is not 0 + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin From 26aa7a7896a12619ecc78efa7871bc1f654643cf Mon Sep 17 00:00:00 2001 From: Steven Christe Date: Thu, 19 Sep 2013 18:07:59 -0600 Subject: [PATCH 7/7] updated to submodule SAS --- HEROES SAS GSE/lib/SAS-aspect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HEROES SAS GSE/lib/SAS-aspect b/HEROES SAS GSE/lib/SAS-aspect index ea31ebf..fd6da28 160000 --- a/HEROES SAS GSE/lib/SAS-aspect +++ b/HEROES SAS GSE/lib/SAS-aspect @@ -1 +1 @@ -Subproject commit ea31ebfa09aa66c0f14202a60373faa9a1b9574b +Subproject commit fd6da283dfcedb38b9151dfb2759754df37e17f1