Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Windows
 Charting and Real-Time Graphics Tools for Windows
 Problems with Realtime charting tool c++ using XP?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

no21

1 Posts

Posted - 20 Apr 2010 :  02:59:23  Show Profile  Reply with Quote
Hi all,

In a program that is used and developped for many years now we use the Realtime charting tools for Windows in c++. We still use revision 2.52.

Now we are building a new version that is supposed to run on Windows XP. Somehow, it seems that at unpredictable moments, the data that is drawn on the graphs is incorrect. This results in a realy 'wide' line in the graph, where it should be a nice sine funtion.



As you can see, in the first part of the graph, everything looks normal. In the second part of the graph, the error occurs.

In this program, the sampling of the data, and the drawing of the chart are different threads. The strange thing is that as soon as the drawing of the chart is restarted, everything goes back to normal, and the problem disapears.

This leads us to believe that the problem is in the Quinn-Curtis functions, or in our calls to those functions.

Can you give me some pointers to where to start searching?

Thanks in advance!
no21

P.S. The older version of this program runs on Windows 2000 and doesn't have this problem.

quinncurtis

1534 Posts

Posted - 20 Apr 2010 :  08:48:46  Show Profile  Reply with Quote
There is no support we can supply specific to Rev. 2.5. Support for that revision was dropped more than 10 years ago. The last revision of the software was 3.0, in 1998. You should have upgraded long before now. You can still upgrade to Rev. 3.0 from our web site. There is a special price if your use our download ordering system at: http://www.quinn-curtis.com/Ordering.htm

Your description sounds as if multi-threading is your problem. You cannot call any of our Charting and Real-Time graphics routines from a thread different than the thread which created the original chart. This always applied to the software, and still is a requirement in Revision 3.0. It may be that something in XP exacerbated the problem, regardless, it has always been a requirement. So you are going to have to figure out how to keep all calls to our software in the same thread.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07