You are not logged in.

#1 2017-06-20 10:30:22

NeelD
Member
Registered: 2017-06-02
Posts: 44

Offline debug ?

Is there a way to write out gcode file or debug without attaching printer?

Offline

#2 2017-06-20 17:35:35

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Offline debug ?

You can use minicom and netcat to debug gcode output.

Offline

#3 2017-06-21 12:47:36

NeelD
Member
Registered: 2017-06-02
Posts: 44

Re: Offline debug ?

Thanks managed it.

Offline

#4 2017-06-21 14:31:17

NeelD
Member
Registered: 2017-06-02
Posts: 44

Re: Offline debug ?

Where can I find example of Syscall  calculate_speed.py ?

Offline

#5 2017-06-21 17:44:36

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Offline debug ?

I have not seen public example. But it is not difficult to write one.

Offline

#6 2017-06-21 18:00:47

NeelD
Member
Registered: 2017-06-02
Posts: 44

Re: Offline debug ?

using sys.argv and sys.exit?

Offline

#7 2017-06-21 18:23:05

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Offline debug ?

Yes, you can use  sys.argv
You can use any other language. From reliability standpoint it is better to use [[Net url]] keyword.

Offline

#8 2017-06-21 18:37:57

NeelD
Member
Registered: 2017-06-02
Posts: 44

Re: Offline debug ?

Can it be used similar like Syscall Before Each Layer & Syscall After Each Layer?

[[Net URL]]
    Send get request to the specified URL without waiting for the result eg. [[Net http://example.com/api]]

[[SyscallResult]]
    If any GCODE box has paired with external execution, the result of execution could be used inside the GCODE box.

Offline

#9 2017-06-21 19:30:02

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Offline debug ?

Exactly, actually syscall inputs are redundant as you can use them on gcode boxes too.

Offline

Board footer

Powered by FluxBB