Quote
daufhammer
I tried to use this, but when i click on the .exe file it opens up for a split second then is gone.... im running windows xp. Any thoughts on why it does this?
8-) It is a command line program! You can't just double click on it!!
Example usage:
send-gcode.exe -p COM4 -b 64000 -f whistle.gc
If you had at least opened a dos shell i.e. Windows key - R "cmd" [ENTER] "send-gcode" [ENTER]
then you would have seen:
PARSE ERROR:
Required argument missing: file
Brief USAGE:
send-gcode.exe -f [-p ] [-b ] [-v] [--] [--version]
[-h]
For complete USAGE and HELP type:
send-gcode.exe --help
You must specify the COM port, baudrate and gcode file.
If you type "send-gcode --help" [ENTER] on the command line then you will see:
C:\temp\send-gcode-2010-09-27>send-gcode.exe --help
USAGE:
send-gcode.exe -f [-p ] [-b ] [-v] [--] [--version]
[-h]
Where:
-f , --file
(required) File to send
-p , --port
Serial port to use; defaults to COM4
-b , --bps
Serial port speed; defaults to 19200
-v, --verbose
Print communications traffic
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
send-gcode - sends gcode commands to RepRap 5D firmware
C:\temp\send-gcode-2010-09-27>
Now in Windows you can create a desktop shortcut that would allow you to drop a gcode file on it and then invoke the send-gcode.exe with the appropriate parameters if you want but they must be specified. Normally such a program has defaults for common parameters such as the COM port (COM4) and baudrate (19200) BUT you will always have to specify the gcode file to send!
If you need help creating such a shortcut on the desktop so you can drag & drop gcode files onto it let me know.
You could define two such shortcuts e.g. one for COM3 and one for COM4 (assuming you have two machines).
Also you could define that the file extension .gcode automatically invokes the send-gcode with the proper parameters.
B)-









