585,759 active members*
3,939 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    64

    how to run an ini file

    I can't get any of the example configurations to run. I got a new ini file and hal file , from a kind person on another web site, and I can not , for the life of me,

    find the command to run it.

    I have it in my home folder, but I am not sure where it belongs.

    I have been through the manuals a dozen times, but I am just not seeing it.

    sim runs ok.

    This is a new instal.

  2. #2
    Join Date
    Mar 2004
    Posts
    369
    The command is : linuxcnc !
    You will then have to giude it to that .ini file you want to use by browsing
    through the directories.

    You can also feed it the path to a specific .ini file like this :
    linuxcnc /home/user/linuxcnc/configs/blah/blah.ini

    Jon

  3. #3
    Join Date
    Feb 2007
    Posts
    64
    Thank you for your response.

    Now I can get the sample configurations to attempt to load from the desktop, but they will not finish, I assume it is because I don't have the correct board in the computer.

    Using the terminal I am able to navigate , using the commands cd and ls to reach the location where the file is.

    When I find the ini file that I want, I type . 5i25green.ini
    enter

    I then get-

    [EMC]: command not found
    VERSION: command not found
    MACHINE: command not found

    and so on to the bottom of the window.


    I did- sudo dmesg -c
    halrun
    loadrt hostmot2
    show pin
    show param

    I am not sure what the results mean, but it appears that the 5i25 board has been found.

  4. #4
    Join Date
    Mar 2004
    Posts
    369
    Quote Originally Posted by js412000 View Post
    Thank you for your response.

    Now I can get the sample configurations to attempt to load from the desktop, but they will not finish, I assume it is because I don't have the correct board in the computer.

    Using the terminal I am able to navigate , using the commands cd and ls to reach the location where the file is.

    When I find the ini file that I want, I type . 5i25green.ini
    enter

    I then get-

    [EMC]: command not found
    VERSION: command not found
    MACHINE: command not found

    and so on to the bottom of the window.


    I did- sudo dmesg -c
    halrun
    loadrt hostmot2
    show pin
    show param

    I am not sure what the results mean, but it appears that the 5i25 board has been found.
    Of course. The .ini file is NOT executable or understandable by Linux (the OS), it is a configuration file
    to LinuxCNC, and only makes sense to that program. So, you must run LinuxCNC and instruct it
    to use the .ini file of your choice. If you start LinuxCNC, it should present a file browser and
    you can navigate to the directory that contains that .ini file and then select it. then, LinuxCNC
    will read the configuration associated with that .ini file (there should eb .hal files and some others
    in the same directory) and give you a GUI display.

    Jon

  5. #5
    Join Date
    Feb 2007
    Posts
    64
    Thanks a lot for your patient explanation. I got the configuration selector to work now. (I am not sure what I was doing wrong)

    It still returns an error that I need to hook up the servo amplifier and the enable.

    So now I am off to study the manual some more!

Similar Threads

  1. Replies: 8
    Last Post: 05-04-2015, 12:49 PM
  2. Need a file turned into a dxf file for a project
    By Guitarflyer in forum MetalWork Discussion
    Replies: 0
    Last Post: 12-05-2013, 12:31 AM
  3. 3D CAD file to 2D CAD file for laser cutting
    By Bertho in forum Uncategorised CAM Discussion
    Replies: 5
    Last Post: 08-07-2013, 11:45 AM
  4. Convert DWG file to DSTV file
    By benamer in forum Community Club House
    Replies: 1
    Last Post: 07-02-2013, 02:34 PM
  5. converting a mastercam 9 file into a Solidworks file
    By Michael82 in forum Solidworks
    Replies: 5
    Last Post: 04-17-2009, 07:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •