Response box
Moderator: Guido Körber
-
- Posts: 5
- Joined: Tue Feb 22, 2005 12:42 am
Response box
I am interested in building 4 "response boxes" with the following characteristics. They will have 4 buttons and 4 leds. The buttons must be 'read' from an activex dll, and the leds must be turned on and off from the dll too. I would also need to be able to control 2 of them at the same time from 1 computer (using a hub).
How difficult would this be? Is there a project or some code that already does this?
Thanks.
How difficult would this be? Is there a project or some code that already does this?
Thanks.
-
- Posts: 543
- Joined: Mon Dec 01, 2003 6:09 pm
-
- Posts: 5
- Joined: Tue Feb 22, 2005 12:42 am
-
- Posts: 543
- Joined: Mon Dec 01, 2003 6:09 pm
-
- Posts: 5
- Joined: Tue Feb 22, 2005 12:42 am
It isn't a plugin api, but more of a method of accessing dll's. So, a dll could be written in C, for example, and could be accessed by Matlab. It can also access activex dll's.
So what, then, would this entail? I would write a dll to access your dll that would access the device?
What about the issue you mentioned about running two devices on the same host?
So what, then, would this entail? I would write a dll to access your dll that would access the device?
What about the issue you mentioned about running two devices on the same host?
-
- Posts: 543
- Joined: Mon Dec 01, 2003 6:09 pm
-
- Site Admin
- Posts: 2862
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Using just one IO-Warrior is a bit simpler than using multiples but not much. Basically what you have to do is check how many IO-Warriors are connected, then get the handles for each of them and then pass the corresponding handle each time you want to talk to one of them.
Using just one is simpler in so far as you get the handle of the first IO-Warrior upon calling the open function of the DLL.
Using just one is simpler in so far as you get the handle of the first IO-Warrior upon calling the open function of the DLL.
-
- Posts: 5
- Joined: Tue Feb 22, 2005 12:42 am
OK. Couple more questions.
First, under section 2.1 (Product selection matrix) of the datasheet, it says that 'keys' are only available with Warrior 40. Does this mean I need the Warrior 40 to get button feedback? How many led/button pairs can I control with an IO-Warrior 24? IO-Warrior 40?
Second, I see some resistors and other things on the pcb of the starter kit. if I buy just the warrior chips (no starter kits), what other parts are required to do what I want? What are parts numbered 31-39 on the warrior 40 starter kit? Jumpers? What are the capacitor and resistors for?
Do you have (or know where I can get) panel mount usb recepticals (not board mount, like on the starter pcb). I won't be using a pre-drilled pcb, so I want to attach the receptacle to the kit box, and just solder leads to the pcb.
Finally, how long does it take/how much does it cost to ship to the States?
Thanks!
First, under section 2.1 (Product selection matrix) of the datasheet, it says that 'keys' are only available with Warrior 40. Does this mean I need the Warrior 40 to get button feedback? How many led/button pairs can I control with an IO-Warrior 24? IO-Warrior 40?
Second, I see some resistors and other things on the pcb of the starter kit. if I buy just the warrior chips (no starter kits), what other parts are required to do what I want? What are parts numbered 31-39 on the warrior 40 starter kit? Jumpers? What are the capacitor and resistors for?
Do you have (or know where I can get) panel mount usb recepticals (not board mount, like on the starter pcb). I won't be using a pre-drilled pcb, so I want to attach the receptacle to the kit box, and just solder leads to the pcb.
Finally, how long does it take/how much does it cost to ship to the States?
Thanks!
-
- Site Admin
- Posts: 2862
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
The IOW40 does have a key matrix function which allows you to connect 64 keys. This has nothing to do with what you are trying to do. For your purpose direct connected buttons will be best.code-breaker wrote:First, under section 2.1 (Product selection matrix) of the datasheet, it says that 'keys' are only available with Warrior 40. Does this mean I need the Warrior 40 to get button feedback? How many led/button pairs can I control with an IO-Warrior 24? IO-Warrior 40?
If you have to ask these questions I have to strongly advise against using anything but the starter kit. The chips will not work in a flying wire setup and you have to know what you are doing if you go for a bread board or make your own PCB.code-breaker wrote:Second, I see some resistors and other things on the pcb of the starter kit. if I buy just the warrior chips (no starter kits), what other parts are required to do what I want? What are parts numbered 31-39 on the warrior 40 starter kit? Jumpers? What are the capacitor and resistors for?
J1 to J9 are jumpers. And the capacitors are for buffering the power supply for the chip. If you place them wrong the chip will not work properly. For the resistors you will find the description in the data sheet.
I am not aware of such connectors. And: See above.code-breaker wrote:Do you have (or know where I can get) panel mount usb recepticals (not board mount, like on the starter pcb). I won't be using a pre-drilled pcb, so I want to attach the receptacle to the kit box, and just solder leads to the pcb.
You can get the starter kits from our US rep, contact: holcomb@codemercs.comcode-breaker wrote:Finally, how long does it take/how much does it cost to ship to the States?
Chips will be available through them too in the near future.
-
- Posts: 5
- Joined: Tue Feb 22, 2005 12:42 am
I don't plan on just floating a chip inside a kit box, and soldering wires to the leads. I'm a hack, but not that much of a hack. I don't have experience with usb or your chips, so I was unsure what the resistors and the capacitor on the starter pcb were for, and I didn't find the information in the datasheet (I found it now).If you have to ask these questions I have to strongly advise against using anything but the starter kit. The chips will not work in a flying wire setup and you have to know what you are doing if you go for a bread board or make your own PCB.
J1 to J9 are jumpers. And the capacitors are for buffering the power supply for the chip. If you place them wrong the chip will not work properly. For the resistors you will find the description in the data sheet.