Issue with discovering PM5
Issue with discovering PM5
Quick question about communicating with PM5 device. Is PM5 is supported device in the latest SDK?
Re: Issue with discovering PM5
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
Got it. Created new #define and got it to work with PM5. Thanks.
Re: Issue with discovering PM5
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
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
I'm interested too, could you please give more details on what you did and how it worked?
Thanks!
Thanks!
Re: Issue with discovering PM5
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:
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.
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
Code: Select all
tkcmdsetDDI_discover_pm3s("Concept2 Performance Monitor 5 (PM5)", 0, &numUnits);