|
|
| Author |
Message |
CIT Newbie
Joined: 09 Jan 2007
Posts: 1
|
Posted: Tue Jan 09, 2007 1:22 pm Post subject: Digital output |
|
|
Hello,
I'm a bit of a novice when it comes to using drivers and function calls etc but I have modest requirements and I hope someone out there can help me.
I am trying to use the digital output on the device ADC-11 USB. Basically, all a want to be able to do is switch the digital ouptut on and off using a VB macro from excel.
I understand that the function needed is declared as:
Declare Function UsbAdc11SetDo Lib "usbadc11.dll'' (ByVal handle As Integer, ByVal do_value As Integer, ByVal doNo As Integer) As Integer
(or something along those lines)
But then I need to call it and set it to O or 1.
How do I do this.
I'm sure this is quite basic, but any help would be greatly appreciated (and, if not too cheeky, an example).
Thanks,
John
|
|
| Back to top |
|
 |
ziko Site Admin

Joined: 01 Dec 2006
Posts: 596
Location: St Neots
|
Posted: Sun Feb 04, 2007 10:58 pm Post subject: |
|
|
Hi thank you for the Post, I think you also sent an email. Either way I am pleased to say I have a working example for you, just fill in the cells as indicated. If you have any other questions about the example, please do not hesitate to contact me.
Kind regards.
| Description: |
| This is the USB ADC11 example with DO functionality. |
|
 Download |
| Filename: |
usbadc11.xls |
| Filesize: |
38 KB |
| Downloaded: |
369 Time(s) |
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|