Hello Guest it is April 18, 2024, 02:12:24 PM

Author Topic: Subrutine file not found  (Read 1570 times)

0 Members and 1 Guest are viewing this topic.

Subrutine file not found
« on: August 12, 2018, 05:38:49 AM »
Hello,

I'm having problems with subrutines on build 3804, it worked on previous bulids with no prolem now I get subrutine file not found error. I've attached simple test program, same with external subrutine file.
What could be wrong?

Best regards,
Matic
Re: Subrutine file not found
« Reply #1 on: August 13, 2018, 08:20:54 AM »
It is all working on my side.  The only thing that was wrong was your G04 P1; it says it is out of range.  P1 would be 1 millisecond.  I have found that it needs a decimal point to read in seconds.  Example P250 is 250 milliseconds, P2.5 is 2.5 seconds.

You are putting the O1234 program in the subroutines folder?
« Last Edit: August 13, 2018, 08:23:11 AM by Cbyrdtopper »
Chad Byrd
Re: Subrutine file not found
« Reply #2 on: August 15, 2018, 02:32:16 AM »
Yes G04 is typo, sorry for that.
I get same error if I  use the code I send or if use external file in Mach4Hobby\Subroutines folder. Prevviusly I had mach instalelled on laptop build 3481 and all worked OK. Now I've installed mach4(latest version) on dedicated PC and I get this erorr.

Thanks,
Matic
Re: Subrutine file not found
« Reply #3 on: August 15, 2018, 05:44:33 AM »
Works here using version 3805.

You haven't slipped in a zero in place of O, or added an extension to the file name?

Allan?
Re: Subrutine file not found
« Reply #4 on: August 15, 2018, 06:59:21 AM »
Oops. I failed to notice that you were unable to run the code as a single monolithic program, so my reference to your file name is irrelevant. 

I was running it on my office PC using the Simulator and had no issues. If you are unable to do that, it sounds as if your installation may be bad for some reason.

Allan