BasicStamp II --------> Quattro Pro 9
Can anybody give me a hint as how to transfer data from a variable in the
basic stamp memory to Quattro pro 9? I have Delphi 5, and Visual Basic for
Applications. I can't figure out how to read data into a file or
application when it was sent to the serial port from the stamp.
I just need a hint to get started, thanx.
Matthew
basic stamp memory to Quattro pro 9? I have Delphi 5, and Visual Basic for
Applications. I can't figure out how to read data into a file or
application when it was sent to the serial port from the stamp.
I just need a hint to get started, thanx.
Matthew
Comments
wrote:
> Can anybody give me a hint as how to transfer data from a variable
in the
> basic stamp memory to Quattro pro 9? I have Delphi 5, and Visual
Basic for
> Applications. I can't figure out how to read data into a file or
> application when it was sent to the serial port from the stamp.
>
> I just need a hint to get started, thanx.
>
> Matthew
Just use hyper terminal that comes with Windows and use capture text
under the transfer menu. It will ask you for a file name to save the
file under. If you have more than one value per record just separate
them with commas. Most applications will recognize commas as
delimiters or ask what you are using for delimiters. I use Excel to
open the file but most spreadsheets and data base programs should be
able to read and use the file.
There is actually a pretty good example of serial communications code
in Visual Basic 5 and 6. By following the example in Help for the
MSComm object, you can write a simple application that looks at a
serial port and write anything that appears to a file.
BE SURE to use the OnComm event and set the RThreshold to 1. This
allows your to application to check the communications port ONLY when
data arrives. DO NOT set up a timer that forces the application to
constantly check the comm port for incoming data. Trust me, this
method WILL NOT WORK!
I don't know much about Quattro Pro or Delphi, but using VB or
simulating the concepts describe above, you should get results...
hope this helps...
Jim Cambron
--- In basicstamps@egroups.com, "Matthew Lewis" <aiden.bell@h...>
wrote:
> Can anybody give me a hint as how to transfer data from a variable
in the
> basic stamp memory to Quattro pro 9? I have Delphi 5, and Visual
Basic for
> Applications. I can't figure out how to read data into a file or
> application when it was sent to the serial port from the stamp.
>
> I just need a hint to get started, thanx.
>
> Matthew