forked from areaDetector/specsAnalyser
-
Notifications
You must be signed in to change notification settings - Fork 0
Logical variable #1
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
Open
gustavosr8
wants to merge
15
commits into
master
Choose a base branch
from
logical_variable
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
532322f
Add SpecsLab Prodigy Remote Control Protocol manual.
guirodrigueslima 3651234
Add clang-format and apply it.
gustavosr8 2073ea1
Check acquire as boolean instead of integer.
gustavosr8 85a4986
Remove commented code.
gustavosr8 cb2b2b9
Remove workaround for reading the ordinate range.
gustavosr8 0763d33
Fix pointer type casting when allocating memory.
gustavosr8 0b29453
Abort acquisition when any error occur.
gustavosr8 f9051d3
Check for parameter presence in string before parsing it.
gustavosr8 b4a0c13
Repurpose getAnalyserParameterType function.
gustavosr8 5d5df7d
Remove extra points request.
gustavosr8 67e1616
Define LVS-related PVs.
gustavosr8 54a7131
Implement Scan Variable parameter.
gustavosr8 9678f6f
Parse Start/End spectrum values from command.
gustavosr8 2f8c452
Add function to send DefineSpectrumLVS command.
gustavosr8 5b46994
Refactor acquisition logic to handle logical variable spectrum.
gustavosr8 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| Language: Cpp | ||
| BasedOnStyle: WebKit | ||
| PointerAlignment: Right | ||
| ColumnLimit: 80 | ||
| --- |
Binary file not shown.
9 changes: 4 additions & 5 deletions
9
iocs/specsAnalyserIOC/specsAnalyserApp/src/specsAnalyserAppMain.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,19 @@ | ||
| #include <stddef.h> | ||
| #include <stdio.h> | ||
| #include <stdlib.h> | ||
| #include <stddef.h> | ||
| #include <string.h> | ||
| #include <stdio.h> | ||
|
|
||
| #include "epicsExit.h" | ||
| #include "epicsThread.h" | ||
| #include "iocsh.h" | ||
|
|
||
| int main(int argc,char *argv[]) | ||
| int main(int argc, char *argv[]) | ||
| { | ||
| if(argc>=2) { | ||
| if (argc >= 2) { | ||
| iocsh(argv[1]); | ||
| epicsThreadSleep(.2); | ||
| } | ||
| iocsh(NULL); | ||
| epicsExit(0); | ||
| return(0); | ||
| return (0); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.