Problem with vfd.py
22 Feb 2016 06:38 #70467
by dannym
Problem with vfd.py was created by dannym
I need to get a Hitachi X200 working off Modbus (I had it working OK under Mach3).
I followed the instructions here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?VFD_Modbus
So far I just included the VFD lines into the .hal file. Now I get:
./7i92_spid.hal:301: execv(vfd.py): No such file or directory
./7i92_spid.hal:301: waitpid failed vfd.py vfd
./7i92_spid.hal:301: vfd.py exited without becoming ready
But I did put vfd.py into the path. Different items in the path. Added chmod +x to it. I did google this and saw mention that if you don't use execvp (with a "p"), it doesn't even search the path. Not sure if that's applicable but I don't know where that execv code is and don't plan to be trying to hack at it so randomly. What's up?
I followed the instructions here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?VFD_Modbus
So far I just included the VFD lines into the .hal file. Now I get:
./7i92_spid.hal:301: execv(vfd.py): No such file or directory
./7i92_spid.hal:301: waitpid failed vfd.py vfd
./7i92_spid.hal:301: vfd.py exited without becoming ready
But I did put vfd.py into the path. Different items in the path. Added chmod +x to it. I did google this and saw mention that if you don't use execvp (with a "p"), it doesn't even search the path. Not sure if that's applicable but I don't know where that execv code is and don't plan to be trying to hack at it so randomly. What's up?
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds