15,897,187 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 EssenceGold (Top 12 by date)
EssenceGold
26-Mar-21 13:30pm
View
Thanks for your answer. Can you show me with an example or where do I need to change it in my code.
EssenceGold
14-Sep-17 17:29pm
View
Thank You Maciej Los. thanks to your idea I've fixed the code. Code 1 now working fine.
AddHandler b.Click, AddressOf printPreview_PrintClick
EssenceGold
8-Dec-16 16:32pm
View
Works in two ways.
Dataflow examples for Protocol version 1
HCTS -> LIS <STX>·····D·BI01234ABC567830500000;3<ETX>
Dataflow examples for Protocol version 2
HCTS -> LIS <STX>·····D·BI|1234ABC5678|30500000|?7<ETX>
But the checksum is different. Probably included in the calculation. Protocol 1 using 0 ZERO
Protokol 2 using | pipe
My head mixed well :(
EssenceGold
8-Dec-16 16:21pm
View
..... Filled with blanks ( Space by number of dots )
| divider. Pipe symbol ASCII 0x7C (I'm not sure about this) There is no information on the article about it
EssenceGold
8-Dec-16 10:25am
View
As an example, the calculation of that sequence. Please include all codes. Thanks.
<STX>.....D.BI|1234ABC5678|30500000|?7<ETX>
EssenceGold
7-Dec-16 12:51pm
View
Yeah you worked your code right. You are right. I had to ask this question in another topic.
EssenceGold
6-Dec-16 12:52pm
View
Deleted
thank you for your help. The code is working correctly. But there is one point I do not understand. can you help me. There is an article on the elimination. According to this article I can not find Checksum. Here are a few examples and articles;
2.1 Framing
Each data transfer takes place within a frame. Each data packet has the following structure:
<stx> FL FN FI [DATA] Checksum <etx>
<stx> 1 Byte (02hex) Start of frame
FL 3 Byte Frame length, not used currently, filled with blanks (20hex)
FN 2 Byte Frame number, not used currently, filled with blanks (20hex)
FI 2 Byte Frame identifier, only ‘E’, ‘I’, ‘D’ and ‘S’ used for 1. Byte
currently, 2. Byte always blank (20hex)
[DATA] Application data (if present)
Checksum 2 Byte Checksum
<etx> 1 Byte (03hex) Frame termination
2.2 Error detection and flow control
In order to ensure data integrity, a checksum is transmitted with each frame. This checksum
is calculated by adding the values of all transferred bytes from <stx> to [DATA] (both
inclusive), modulus 100hex. The sum is devided by 10hex. 30hex is added to both the
quotient and the remainder of the division. The results (ASCII ‘0’ to ‘?’) represent the 2-
character checksum. For example, the sum 3f9hex will result in “?9”.
Communication Log;
HCTS -> LIS <stx>.....D.BI|1234ABC5678|30500000|?7<etx> --- Checksum ?7
LIS -> HCTS <ack>
LIS -> HCTS <stx>.....D.DW|1234ABC5678|||CHOL....BILI_TOT|5=<etx> --- Checksum 5=
HCTS -> LIS: <ack>
HCTS -> LIS <stx>.....D.BI|1234ABC5678|D050000F|1><etx> -----Checksum 1>
LIS -> HCTS <ack>
HCTS -> LIS <stx>.....D.BI|9555907034|A000000B|;7<etx> ------Checksum ;7
HCTS -> LIS <stx>.....D.BI||A000000Z|<0<etx> ------- Checksum <0
Not: ..... = blank
I did not calculate the check. Where am i making mistakes.
EssenceGold
6-Dec-16 12:44pm
View
Deleted
.
EssenceGold
21-Jul-15 13:50pm
View
My aim is to save all the data files in the TextBox on form2. But I can not access the data that I wrote out form1. Even if the data does not show, as I wrote in the above example.
EssenceGold
2-Nov-14 14:45pm
View
Deleted
Thanks everyone. But dont understand every solution. I want to tell with your pictures.
[IMG]http://i62.tinypic.com/2ljhqwk.jpg[/IMG]
http://i62.tinypic.com/2ljhqwk.jpg
[
^
]
[IMG]http://i62.tinypic.com/wircd5.jpg[/IMG]
http://i62.tinypic.com/wircd5.jpg
[
^
]
EssenceGold
11-Oct-14 9:27am
View
Yes working. Thank you very much.
EssenceGold
15-Dec-13 7:10am
View
Thank you very much my friend. Problem solved. Good Work.
Show More