[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: visual basic control of TW7223 or XM10E
- To: ukha_d@xxxxxxx
- Subject: Re: visual basic control of TW7223 or XM10E
- From: "Andy Powell" <ukha@xxxxxxx>
- Date: Tue, 16 Oct 2001 09:51:35 -0000
- Delivered-to: mailing list ukha_d@xxxxxxx
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
Rid,
I have no experience of this unit *but* is your example of sending A1
(MSComm1.Output = "0x86,0x64") I would have thought you'd
actually
have to send the hex values, not a string i.e. what you are actually
sending is "0" then "x" then "8" then
"6" etc not Hex(Asc("A")) and
Hex(1).. If you can scan the documentation (or point to an online
version) I'll be glad to look at it in more detail...
Andy
> Has anyone had experience of using Visual Basic (version 6) to
> control an X10 main interface such as the TW7223 or TW5223 or
XM10E,
> using the serial port.
>
> I have some documentation about it, but need some help with the
code.
>
> I am using the MSComm component in Visual Basic to talk to the
serial
> port,and can quite happily set the port (MSComm1.CommPort = 3), set
> the settings (MSComm1.Settings = "4800,N,8,1"), open it
> (MSComm1.PortOpen = True), etc.
>
> Now I need to know how to send signals the X10/main interface will
> understand.
>
> I have tried (MSComm1.Output = "0x86,0x64") which I thought
might
be
> A1, but to no avail.
>
> Does anyone hav some VB source code I could have please.
>
> Cheers
>
> Rid
Home |
Main Index |
Thread Index
|