Dominon Radio Astropyhsical Observatory Herzberg Institute of Astrophysics National Research Conseil national Council Canada de recherches Canada ACSIS Internal Design Review 21-23 June 1999 ACSIS Correlator Crate Software
HIA/DRAO ACSIS Correlator Crate Software Outline • System Overview • System Interfaces • Observing Protocol: How ACSIS is used • Software components and structure ACSIS Internal Design Review, 21-23 June 1999
HIA/DRAO ACSIS Correlator Crate Software Main Functions • Configure and control correlator modules in a crate • Provide test facilities • Readout lag and status data from correlator modules • Sum lag data • Send correlator module data to DRAMA tasks that are monitoring it. ACSIS Internal Design Review, 21-23 June 1999
HIA/DRAO ACSIS Correlator Crate Software The Context Diagram ACSIS Internal Design Review, 21-23 June 1999
Project Nam e: ACSIS Correlator Project Path: c:\proj\acsis\corr\case\ Chart File: context.trg Chart N am e: Context Diagram Hardware Created On: May -30-1999 Conf iguration Created By : Gary H ov ey TODD File Modif ied On: Jun-03-1999 or other DRAMA program Modif ied By : Gary H ov ey C om m ands | H dwConf igParm s Param eters C orrRdy 0 D V Export D ata Seq # AC SIS Reduction RTS C orrelator Sy stem or other program (s) SV XilinksProgram D ata Com m ands | Param eters Xilinks Com m and Program File File(s)
HIA/DRAO ACSIS Correlator Crate Software The Data Flow Diagram ACSIS Internal Design Review, 21-23 June 1999
Project N am e: AC SIS Correlator Project Path: c:\proj\acsis\corr\case\ Chart File: trg00001.trg Chart N am e: AC SIS Correlator Created On: May -30-1999 Created By : Gary H ov ey Modif ied On: Jun-03-1999 Modif ied By : Gary H ov ey Export D ata 1 H ost Com m ands | Export D ata Interf ace Param eters 4 Send D ata Crate C om m and + Param eters XilinksProgram Data Processing HdwConf igParm s Com m and + Correlator Param eters Module D ata Seq # 2 3 Raw Correlator C rate Process Module D ata SV Controller D ata DV CorrR dy
HIA/DRAO ACSIS Correlator Crate Software External Interfaces • Configuration and observing parameters passed in ASCII space-delimited text files. – Parameters can also be modified, sent, retrieved using DRAMA set and get commands. • Control Commands sent using DRAMA obeyw commands – REBOOT – CHECK_HEALTH – INITIALISE – START – STOP ACSIS Internal Design Review, 21-23 June 1999
HIA/DRAO ACSIS Correlator Crate Software External Interfaces (continued) • Data “Exported” to Reduction system using DRAMA parameter monitoring facilities. Data tagged with sequence numbers. • Integration and readout controlled using RTS signals – Sequence Number – Sequence Valid – Data Valid – Subsystem Ready ACSIS Internal Design Review, 21-23 June 1999
HIA/DRAO ACSIS Correlator Crate Software Observing Protocol • Steps needed to use the correlator during an observation. • Ingredients: – Low-level Crate configuration file – DRAMA obeyw INITIALISE – DRAMA set StartSeq x EndSeq y – obeyw START ACSIS Internal Design Review, 21-23 June 1999
HIA/DRAO ACSIS Correlator Crate Software Observing Protocol (continued) • Procedure: 1) Generate configuration text file. 2) Send a DRAMA obeyw INITIALISE. Completion means the configuration file was read. 3) Optionally, send DRAMA set commands to modify any parameters. 4) Send a DRAMA set commands to set the start and end sequence. 5) Send a DRAMA obeyw START command. 6) Setup and run RTS so it generates sequence numbers. 7) When the End Sequence is reached quit or continue at step 2, 3, or 4. ACSIS Internal Design Review, 21-23 June 1999
HIA/DRAO ACSIS Correlator Crate Software Crate software components: • Tasks – Host Interface Task – Correlator Controller Task – Process Data Task – Send Data Task • Support Modules – Parameter data handling module – RTS driver module – Interprocess Communications Module – Crate and correlator driver module ACSIS Internal Design Review, 21-23 June 1999
Project Name: ACSIS Correlator Project Path: c:\proj\acsis\corr\case\ Chart File: stc00001.stc Chart Name: HostIF_Task Created On: Jun-03-1999 Created By: Gary Hovey HostIFtsk Modified On: Jun-06-1999 Modified By: Gary Hovey HostName BufSizes Status CmdList DataList IPC:Wait4Event HostName BufSizes A Parm::GetHostName Parm:GetBufSizes Status Status Status Crate:init Crate:start Crate:stop
Project Name: ACSIS Correlator Project Path: c:\proj\acsis\corr\case\ Chart File: stc00007.stc Chart Name: RTSModule SIOInterrupt Created On: Jun-02-1999 Created By: Gary Hovey Modified On: Jun-06-1999 Modified By: Gary Hovey Crate:init RTS_IF:hndl_interrupt rtsparm rtsstatus sizeof(eventBuf) seqNum RTS_IF:init Que:cratetsk DV eventBuf SIOparm eventBuf SV VxWorks:InitSIO VxWorks:malloc VxWorks:rdSIO VxWorks:postq RTS SIO SIO Interface Port Port Logic
Crate:init Crate:start Crate:stop HostIF_Task Crate:start cratestate Crate:stop cratestate cratestate BufSizes cratestate cratestate Crate:init Crate:init Parm:GetBufSizes Parm:GetCrateState HostIF_Task cratestate crateparm HostName Parm:GetCrateParm Parm:SetCrateState Parm::GetHostName Parameters CrateControllerTask Parm:LoadDefaults FileName:corrprm.txt fd val fd crateparm Parm:SetCrateParm Clib:fopen Clib:fscanf corrprm.txt Parameters
Project Name: ACSIS Correlator HostIF_Task Project Path: c:\proj\acsis\corr\case\ Chart File: stc00006.stc Chart Name: IPCModule HostName BufSizes Created On: Jun-02-1999 Created By: Gary Hovey Modified On: Jun-06-1999 CmdList Modified By: Gary Hovey Status DataList IPC:Wait4Event Status HostName DRAMA:DitsStop HostName Status BufSizes ParmSysId NumCmds ParmSysId ParmSysId DRAMA:DitsMainLoop SdpPut CmdList NumData SdpGet Status Status Status DataList Statu Status Status A DRAMA:DitsInit DRAMA:SdpInit DRAMA:DitsPutParSys DRAMA:DitsPutActionHandlers DRAMA:SdpCreate
SendDataTask CMbuf Status IPC:updateCMdata Status CMData DRAMA:DitsUpdate
Recommend
More recommend