If it wasn´t for Mike Haboustak i wouln´t be able to do my project.
Thanks again for all your help Mike.
I also thanked you in my project paper.
Rui
Search found 17 matches
- September 19th, 2006, 7:13 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
- September 19th, 2006, 7:05 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
//Serve para escolher o programa de treino, Pré-programado ou não //This is to choose from a pre-programmed training or to configure a new one //It´s set to be configured a new one protected Int16 setProgram(UInt16 port) { Int16 err = NO_ERR; UInt16 cmd_size = 0, rsp_size = 64; UInt32[] cmd_data = ...
- September 19th, 2006, 7:00 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
Here is some code from my project. All in the same class: // Funções DLL [DllImport("RPPM3DDI.dll", CallingConvention = CallingConvention.Cdecl)] public static extern Int16 tkcmdsetDDI_init(); [DllImport("RPPM3DDI.dll", CallingConvention = CallingConvention.Cdecl)] public static extern Int16 tkcmdse...
- September 19th, 2006, 6:17 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
Hello, this is a test class that Mike Haboustak sent me when i wasn´t understanding how it works, it´s great to start understanding: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Runtime.InteropS...
- August 30th, 2006, 4:46 pm
- Forum: SDK Questions
- Topic: String to Hexadecimal to UInt32??
- Replies: 7
- Views: 10838
i really didn´t understand why the GETSTATUS always returned 0, i was thinking of using it to know the staus of the machine so that i could folow the State Machine Diagram, but as i was unable to know the status i figured that when the user ends the session it stays in Finished and so i needed to se...
- August 30th, 2006, 2:05 pm
- Forum: SDK Questions
- Topic: String to Hexadecimal to UInt32??
- Replies: 7
- Views: 10838
- August 30th, 2006, 1:17 pm
- Forum: SDK Questions
- Topic: String to Hexadecimal to UInt32??
- Replies: 7
- Views: 10838
Hey Mike, sorry to be disturbing you again. I´m really a noob :cry: :cry: The only problem i have now to finish my project is that i cant send the PM3 back to the Main Menu when a training is finished. i´ve tried the goIdle, the goReady, every go... in the book. and combinations of them but without ...
- August 24th, 2006, 6:46 pm
- Forum: SDK Questions
- Topic: String to Hexadecimal to UInt32??
- Replies: 7
- Views: 10838
Actually now all makes sense :D I wasn´t understanding the hexa thing because i was doing some tests and i wasn´t able to send the commands in Hexa without the prefix 0x, i knew this was only for showing but as wasn´t getting there, i thought it had to be that way. So the only way i knew of doing th...
- August 24th, 2006, 7:18 am
- Forum: SDK Questions
- Topic: String to Hexadecimal to UInt32??
- Replies: 7
- Views: 10838
String to Hexadecimal to UInt32??
Hello again :D Now i need to pass the value in a string (which represents a Hexadecimal value) to a UInt32 variable. I´m asking the user to insert a distance in the application, and then i´m converting the value to Hexadecimal, then splitting the value, and then adding the 0x to the hexa values. Now...
- July 31st, 2006, 1:35 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
- July 28th, 2006, 12:05 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
- July 28th, 2006, 6:08 am
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
Hey Mike, thanks a lot for the program you sent me, i´ve learned a lot with it. The thing is that your program returns the same error that mine (-10107). I added your class to the solution and deleted my classes and left only yours like you said. The device discovery is working ok, but the GetHorizo...
- July 27th, 2006, 11:57 am
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
- July 27th, 2006, 9:40 am
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
Hey Mike, do you have a Concept2 at hand? Could You test my program to see what is wrong? I sent a mail to Concept2 to see if they can help me, i´m waiting their answer. By the way, i read the framework of the CSAFE protocol, and i kow the status command i wanted is the State of Slave of the Status ...
- July 25th, 2006, 3:10 pm
- Forum: SDK Questions
- Topic: Cant send commands to PM3 using C#. Please help me
- Replies: 21
- Views: 23188
Well the error is gone, it seems it was because i was missing the ref parameter int the rsp_data_size. I dont know why i keep letting errors like this appear, this is just lack of attention. The status command was executed with no problem, though the result was 128 and i dont know what that means ye...