Date post: | 15-Jan-2016 |
Category: |
Documents |
Upload: | dinah-malone |
View: | 212 times |
Download: | 0 times |
D. R. Bett FONT Meeting 5th May 2012 1
Current DAQ State
D. R. Bett
D. R. Bett FONT Meeting 5th May 2012 2
Interface withFONT movers
mover_control.viCalibratedinterface withDT9854 module
lophaser.vi
LabVIEW project
settings settings
FONT5_board1.vi
Send commandsReceive dataInterleave fbLog dataLog EPICS data
FONT5 board #1
commandsdata .dat.dac.rb.set.epx
FONT5_board2.vi
Send commandsReceive dataInterleave fbLog data
FONT5 board #2
commandsdata .dat.dac.rb.set
MARCH 2012
D. R. Bett FONT Meeting 5th May 2012 3
New DAQ scheme
• Addresses several issues:1. Rob’s DAQ modified to cope with two bunch
mode known not to correctly perform interleaving of feedback, latency scans
2. Necessary to maintain a separate instance of code for each board – to add new features, each must be modified
3. Code distributed and difficult to manage
D. R. Bett FONT Meeting 5th May 2012 4
FONT5_board.vi
Send commandsReceive data
Save dataInterleave fb
main.viSpecify for each ADC: Data, procBPM, heliax, LO
hardware_assignment.vi
EPICS.viGraphicalpresentationof EPICS data
Interface withFONT movers
mover_control.viCalibratedinterface withDT9854 module
lophaser.vi
Take data runs,optimize settings
scan.vi
ADCs, DACsreadbacks
feedbackstate
EPICS
.dat
.dac
.rb
.set
.epx
phase
newvalues
ADCsassignment
newvalues position
commandsdata
settingssettings
APRIL 2012
D. R. Bett FONT Meeting 5th May 2012 5
Improved VIs
• FONT5_board.vi– General improvement to legibility– Live monitoring of DACs– Direct referencing of control registers
• Mover_control.vi– Parallel execution enabled
• Scope_daq.vi– Single sample mode added
D. R. Bett FONT Meeting 5th May 2012 6
Brand New VIs
• Main.vi– Monitor board data– Synchronize data logging, interleaving
• Scan.vi– Automated variation of parameters
• EPICS.vi– effectively “spun out” from FONT5_board.vi
• Hardware_assignment.vi
D. R. Bett FONT Meeting 5th May 2012 7
Main.vi
Save logic(synchronized)
Interleave feedback
Position monitoring
Phase monitoring
Sum and difference monitoring(saturation)
Skew monitoring(timing)
D. R. Bett FONT Meeting 5th May 2012 8
scan.vi
Set scanattributes
Scan results(phasing LOs)
D. R. Bett FONT Meeting 5th May 2012 9
scan.vi
Scan results(zeroing movers)
D. R. Bett FONT Meeting 5th May 2012 10
Summary
• No functionality lost
• FONT5 board VI– more generic– less monolithic
• All hardware code collected together
• Facility for automatic parameter scans
• Some bugs to iron out
D. R. Bett FONT Meeting 5th May 2012 11
Appendix: Other VIs
Define thehardwarelayout to be stored in the .set file
Knowledge ofwhich phaseshifter controlswhich channelrequired forautomaticphasing of LOs
D. R. Bett FONT Meeting 5th May 2012 12
Appendix: Other VIs
EPICS logic stripped outof the FONT5 board VI
Presented graphically andmade available for logging