15,911,896 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 Python 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 Member 11075997 (Top 4 by date)
Member 11075997
15-Sep-14 15:16pm
View
unfortunately my accel data is Change in time very fast and i dont know receive what number of bytes its gonna be like 12.234... 123... -1234... its what i receive in my serial terminal and when i do it :
int strRecieve = serialPort1.ReadByte();
it receive anything exist in serial port ! i use this while loop for separate but its crashhed :
while(strReceive != ">")
{
strRecieve = serialPort1.ReadByte();
}
"": i use this ">" for knows when i Reach to the end of my axis data !
is this a good way for what i want ?
im really confused !
i find something like union method but it so complex ! i dont get it what i must do :(
http://stackoverflow.com/questions/8827649/fastest-way-to-convert-int-to-4-bytes-in-c-sharp
Member 11075997
15-Sep-14 14:44pm
View
thx for your reply ! i know how to work with serialport and i can receive data ! my problem is how can i separate data for any axis ?
Member 11075997
12-Sep-14 13:53pm
View
isnt any suggestion guys ????? !
Member 11075997
12-Sep-14 9:23am
View
thx for your reply !
i do the same thing u said ! i use begininvoke instead invoke ! and add that line after i open the port ! but it doesnt work :'(
unfortunately this app doesnt work for me too :( ! it find my port name but i still cant receive anything :( ! i dont know how is going on here... why my source work good with another standard terminal app but in c# i have this problem ? :( !