Switch Matrix Sample Software Code

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

Moderator: Guido Körber

pcrichton
Beiträge: 13
Registriert: Do Jun 18, 2009 5:21 pm

Switch Matrix Sample Software Code

Beitragvon pcrichton » Di Jun 23, 2009 2:49 pm

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.
Benutzeravatar
Christoph Jung
Beiträge: 581
Registriert: So Okt 08, 2006 3:43 pm
Wohnort: Germany / Berlin
Kontaktdaten:

Re: Switch Matrix Sample Software Code

Beitragvon Christoph Jung » Di Jun 23, 2009 4:56 pm

Sorry for that, but we don't have samplecode for switch matrix at the moment
But it is very simple to use.

Enable the switch matrix mode withc report-id 0x18.
Use the report-id 0x19 and IowKitReadNonBlocking() in a timer.

The other funtions like open the device and so on will be find into the other samples.
We will create a sample as soon as possible.
Abteilung: Softwareentwicklung
Folge uns auf Twitter
Follow us on twitter
pcrichton
Beiträge: 13
Registriert: Do Jun 18, 2009 5:21 pm

Re: Switch Matrix Sample Software Code

Beitragvon pcrichton » Mi Jun 24, 2009 10:31 am

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 the switch inputs correctly?

Paul.

preparat alveo http://www.alveo-akuna.pl

Zurück zu „IO-Warrior English“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast