Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Troubleshooting common issues with DAQ

IssueSolution/Workaround
DAQ not saving scalar data (BSA and non BSA) and getting F2_EventClass errorThis is caused by a bad PV in one of the lists
DAQs returning no matches and UniqueId_RBV PV not updating + fiducial rate stuck and/or redReboot the server

DAQ (1D or 2D) fails and shows the following error:

Error using repelem
Replication factors must be nonnegative integer-valued scalars or vectors.

http://physics-elog.slac.stanford.edu/facetelog/show.jsp?dir=/2024/24/15.06&pos=2024-06-15T21:36:00

This happens when a camera trigger is not set up correctly

A workaround is to find a camera that is on the same trigger and add it to your DAQ

Ask Sharon for help if this isn't clear

Bugs and Robustness

Add bugs here, newest entries on top:

IssuePersonPriorityStatusNotes

Load/clear config buttons don't work


Low

Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects. 
Warning: org.epics.ca.Context@42373389 is not serializable 
Warning: org.epics.ca.impl.ChannelImpl@3a027fd6 is not serializable 

SharonLow
Seems to be harmless
DAQ crashes and takes down the whole SIOC when total number of shots exceeds 2200 (no streaming, try with streaming on)


Reproduced this with PM03

Has to be more than 5 cameras

Background not being savedSharonHighDONE
Implement HDF5 file saving for imagesSharonHighDONE
Modify DAQ to write image data to "RAM disk"
HighN/A
Calculate how much space on disk is required
High

Install 10G switch and NAS in S10ArjunHighPlanning
Check what happens if new DAQ is started before old one is finished (failed abort)
High

Fix binning and ROI for CMOS cameras
Medium

Can't get magnet values on first DAQ?
Medium

Check that the beam rate is not equal zero if rate set to "BEAM"SpencerMedium

Fix "Use_PV" functionality.SharonMediumDONE
Fix camera triggers if DAQ fails.SharonHighDONE
"Fix cameras" button disabled if DAQ hasnt run yetSharonMediumDONE
"Fix cameras" button should use default values? - yesSharonMediumDONE
Timestamping fails on certain ROI settings?SpencerHighDONE
Upgrade all machines in S20 to 10G connectionSpencerMediumDONE
Camera binning messes up pulse ID findingSpencerMediumDONE

Feature requests

IssuePersonPriorityStatus
Add check/remove bad PVs and notify user in an obvious waySharon

Add nonBSA arrays so we can get UV spectrometer (Claudio request)SharonHighDONE
DAQ Monitor GUISharonHighDONE
Find a way to globally trigger a modifier bit (e.g. "DUMP_2_9").David

Scan function that pauses until you click 'ok'


Generate "camera config" file including trigger info and add a save/restore button. Monitor if this finished ok or not.Sharon

Load/Save Config files. Default config files.Claire

Robustness issues. . .SpencerHighIn progress
DAN featuresSharon

Documentation/commentingSpencerHighIn progress
Fix "Use_PV" functionality.SharonMediumDONE


Documentation

For now, the main references on the DAQ are these attached PDFs from IBIC 2021.

...

Main screen → Profile Monitor → LI20 → FACET DAQ (green button)

Image RemovedImage Added

Wait for a bit after pressing the FACET DAQ button.



DAQ Camera Status GUI

Main screen → Profile Monitor → LI20 → DAQ Camera Status

Image Added

Indicator lamps light up when a camera is being used by the DAQ, and the "Shots Recorded" field updates as the DAQ runs

Image Added