CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    63

    Monitor data in the View

    I am making physical measurements using hardware controlled from a Doc/View based project. The hardware can return several numeric results per second, continuously.
    I want to run a series of tests, and read the measurements in the View. Unfortunately, using UpdateAllViews to get the View to display the contents of the appropriate member variable from the Doc causes only the very last result to be displayed the screen.

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Monitor data in the View

    You're going to have to either change what you pass into UpdateAllViews to some kind of collection the view can use, or store previous data in the view.

  3. #3
    Join Date
    Feb 2002
    Posts
    3,788

    Re: Monitor data in the View

    Quote Originally Posted by crasher View Post
    I am making physical measurements using hardware controlled from a Doc/View based project. The hardware can return several numeric results per second, continuously.
    I want to run a series of tests, and read the measurements in the View. Unfortunately, using UpdateAllViews to get the View to display the contents of the appropriate member variable from the Doc causes only the very last result to be displayed the screen.
    it may be due to the way you are storing the values coming from the hardware. it's really hard to tell without seing some of the relevant code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured