Search found 5 matches

by Andrik
June 19th, 2012, 9:48 am
Forum: SDK Questions
Topic: Return to menu command
Replies: 3
Views: 6815

Return to menu command

I'm working with the PM4 on a custom rowing game, programmed in Unity3d. All is working fine (connecting, reading the data etc), with one small exception: Sometimes the workout wont reset propperly. I can manually press the 'menu/back' button, and then it will go fine for a couple or tries. Is there...
by Andrik
March 6th, 2012, 10:30 am
Forum: SDK Questions
Topic: DLL problems
Replies: 8
Views: 12260

Re: DLL problems

The problem with the error code [-166] does not seem to be a problem i think. the commands execute just fine with it. I can now put the PM4 into the standard 2000m rowing program. When I want to get the time the user is rowing, I simply send the command 0xA1 When done in the PMSDKDemo.exe, it return...
by Andrik
March 5th, 2012, 6:08 am
Forum: SDK Questions
Topic: DLL problems
Replies: 8
Views: 12260

Re: DLL problems

Thnx for the help so far. I now got a program working with the dll's. With it i'm able to set up a connection and get the Csafe_command working. The last thing i'm encountering is with most commands I send, I get an error code back: [-166] Name=TKFRAME_CSAFE_NO_END_CHAR_ERR Text=CSAFE frame missing ...
by Andrik
February 28th, 2012, 8:54 am
Forum: SDK Questions
Topic: DLL problems
Replies: 8
Views: 12260

Re: DLL problems

Thnx for the help so far. I'm still encountering some problems. The problem with the dll function is solved. I can now call the protocol_init function from the PM3CsafeCP.dll file. When I call the Init function, it returns error code 0. So it looks like the init went fine. When I call: uint[] cmd_da...
by Andrik
February 27th, 2012, 1:46 pm
Forum: SDK Questions
Topic: DLL problems
Replies: 8
Views: 12260

DLL problems

Hi, I'm working on a project where i want to use the data from a Concept2. Though the PMSDKDemo.exe I can get data from the PM4 i'm using. When i want to compile my version based on someone elses C# file, i get some troubles. First of all, when i call [DllImport("PM3DDICP", CallingConvention = Calli...