IO-Warrior24: Simple I/O using VB

This is the English forum for all topics related to IO-Warrior. Please post in English only

Moderator: Guido Körber

Post Reply
rkammela
Posts: 6
Joined: Sat Apr 01, 2006 4:39 am

IO-Warrior24: Simple I/O using VB

Post by rkammela »

Hi,
I just ordered couple of IO-Warriors to use as an interface between my own home automation system and my PC. My automation circuit has 6 input and 2 output TTL lines.
Interfacing this with IO-Warrior24 looks pretty straight forward (using P1.0 to P1.5 as outputs and P1.6, P1.7 as inputs), but as I look into documentation and samples I couldn't figure out how to mask the bits. I want to be able to read IO-Warrior24’s 2 input pins without changing output pins and vice versa. I am trying to do this using VB.NET.

Here is what I need to do in my VB application:
1) Output 6bit address to IO-Warrior24’s 6 output pins (this is the address code for my home automation device)
2) Read 2 input pins without changing the above 6 output pins (These are the status lines for the selected home automation device)
3) Repeat step1 and 2 with a different 6bit address.

Any help is appreciated, if anyone can give me code snippet to set the output and read input that would be great.

Thanks
RK
Guido Körber
Site Admin
Posts: 2856
Joined: Tue Nov 25, 2003 10:25 pm
Location: Germany/Berlin
Contact:

Post by Guido Körber »

Have a look at the samples in the SDK.
Post Reply