586,094 active members*
3,859 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2005
    Posts
    11

    VB Program Needed

    Hey Folks

    I've been looking into the laser pic software and the out put file it creates.
    The output file is sloppy to say the least. It creates a dot by dot (pixel ) value for the laser. Ok simple and effective. But so much time is wasted on the blank spaces.
    My issue is that I can see the fix but it would take me a lot of time to research what vb script I need to go through the lines of g code and delete the unnecessary stops to each blank dot.
    The one picture I'm currently working on has a proximity 40% of dead space. This app would save a lot of running time.
    Could you please see if your team could creat a little vb app that will go through the gcode find where there are sections of dot stops that have "M3 S0" and delet the section. The trick is that the first S0 and last S0 line in the group must be preserved to aline the laser correctly for the end and start of the laser burn.
    I'd bet that laser pic folks would like to have this app as it would cut down a lot of time on some pictures.

    Thanks for your time and help.
    Dwayne

    check out the nightly star shows
    awe and wonderment soon follows
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2003
    Posts
    1220

    Re: VB Program Needed

    Please post about 10 lines of each code. Unmodified and modified to understand what's required.

  3. #3
    Join Date
    May 2005
    Posts
    11

    Re: VB Program Needed

    Thanks for the reply KIWI
    I attached a file snap shot
    as you can see it reduces a lot of code and unnessasary movement.
    In order to get the laser aligned for the next location the first S0 of the list and the last S0 of the list must be preserved

    Thanks for your help, this could save me a few hours on the computer and a lot of hours on the cnc machine.

  4. #4
    Join Date
    Jul 2003
    Posts
    1220

    Re: VB Program Needed

    Hi duewy Sent you a PM..

  5. #5
    Join Date
    Jul 2003
    Posts
    1220

    Re: VB Program Needed

    Hi duewy
    Attached is a VB program which should do what you require.
    This version is limited to 500 lines of code.
    Please test and report.
    File needs to have name extension changed to exe.
    Attached Files Attached Files

  6. #6
    Join Date
    Jul 2003
    Posts
    1220

    Re: VB Program Needed

    Hi duewy
    Attached is an updated VB program which is a little more friendly.
    This version is limited.
    Please test and report.
    File needs to have name extension changed to exe.
    Attached Files Attached Files

  7. #7
    Join Date
    Jul 2003
    Posts
    1220

    Re: VB Program Needed

    Hi duewy
    I have altered the VB program again with some of your suggested features. I'm not a professional programmer so my ability is limited.
    This version is limited.
    Please test and report.
    File needs to have name extension changed to exe.
    Attached Files Attached Files

Similar Threads

  1. Xilog Plus ISO Program help needed
    By igoratoyan in forum G-Code Programing
    Replies: 0
    Last Post: 10-14-2013, 11:16 AM
  2. Gcode sub program example needed
    By MrWild in forum LinuxCNC (formerly EMC2)
    Replies: 14
    Last Post: 09-03-2010, 11:51 PM
  3. Help needed with program
    By Rob D in forum G-Code Programing
    Replies: 14
    Last Post: 05-01-2009, 11:48 AM
  4. CNC Program Needed using Fanuc/G34
    By Wedge lover in forum Employment Opportunity
    Replies: 1
    Last Post: 05-28-2007, 07:18 PM
  5. First Program - Help Needed
    By TZ250 in forum Milltronics
    Replies: 15
    Last Post: 03-26-2007, 06:38 AM

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
  •