DetectorWorkflow.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132
  1. Five states of the Detector,IDLE,AED1,AED2 ,HST and RECOVER
  2. 1、IDLE: Idle state , the detector will not acquire image, enter this state by calling COM_Stop.
  3. 2、AED1: It is refreshing template at this state, enter this state by calling COM_AedAcq at IDLE state, it will takes 4-5 seconds and turn to AED2 state automatically.
  4. 3、AED2: It detect the X-ray automatically, and acquire the image.
  5. 4、HST: It can acquire the image by trigging the hand switch, enter this state by calling COM_HstAcq at IDLE state.
  6. 5. RECOVER: This state is the panel recovery state and will last for about 10 seconds. In the AED state, after each picture is acquired, the panel automatically recovers.
  7. During this time, the COM_Stop command is called to exit the AED state, and the panel enters the Recover state and enters the IDLE state.
  8. Handswitch workflow:
  9. 1 Make the detector initialization, then receive the event “EVENT_LINKUP”.
  10. 2 Enter HST mode by calling COM_HstAcq when the panel is in the IDLE state.
  11. 3 Expose with the hand switch.
  12. 4 Get the image by calling COM_GetImage when event “EVENT_IMAGEVALID” is received.
  13. 5 Exit HST mode by calling COM_Stop after acquisition finished.
  14. 6 Repeat steps 2-5 to do next acquisition.
  15. 流程应该是
  16. 1 调用COM_HstAcq进入HST状态
  17. 2 手闸生效后,调用COM_ExposeReq
  18. 3 Ready event到来,或者硬同步信号闭合,使能X射线。
  19. 4 出图
  20. AED workflow:
  21. 1 Make the detector initialization, then receive the event “EVENT_LINKUP”.
  22. 2 Enter AED1 mode by calling COM_AedAcq when the panel is in the IDLE state.
  23. 3 Panel will enter AED2 mode after 4-5 seconds. It's time to exposure.
  24. 4 Get the image by calling COM_GetImage when event “EVENT_IMAGEVALID” is received.
  25. 5 Exit AED mode by calling COM_Stop after acquisition finished.
  26. 6 Repeat steps 2-5 to do next acquisition.
  27. NOTE: In the AED mode, the command COM_Stop is called after the previous acquisition, and the command COM_AedAcq is called after the panel state is in the
  28. IDLE state, Which is a suggested method for collecting multiple Images.