General Category > 3D Printers

LaserShark 3DP for windows 7 64bit

<< < (3/4) > >>

cutecheng:
Thanks, Jeff, I reboot the board and computer, but I still get the same error message, I also installed the driver on a brand new computer running Win7 64, but I still don't have luck. I attached several pictures for your reference. Thanks for further help!

Macpod:
No problem

Ok, well unfortunately that additional info didn't help identify what's going on. If you were able to compile the code yourself under windows you could add print statements to the connection code in the connect() function to figure out what's going on:
https://github.com/macpod/lasershark_3dp/blob/master/lasershark/LaserShark.cpp

Unfortunately for you I'm more of a linux guy than a windows guy (hence no official windows port yet). Perhaps this is a permissions problem?

Is there any reason why you can't run this under Linux?

There is also another individual who is attempting to port this sw to Windows. I'll chime in on the forums once they begin to make more progress

cutecheng:
Hi, Jeff, I'm a windows user, i have never used Linux. Following your instruction, I am able to compile the file "LaserShark.cpp". By debugging, i found out the problem is the second interface "devh_data" returns 0. I tried reboot the board, computer, but i still get the same result.

devh_ctl = libusb_open_device_with_vid_pid(NULL, LASERSHARK_VIN, LASERSHARK_PID);
devh_data =libusb_open_device_with_vid_pid(NULL, LASERSHARK_VIN, LASERSHARK_PID);

This is the libusb library i downloaded:
http://sourceforge.net/projects/libusb/?source=dlp

Macpod:
I'm glad you are able to compile this to debug it under windows :) Having to walk someone through that over the internet would be difficult.

That's an interesting spot for this to fail at and I can't say I've encountered that under linux before. What happens if you flip those two statements? Does devh_ctl then fail?

It shouldn't be an issue to open up a device twice... but perhaps windows is doing something strange? I'll have to look at the libusb docs closer

Macpod:
And to get some common bugs out of the way:
1. Is the LaserShark directly connected to a usb port on your computer (i.e. not through a hub)?
2. Is it a usb 2.0 port? (try other ports) 3.0 ports can be weird.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version