Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:14:07 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  PoKeys (Moderator: NeoTO)
| | |-+  Pokeys55 and C++
Pages: 1   Go Down
Print
Author Topic: Pokeys55 and C++  (Read 1860 times)
0 Members and 2 Guests are viewing this topic.
josema101
Active Member

Offline Offline

Posts: 6


View Profile
« on: September 22, 2009, 02:00:30 PM »

I'm not sure this forum is the proper one but I do not find anything more similar.

Does anybody know how to manage the pokeys55 in C++?. I know that this device works as a USB HID but I do not find how to use it in this way.

Regards and thanks for any information.
Logged
borisz
Active Member

Offline Offline

Posts: 209



View Profile WWW
« Reply #1 on: September 22, 2009, 02:08:50 PM »

Hi!

Please download VB examples from www.poscope.com
Look also in user manual and PoKeys protocol specification.
You can use pokeys.dll or use it via console.

regards

Boris
Logged

www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
josema101
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #2 on: September 24, 2009, 03:20:35 AM »

The provided libraries are valid for Visual Basic and C#, not for C++. I saw programming examples for those programming languajes but not for C/C++.
Logged
borisz
Active Member

Offline Offline

Posts: 209



View Profile WWW
« Reply #3 on: September 24, 2009, 05:06:48 AM »

For now it is only variant that you look in C# in manual and VB examples which can be downloaded.
We are preparing also C++ examples, but release date is not known yet.

regards

Boris
Logged

www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
josema101
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #4 on: September 24, 2009, 10:00:11 AM »

I understand, I wait for C++ examples. On the other hand, according to the Pokeys55 documentation, it can be used in two ways, either through dedicated libraries (on C# or VB) or through the standard USB HID. Is my understanding correct? If yes, do you know where can I find information (examples, etc) how to manage the Pokeys55 by USB HID. I know the Pokeys document "PoKeys55 protocol specification", but I do not know how send the packages that are described in this document.
Logged
borisz
Active Member

Offline Offline

Posts: 209



View Profile WWW
« Reply #5 on: September 24, 2009, 03:54:53 PM »

Answer is yes.
Please look at these page: http://www.lvr.com/hidpage.htm
Here is explained how to use HID from C++.

regards

Boris
Logged

www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
josema101
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #6 on: September 25, 2009, 06:52:01 AM »


Thanks.

I'll try it.
Logged
josema101
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #7 on: October 06, 2009, 08:11:18 AM »

Finally, I program poKeys55 in C#. It works properly. When I'm programming, I realize that there are much more procedures that the ones showed in paragraph 10. of the User Manual (GetFullDeviceReport for example) .

Where can I find the description of all procedures included in PoKeysDevice_DLL.PoKeysDevice class?.

Regards.

Logged
borisz
Active Member

Offline Offline

Posts: 209



View Profile WWW
« Reply #8 on: October 06, 2009, 08:32:09 AM »

Probably here: http://www.poscope.com/product.php?pid=3 Document PoKeys55 protocol specs.

regards

Boris
Logged

www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
josema101
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #9 on: October 07, 2009, 04:03:29 PM »


Unfortunately not. This document describes the handshake when the poKeys55 device is used as HID device, It's not related with .dll library used in C# or Visual Basic. What I'm looking for is the explanation of all procedures included in PoKeysDevice_DLL.PoKeysDevice class. Paragraph 10 of the user manual describes several of them but not all. There are much more than the ones described in such paragraph.

Regards.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!