15,949,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Moonwalker031 (Top 6 by date)
Moonwalker031
18-Apr-11 4:52am
View
http://www.dotnetcharting.com/gallery/view.aspx?id=LineLabelAlignment
Here is a link of a chart doing exactly what I need. So can WPF Toolkit chart do the same - ie labels next to each point or inside of each point? Or is there any other free chart which supports labels even if it shows a watermark like Visiblox?
Moonwalker031
17-Apr-11 20:13pm
View
http://www.scottlogic.co.uk/blog/colin/2010/12/visiblox-visifire-dynamicdatadisplay-charting-performance-comparison/
From this link it is clear that Visiblox charts give the best performance. Since I need my chart to update in less than 50ms I went straight for Visiblox. It was later that I discovered that it does not support Text labels for the Data points.
WPF Toolkit Charts were the worst in performance so I did not even consider them.
What I am looking for is a Scatter / Point Chart where I could add Labels next to each point.
Moonwalker031
12-Apr-11 18:37pm
View
Ok thanks again for your help. I will need to study threading in detail first then attempt to recode it.
Moonwalker031
12-Apr-11 4:41am
View
I'm not asking you for the code m8. Just for the idea of the separate thread.
The click event should start the serial thread right? But should the serial thread also update the textblock or I need a separate thread for that too?
Moonwalker031
11-Apr-11 19:08pm
View
Thanks but as I said I am a very beginner in WPF and I code more like C than C# WPF. I still cannot grasp the idea of the separate thread.
My function needs to do the following -
loop several times
fill TX buffer
send TX buffer to serial port
write TX buffer to textblock
wait until there are 11 characters in the RX buffer (or timeout)
read RXbuffer from serial port
write RX buffer to textblock
check if RX data is good or not
wait 100ms
repeat loop
I dont need my application to be active while running the above function but I need it to update the textblock with the serial TX/RX data.
Moonwalker031
11-Apr-11 16:58pm
View
Can you please see the edited question and answer back. Thanks.
Show More