YOU CAN CODE!

 

With The Case Of UCanCode.net  Release The Power OF  Visual C++ !   Home Products | Purchase Support | Downloads  
Download Free Trial
Pricing & Purchase?
E-XD++Visual C++/ MFC Products
ActiveX COM Products
Technical Support

Links

Get Ready to Unleash the Power of UCanCode .NET

Real-time Chart, VC++ Source Code with SImulation Software

The quick and simple way to building real time data display Software with  VC++, and the .NET platform

Product Tour E-XD++ and UCCDraw product walkthrough

Screenshots Applications built on E-XD++ ToolKit

Product feature comparison

Environment:
VC++ 6, NT4 SP5, Windows 95b/98

In real time applications it is necessary to have some graphics functions which can make plotting using dynamic engineering data. The CRealTime class provide such functions which have been implemented using SDK rather than MFC.

1. Features:

(1). Use permanent circular buffers to stored data rather than resize data storage or memory copy
(2). Scroll through time automatically
(3). Multi-line display with most property features at different time levels
(4). Multiple legends and data annotations
(5). Scroll and zooming
(6). Memory Device Context drawing
(7). Printing

2. History

From , I involved to write a multithread real-time simulation application using MFC on Windows NT. It communicates with several processes running on different machines through TCP/IP. One of its features is real-time plotting, logging, and periodic background printing with data received from other processes.

However, the provided class, which has been rewritten using Win32 API completely rather than MFC, only implements part of the original MFC CRealTime class. Due to time constraints, logging, periodic background printing, read and write locking, and multithread features have not been rewritten. Therefore, those features are not included in the above class.

You are free to use or modify this class and to use it in any of your applications. But I make no guarantees about this class suitability for use. If there is any problem with anything I wrote, I will certainly try to help solve it.

3. Source Code
 

(1). ClassArr.h: template based class to implement dynamic array. It is similar to CArray in MFC but independent on MFC.

(2). Graphics.h and Graphics.cpp: property definition and drawing framework description.

(3). Random.h and Random.cpp: a portable subtractive pseudorandom number generator, which is faster than rand() in C Run time. It generates and simulates new data coming in.

(4). RealTime.h and RealTime.cpp: CGraphics derived component and contains most of the real-time plot source.

(4). Str.h and Str.cpp: Simple string class.

4. Demo Project
 

The RTDemo, which is an MFC MDI application, demonstrates how to use CRealTime. It uses a splitter window, which includes two views (one for plot and the other for legends and data annotations). Please note that running RTDemo needs MSFlex grid 6.0 control, which comes with VC6.0.

From the Edit menu, you can test open Insert, Delete, and Modify a line at run time. The Property menu includes grid, boundary, title, memory drawing, and back color properties. Kill and restore timer can be found in the View menu. Right click in the top view, the Timer Speed menu will popup, and you can select one of 10 timer speed levels. Also you can drag a vertical line on the slider bar by clicking the left mouse button.

Downloads

Download demo project - 63 Kb

Powerful, flexible, and easy to use Diagram Components.
Powerful and flexible enough to create diagrams exactly the way you want them to appear. So easy to use that you will be able to prototype your application in just a few minutes.

Feature rich.
With features such as automatic layout, multiple layers, collapsible sub-graphs, snap-to connection points, XML, SVG, and more, E-XD++ Have the power and flexibility you need to create sophisticated diagrams, quickly and easily. Events such as click, double-click, hover, select, rubber-band select, copy, delete, resize and move are supported. Operations such as drag-and-drop, unlimited undo/redo, and clipboard operations are common and complex, and are expected by today's sophisticated users. it full supports importing ArcGis, SVG and DXF File format.

Performance and Scalability.
UCanCode E-XD++ Capable of handling many thousands of nodes and edges, up to hundreds of thousands depending upon the complexity of the nodes you wish to draw and the operations you wish to allow. Our graphical classes are extremely lightweight objects enabling outstanding performance.

Save Time and Money and gain Reliability.
A diagram is worth 1000 words, and E-XD++ is worth over 500,000 lines of well designed and well tested code! In use by hundreds of the worlds most quality conscious companies. The buy vs. build decision couldn't be more clear. Add advanced functionality and slash thousands of hours of complex coding and years of maintenance.

The VC++ source codes of this sample is shipped with E-XD++ Library Enterprise Edition, order it now.

Next-->True Microsoft word like table Component Control Solution from ucancode -- Full VC++ Source Codes.

Ask any questions by MSN: ucancode@hotmail.com Yahoo: ucan_code@yahoo.com


 

Copyright ?1998-2009 UCanCode.Net Software , all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.

Please direct your questions or comments to webmaster@ucancode.net