12
D. R. Bett FONT Meeting 5 th May 2012 1 Current DAQ State D. R. Bett

D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

Embed Size (px)

Citation preview

Page 1: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

D. R. Bett FONT Meeting 5th May 2012 1

Current DAQ State

D. R. Bett

Page 2: D. R. BettFONT Meeting 5 th May 20121 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

Page 3: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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

Page 4: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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

Page 5: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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

Page 6: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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

Page 7: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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)

Page 8: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

D. R. Bett FONT Meeting 5th May 2012 8

scan.vi

Set scanattributes

Scan results(phasing LOs)

Page 9: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

D. R. Bett FONT Meeting 5th May 2012 9

scan.vi

Scan results(zeroing movers)

Page 10: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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

Page 11: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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

Page 12: D. R. BettFONT Meeting 5 th May 20121 Current DAQ State D. R. Bett

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