Search found 13 matches

by pcrichton
Thu Aug 20, 2009 12:44 pm
Forum: IO-Warrior English
Topic: IO Warrior Visual C++ 2008 LNK2019 Error
Replies: 1
Views: 13481

Re: IO Warrior Visual C++ 2008 LNK2019 Error

Problem Solved, I had not included the iowkit.lib file in my program directory.
by pcrichton
Thu Aug 20, 2009 11:28 am
Forum: IO-Warrior English
Topic: IO Warrior Visual C++ 2008 LNK2019 Error
Replies: 1
Views: 13481

IO Warrior Visual C++ 2008 LNK2019 Error

Hi, I am having an issue when writing a program to access the IO Warrior in Visual C++ 2008. All I have done is create a new dialog program and I have tried to open the IO Warrior in the OnInitDialog function as done similarly in the Simple IO example program. When I do so I get an error regarding E...
by pcrichton
Mon Jul 20, 2009 5:30 pm
Forum: SpinWarrior English
Topic: Spin Warrior Dimensions
Replies: 1
Views: 24681

Spin Warrior Dimensions

I have the data sheet for the SpinWarrior DIL and SOIC chips, I am looking at the data cheet for the DIL package for the dimensiosns, I notice that they have a maximum and a minimum value, are you able to tell me if the DIL package will fit into a veroboard with a pitch of 0.1 inches (2.54 mm)?
by pcrichton
Thu Jul 16, 2009 3:14 pm
Forum: IO-Warrior English
Topic: Switch Matrix Software Problem
Replies: 7
Views: 18613

Re: Switch Matrix Software Problem

I am not very familiar with bit fields, I have a rough idea what they are. For my program I have used a variable 'report' of type IOWKIT56_SPECIAL_REPORT. I then check with a timer the report.Bytes ( i = 0 .. 7) values read from the switch matrix, then using an if statement I output to a text label ...
by pcrichton
Thu Jul 16, 2009 12:53 pm
Forum: IO-Warrior English
Topic: Switch Matrix Software Problem
Replies: 7
Views: 18613

Re: Switch Matrix Software Problem

I have another problem with the switch matrix, when I press two switches simultaneously, if they correspond to the same location in the input report, eg. Location 1: [Y0 - X0, Y0 - X1], the report adds the returned values of 01 and 02 in location 1 together, in this case giving the location 1 in the...
by pcrichton
Fri Jun 26, 2009 12:24 pm
Forum: IO-Warrior English
Topic: Switch Matrix Software Problem
Replies: 7
Views: 18613

Re: Switch Matrix Software Problem

Ofcourse, I get it now. If that is the case, is there any way to clear the memory of the IO warrior so that after the button is pressed and the first message indicating which button has been pressed, the IO warrior is reset and does not remember the changing of state associated with the releasing of...
by pcrichton
Fri Jun 26, 2009 11:36 am
Forum: IO-Warrior English
Topic: Switch Matrix Software Problem
Replies: 7
Views: 18613

Switch Matrix Software Problem

I have created a program to read from a matrix of 2x2 switches. I have set it that on the press of a button the program uses IowKitRead to wait for an input from the 2x2 switch matrix that I have built. The program will not go any further without a press from a switch, which I expected to happen, an...
by pcrichton
Wed Jun 24, 2009 10:31 am
Forum: IO-Warrior English
Topic: Switch Matrix Sample Software Code
Replies: 2
Views: 12851

Re: Switch Matrix Sample Software Code

Ok, I do not have much programming experience but I will try it, if anyone has already created something that performs these operations and would be willing to share it, I would greatly appreciate it. Regarding the timer, can you elaborate on what exactly would have to be implemented for it to read ...
by pcrichton
Tue Jun 23, 2009 2:49 pm
Forum: IO-Warrior English
Topic: Switch Matrix Sample Software Code
Replies: 2
Views: 12851

Switch Matrix Sample Software Code

Does anyone have any sample code in c++ for using the IO warrior in the switch matrix mode? I have looked on the IO Warrior CD but I can't seem to find any. I don't know if it is me who is not looking hard enough.

Thanks, Paul.
by pcrichton
Fri Jun 19, 2009 4:50 pm
Forum: IO-Warrior English
Topic: Switch Matrix Hardware
Replies: 7
Views: 18090

Re: Switch Matrix Hardware

Much appreciated, thanks.
by pcrichton
Fri Jun 19, 2009 1:59 pm
Forum: IO-Warrior English
Topic: Switch Matrix Hardware
Replies: 7
Views: 18090

Re: Switch Matrix Hardware

Yeah it still doesn't seem to be working.
by pcrichton
Fri Jun 19, 2009 9:16 am
Forum: IO-Warrior English
Topic: Switch Matrix Hardware
Replies: 7
Views: 18090

Re: Switch Matrix

Apologies, but the message within the post you sent says:

"You do not have the required permissions to view the files attached to this post."

I am assuming that this was supposed to be a link, and due to my permission level I cannot view it?

Paul.
by pcrichton
Thu Jun 18, 2009 5:46 pm
Forum: IO-Warrior English
Topic: Switch Matrix Hardware
Replies: 7
Views: 18090

Switch Matrix Hardware

Hi there, can anyone give me an explanation as to how the x and y ports are connected to the physical switches when the IO Warrior is used in switch matrix mode as I am struggling to understand it from reading the data sheet. If someone could give an example of a circuit diagram of say a 2 x 2 matri...