Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/14/01 11:01
Read: times


 
#16598 - Receiving data from a VBasic Application
Hi there,
I'm trying to send datas from my PC to a microcontroller, using a VBasic application, I mean that I' ve got datas in a Data Base of Access (e.g. 5416, they are always datas like this), I've got this data in a variable (e.g. code), and I try to send it to the micro, but it doesn' t understand what I'm sending, the code could be like this:

mscomm1.output=code

I suppose that I' ve to send the ascii code of the content of the variable, but I don't know how can I do it with a variable. And I suppose too, that I' ve to send it in twice, I mean, something like this:

cod1 = mid (code,1,2)
mscomm1.output = cod1
cod2=mid (code,3,2)
mscomm1.output = cod2

I should be very much obliged if someone could help me

Thank you very much,


Jose L.


List of 6 messages in thread
TopicAuthorDate
Receiving data from a VBasic Application            01/01/70 00:00      
RE: Receiving data from a VBasic Application            01/01/70 00:00      
RE: VBasic - Addendum            01/01/70 00:00      
RE: Receiving data from a VBasic Application            01/01/70 00:00      
RE: Receiving data from a VBasic Application            01/01/70 00:00      
RE: Receiving data from a VBasic Application            01/01/70 00:00      

Back to Subject List