Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lebt-alisson-scanner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icshwi
lebt-alisson-scanner
Commits
836b51e3
Commit
836b51e3
authored
8 years ago
by
Jean-François Denis
Browse files
Options
Downloads
Patches
Plain Diff
Create the wavefom for the intensity graph
parent
bc148e20
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
db/EMU_BUFF_CHAN.template
+61
-0
61 additions, 0 deletions
db/EMU_BUFF_CHAN.template
with
61 additions
and
0 deletions
db/EMU_BUFF_CHAN.template
0 → 100644
+
61
−
0
View file @
836b51e3
## COMPRESS SCALARE VALUE
record(compress, "$(DEVICE):BUFF-$(SIGNAL)-COMP") {
field(NSAM, "$(NELM_COMP)")
field(ALG,"Circular Buffer")
field(INP,"$(DEVICE):$(SIGNAL)-COMP CPP")
}
## Reset buffer
record(bo,$(DEVICE):BUFF-$(SIGNAL)-COMP-RES){
field(DOL,"$(MTRREC) CPP")
field(OUT,"$(DEVICE):BUFF-$(SIGNAL)-COMP.RES PP")
}
## WAVEFORM FINAL
record(waveform, "$(DEVICE):BUFF-$(SIGNAL2)") {
field(FTVL, "FLOAT")
field(NELM, "$(NELM)")
}
####################################################################
########################## CREATE THE ANGLE WAVEFORM ###############
####################################################################
## Function that compute the coefficient between MRAD and VOLTAGE
record(aSub, "$(DEVICE):BUFF-$(SIGNAL)-FUNC") {
######### INPUTS #########
## Waveform data
field(FTA, "FLOAT")
field(NOA,$(NELM_COMP))
field(INPA, "$(DEVICE):BUFF-$(SIGNAL)-COMP")
## Waveform data reentrance
field(FTB, "FLOAT")
field(NOB,$(NELM))
field(INPB,"$(DEVICE):BUFF-$(SIGNAL2)")
## Motor position // process the record after each position
field(FTC, "LONG")
field(NOC,1)
field(INPC,"$(DEVICE):$(SCAN_SLIT)-NORD_POS CPP")
## Nb angle total
field(FTD, "LONG")
field(NOD, "1")
field(INPD, "$(DEVICE):$(SCAN_EF).NPTS")
## Nb position total
field(FTE, "LONG")
field(NOE, "1")
field(INPE, "$(DEVICE):$(SCAN_SLIT).NPTS")
######### OUTPUTS #########
## ANGLE Waveform converted in MRAD (to save)
field(FTVA, "FLOAT")
field(NOVA, "$(NELM)")
field(OUTA, "$(DEVICE):BUFF-$(SIGNAL2) PP")
######### FUNCTION #######
field(SNAM, "CREATE_TAB")
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment