Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37451

Document interface for readDaq in ts_m2fpga project in Phase 4

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:

      Description

      Continue the experiment with LabVIEW FPGA code and C programming using the FPGA C API Interface. Work on the comments/questions in the previous tickets DM-36940 and DM-37040.

      • question2: what will happen if I want to release 5 elements and there are only 2 or 0 elements in the FIFO?
      • question3: what will happen if I want to add more elements in the FIFO but there is no available space?

        Attachments

          Issue Links

            Activity

            Hide
            pcortes Patricio Cortes added a comment - - edited

            Based on my experimentation with the scenario you described before, for the first iteration, there is no problem. But for the second iteration, we will get the Timed Out? terminal in True after 6 new elements were written in.

            Show
            pcortes Patricio Cortes added a comment - - edited Based on my experimentation with the scenario you described before, for the first iteration, there is no problem. But for the second iteration, we will get the Timed Out? terminal in True after 6 new elements were written in.
            Hide
            pcortes Patricio Cortes added a comment - - edited

            Please check the first modified comment. I already answered the last question. 

            Show
            pcortes Patricio Cortes added a comment - - edited Please check the first modified comment. I already answered the last question. 
            Hide
            ttsai Te-Wei Tsai added a comment -

            You are sure 6 elements were written in? How?

            Show
            ttsai Te-Wei Tsai added a comment - You are sure 6 elements were written in? How?
            Hide
            ttsai Te-Wei Tsai added a comment -

            Because the "for" loop is used in the FPGA side, 6 elements will be written in.

            Show
            ttsai Te-Wei Tsai added a comment - Because the "for" loop is used in the FPGA side, 6 elements will be written in.
            Hide
            ttsai Te-Wei Tsai added a comment -

            Great job done! Now we know the behavior of FIFO and C API.

            Show
            ttsai Te-Wei Tsai added a comment - Great job done! Now we know the behavior of FIFO and C API.

              People

              Assignee:
              pcortes Patricio Cortes
              Reporter:
              pcortes Patricio Cortes
              Reviewers:
              Te-Wei Tsai
              Watchers:
              Patricio Cortes, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.