Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add SWT, requires PR #132 #133

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>ORCA</string>
<key>CFBundleShortVersionString</key>
<string>12.0h</string>
<key>CFBundleSignature</key>
<string>ORCA</string>
<key>CFfile://localhost/Users/markhowe/Dev/Orca/Source/Objects/Misc%20Objects/SQL/BundleGetInfoString</key>
<string>Orca 12, Copyright ©2014 Mark Howe Physics Dept, University of North Carolina</string>
<key>LSMinimumSystemVersion</key>
<string>10.6</string>
<string>10.15</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
Expand Down
143 changes: 126 additions & 17 deletions Orca.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Orca.xcodeproj/xcshareddata/xcschemes/Orca.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1230"
LastUpgradeVersion = "1500"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
10 changes: 5 additions & 5 deletions Source/Experiments/LEGEND/L200/ORL200Model.m
Original file line number Diff line number Diff line change
Expand Up @@ -1171,15 +1171,15 @@ - (void) influxLoadSetUp:(NSString*)name segmentId:(int)groupIndex timeStamp:(NS
[aCmd addField: @"trigOutEnable" withBoolean:[hw trigOutEnabled:chan]];
[aCmd addField: @"threshold" withLong:[hw threshold:chan]];
[aCmd addField: @"adcGain" withLong:[hw adcGain:chan]];
[aCmd addField: @"trigGain" withLong:[hw trigGain:chan]];
// [aCmd addField: @"trigGain" withLong:[hw trigGain:chan]];
[aCmd addField: @"baseLineDAC" withLong:[hw baseline:chan]];
[aCmd addField: @"shapeTime" withLong:[hw shapeTime:chan]];
[aCmd addField: @"filterType" withLong:[hw filterType:chan]];
[aCmd addField: @"flatTopTime" withLong:[hw flatTopTime:chan]];
// [aCmd addField: @"filterType" withLong:[hw filterType:chan]];
// [aCmd addField: @"flatTopTime" withLong:[hw flatTopTime:chan]];
[aCmd addField: @"poleZeroTime" withLong:[hw poleZeroTime:chan]];
[aCmd addField: @"postTrigger" withLong:[hw postTrigger:chan]];
// [aCmd addField: @"postTrigger" withLong:[hw postTrigger:chan]];
[aCmd addField: @"baselineSlew" withLong:[hw baselineSlew:chan]];
[aCmd addField: @"swTrigInclude" withLong:[hw swTrigInclude:chan]];
[aCmd addField: @"swTrigInclude" withLong:[hw swtInclude:chan]];

//card level settings
[aCmd addField: @"promSlot" withLong:[hw promSlot]];
Expand Down
50 changes: 25 additions & 25 deletions Source/Objects/Control/RunControl/ORRunController.m
Original file line number Diff line number Diff line change
Expand Up @@ -279,31 +279,31 @@ - (void) registerNotificationObservers

- (void) updateWindow
{
[super updateWindow];
[self populatePopups];
[self runStatusChanged:nil];
[self timedRunChanged:nil];
[self repeatRunChanged:nil];
[self elapsedTimesChanged:nil];
[self startTimeChanged:nil];
[self runNumberChanged:nil];
[self runNumberDirChanged:nil];
[self runModeChanged:nil];
[self runTypeChanged:nil];
[self remoteControlChanged:nil];
[self runNumberLockChanged:nil];
[self runTypeLockChanged:nil];
[self quickStartChanged:nil];
[self definitionsFileChanged:nil];
[self startUpScriptStateChanged:nil];
[self shutDownScriptStateChanged:nil];
[self startUpScriptChanged:nil];
[self shutDownScriptChanged:nil];
[self vetosChanged:nil];
[self timeLimitChanged:nil];
[self numberOfWaitsChanged:nil];
[groupView setNeedsDisplay:YES];
[self selectedRunTypeScriptChanged:nil];
[super updateWindow];
[self populatePopups];
[self runStatusChanged:nil];
[self timedRunChanged:nil];
[self repeatRunChanged:nil];
[self elapsedTimesChanged:nil];
[self startTimeChanged:nil];
[self runNumberChanged:nil];
[self runNumberDirChanged:nil];
[self runModeChanged:nil];
[self runTypeChanged:nil];
[self remoteControlChanged:nil];
[self runNumberLockChanged:nil];
[self runTypeLockChanged:nil];
[self quickStartChanged:nil];
[self definitionsFileChanged:nil];
[self startUpScriptStateChanged:nil];
[self shutDownScriptStateChanged:nil];
[self startUpScriptChanged:nil];
[self shutDownScriptChanged:nil];
[self vetosChanged:nil];
[self timeLimitChanged:nil];
[self numberOfWaitsChanged:nil];
[groupView setNeedsDisplay:YES];
[self selectedRunTypeScriptChanged:nil];
}


Expand Down
857 changes: 423 additions & 434 deletions Source/Objects/Hardware/Internet/FlashCam/FlashCamADC/FlashCamADC.xib

Large diffs are not rendered by default.

1,288 changes: 830 additions & 458 deletions Source/Objects/Hardware/Internet/FlashCam/FlashCamADC/FlashCamADCStd.xib

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@
IBOutlet NSMatrix* baselineMatrix;
IBOutlet NSMatrix* thresholdMatrix;
IBOutlet NSMatrix* adcGainMatrix;
IBOutlet NSMatrix* trigGainMatrix;
// IBOutlet NSMatrix* trigGainMatrix;
IBOutlet NSMatrix* shapeTimeMatrix;
IBOutlet NSMatrix* filterTypeMatrix;
IBOutlet NSMatrix* flatTopTimeMatrix;
// IBOutlet NSMatrix* filterTypeMatrix;
// IBOutlet NSMatrix* flatTopTimeMatrix;
IBOutlet NSMatrix* poleZeroTimeMatrix;
IBOutlet NSMatrix* postTriggerMatrix;
// IBOutlet NSMatrix* postTriggerMatrix;
IBOutlet NSMatrix* baselineSlewMatrix;
IBOutlet NSMatrix* swTrigIncludeMatrix;
IBOutlet NSMatrix* swtIncludeMatrix;
IBOutlet NSMatrix* swtCalibrationMatrix;
IBOutlet NSMatrix* swtThresholdMatrix;
IBOutlet NSMatrix* swtShapingTimeMatrix;
IBOutlet NSTextField* baseBiasTextField;
IBOutlet NSTextField* shapingLabel;
IBOutlet NSTextField* flatTopLabel;
Expand Down Expand Up @@ -80,14 +83,17 @@
- (void) baselineChanged:(NSNotification*)note;
- (void) thresholdChanged:(NSNotification*)note;
- (void) adcGainChanged:(NSNotification*)note;
- (void) trigGainChanged:(NSNotification*)note;
//- (void) trigGainChanged:(NSNotification*)note;
- (void) shapeTimeChanged:(NSNotification*)note;
- (void) filterTypeChanged:(NSNotification*)note;
- (void) flatTopTimeChanged:(NSNotification*)note;
//- (void) filterTypeChanged:(NSNotification*)note;
//- (void) flatTopTimeChanged:(NSNotification*)note;
- (void) poleZeroTimeChanged:(NSNotification*)note;
- (void) postTriggerChanged:(NSNotification*)note;
//- (void) postTriggerChanged:(NSNotification*)note;
- (void) baselineSlewChanged:(NSNotification*)note;
- (void) swTrigIncludeChanged:(NSNotification*)note;
- (void) swtIncludeChanged:(NSNotification*)note;
- (void) swtCalibrationChanged:(NSNotification*)note;
- (void) swtThresholdChanged:(NSNotification*)note;
- (void) swtShapingTimeChanged:(NSNotification*)note;
- (void) baseBiasChanged:(NSNotification*)note;
- (void) majorityLevelChanged:(NSNotification*)note;
- (void) majorityWidthChanged:(NSNotification*)note;
Expand All @@ -108,14 +114,17 @@
- (IBAction) baselineAction:(id)sender;
- (IBAction) thresholdAction:(id)sender;
- (IBAction) adcGainAction:(id)sender;
- (IBAction) trigGainAction:(id)sender;
//- (IBAction) trigGainAction:(id)sender;
- (IBAction) shapeTimeAction:(id)sender;
- (IBAction) filterTypeAction:(id)sender;
- (IBAction) flatTopTimeAction:(id)sender;
//- (IBAction) filterTypeAction:(id)sender;
//- (IBAction) flatTopTimeAction:(id)sender;
- (IBAction) poleZeroTimeAction:(id)sender;
- (IBAction) postTriggerAction:(id)sender;
//- (IBAction) postTriggerAction:(id)sender;
- (IBAction) baselineSlewAction:(id)sender;
- (IBAction) swTrigIncludeAction:(id)sender;
- (IBAction) swtIncludeAction:(id)sender;
- (IBAction) swtCalibrationAction:(id)sender;
- (IBAction) swtThresholdAction:(id)sender;
- (IBAction) swtShapingTimeAction:(id)sender;
- (IBAction) baseBiasAction:(id)sender;
- (IBAction) majorityLevelAction:(id)sender;
- (IBAction) majorityWidthAction:(id)sender;
Expand Down
Loading