Feeds

Vanilla (0.9.3) is a product of Lussumo. More Information: Documentation, Community Support.
Bottom of Page
MAKE Controller Kit: C# and the MAKE Controller - Getting started
  1.  
1 to 5 of 5
Aug 17th 2007
Hello all

I recieved my MAKE Controller a few days ago and I've been having fun getting a feel for the kit.

If I run the MAKE Controller Helper program I'm able to send OSD commands over USB like /appled/0/state 1 to turn on an LED.

However when I run *any* of the C# examples like MCTest or QuickTest they just don't work! I've also tried writing my own C# program from scratch but no luck there either.

I run the following code in my program:

usbPacket = new UsbPacket();
usbPacket.Open();
MessageBox.Show(usbPacket.PortIsOpen().ToString());

But it never returns the port as being open :(

Then if I run:

if (usbPacket.IsOpen())
USBSend("/appled/0/state 1");
else
MessageBox.Show("Not open");

it always returns "Not open", so the USB port connection is never made.

I know that the MAKE Controller is connected on COM4, but I can't see a way to tell the system that this is the COM port in use.

Documentation for the C# way of talking to the MAKE Controller seems very light, can anyone please share their knowledge on this issue?

I'm moving towards building a 3D printer, more details at http://www.strifestrips.com/3dprinter
Aug 20th 2007
i to am having the same problem, looking for a solution.
Aug 20th 2007
I've used .net Reflector from http://www.aisto.com/roeder/dotnet/ to peek inside MakeControllerOsc.dll

There's a private method which queries the Windows registery and loops through the available COM ports looking for the signature of the MAKE Controller. I'm guessing, for whatever reason, this method is failing.

I'm planning on compiling my own version of this assembly with the ability to set the COM port in code, I believe that will make it work.
Aug 20th 2007
I've solved it! :)

I've created a modified version of the MakeControllerOsc.dll with an overloaded version of the Open() method, you can now manually pass in the COM port of the MAKE Controller

i.e.

Open( "COM4" );

You can download it from my website: http://www.strifestrips.com/3DPrinter/Downloads/MakeControllerOsc.zip
Aug 21st 2007
do you think you could send me the source code so i can compile it? or at least the changes you made in the source?
  1.  
1 to 5 of 5
Top of PageBack to Discussions