Page 1 of 1
Issue with discovering PM5
Posted: December 28th, 2014, 9:09 pm
by mishab
Quick question about communicating with PM5 device. Is PM5 is supported device in the latest SDK?
Re: Issue with discovering PM5
Posted: December 28th, 2014, 10:10 pm
by c2scott
I have not specifically tried it, however for the most part it should be a matter of extending the discovery to include PM5 as well as PM3 and PM4 (in the USB ID strings).
Re: Issue with discovering PM5
Posted: December 28th, 2014, 11:18 pm
by mishab
Got it. Created new #define and got it to work with PM5. Thanks.
Re: Issue with discovering PM5
Posted: February 26th, 2015, 9:46 pm
by chairat
Dear Mishab
Thank you for your post. I have the same problem. My SDK cannot find PM5 too. Please tell me more about how to solve the problem by puting #define in the code.
Best regards,
Chairat
Re: Issue with discovering PM5
Posted: March 10th, 2015, 4:38 pm
by monsdar
I'm interested too, could you please give more details on what you did and how it worked?
Thanks!
Re: Issue with discovering PM5
Posted: March 11th, 2015, 6:16 am
by monsdar
I played around a lot last night and it finally worked for me. Thing is that the PMSDKDemo.exe which comes with the SDK is not able to recognize my PM5 monitor. The SDK itself seems to be very outdated to be honest...
Despite the SDK-Demo not being able to connect I was able to by using my own code. Due to the lack of examples I used the following sources to get it running:
- A Forum topic with example code I found: Here
- A C interface I found by googling. Code does not work very well, but it was good enough to understand the concepts: Here
- A C# interface which helped getting the last details I was missing: Here
The important thing to detect the PM5 monitor was to use the following line:
Code: Select all
tkcmdsetDDI_discover_pm3s("Concept2 Performance Monitor 5 (PM5)", 0, &numUnits);
The name of the PM5 is not part of the SDK, thanks a lot to nick_a for finding what is needed. See my first link to get more information about the surrounding code.