PeterDove said:
Does the line above only ever receive 1 character at a time? If so then I can supply you some code for that, if not I can supply code for multiple characters - just let me know. Also please let me know what you are expecting to see in the labels and I will correct that too
Peter Dove
Thanx Peter,
The above line recieves streaming Data. Cuz i am continously transmitting data of various id's I capture. They come in blocks of 5 at a time:
start-variable1, variable2, variable 3, stop (start and stop =1)
i am sure i am gettin this data as i have captured it in serial watcheras shown in the figure. i have marked the data bits in red.
But they dont come in blocks like that, they arrive in a stream. I have just got them one below the other in the pic to make it easier to show the information
I was just using Labels to see what i was getting from the com port. I do not want anthing displayed on a Label really.
The goal here is to assign the 3 data variables to variables in Delphi, such that i can use them in the code i have already developed
eg of use:
procedure TForm1.display_robot(muxid,grid_number,robot_id: integer);
where in i am hoping that i have somehow assigned variable1 to robot_id, variable2 to muxid and variable3 to grid_number. And i expect them to be integers as i am transmitting them as such.
To basically use them to display robot id's on the GUI (as shown in second figure)
Would appreciate any help very much, as i have been playin with Delphi since 9 am with this problem (itz now 9pm), but of no avail.