|
-
April 19th, 2009, 01:31 AM
#1
data from memory to textbox
Dear Friends,
I made an interfase with PIC to transmit data via USB port, this data its stored in a Buffer.
I want to create a Form with text boxes in VC++ to display this data Buffer in decimal form.
Any wan could help me?
I will share my USB interfase information if any one is interested.
Thanks a lot fot your help.
-
April 19th, 2009, 01:42 AM
#2
Re: data from memory to textbox
The first step would be to write a "C" program to just print the Decimal #'s to the screen to make sure that you have valid data in "C" format.
Once you have the pipe dumping good code then you can bring in the "C" source code to a VC++ APPLICATION.
-
April 19th, 2009, 08:37 AM
#3
Re: data from memory to textbox
Dear Cnemo,
Data Stored in Buffer is hex.
I am doing the PIC part in assembler, and the routine in PC is VC++.
The interface is just to test a State of a push button, first I did send just a "1" for not pressed
and a "0" for pressed, works good, later I did send a "8" hex for pressed an a "10"hex
for not Pressed an so on with a lot of diferents values and not so values, I have changing
the memory location of this data along the 64 bytes in the buffer, everything its ok.
Now I need to display this numbers in a txt box , and I dont know how to do this
I have done a lot of experiments but my experience in VC++ is not so good.
I have searched tutorials, and nothing.
Any way, thank a lot for your repply.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|