Exercise_5 - Exercise 5 A&EP 264 Fall 2007 Timing and pulse...

Info icon This preview shows page 1. Sign up to view the full content.

Exercise 5, A&EP 264, Fall 2007 Timing and pulse generation In this exercise we will work with the onboard timers of the NI 6221 DAQ card. We wil use the programs Timer.cpp and Pulse_Train.cpp given in Introduction to DAQmx data acquisition programming posted to the AEP264 blackboard. Time interval measurement Run the program Timer.cpp and observe the minimum measurable time delay between two DAQmxReadCounterScalarU32() function calls. Now record the displayed time intervals when the delay function is used to set desired time intervals of 10, 20, 50, 100, 200, 500 and 1000 milliseconds. What conclusion can you draw concerning the computer “overhead” associated with the delay() function? This is the reason that a time interval of 200 milliseconds was used in the DAC example of Exercise 3. Time delays less than 200 milliseconds will need to be corrected for the additional execution time for the delay() function. Continuous pulse generation Step 1: Run the program Pulse_Train.cpp for various values for the time between the
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '08
  • COOL
  • Space, Delay, pulse width

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern