Results 1 to 5 of 5

Thread: How do I start sb3.exe from another program

  1. #1
    Big John (Unregistered Guest) Guest

    Default How do I start sb3.exe from another program

    I'm trying to evaluate the SB software. I will be writing a program which will invoke the sb3.exe program, probably from visual basic. This feature is a must have for me to purchase a CNC.

    I'm trying to test it with the Windows XP "Run" command, so after referencing page 26 of the "ProgrammingHandbookv2.02.pdf"; I type in the RUN box:

    "C:\Program Files\Shopbot\Shopbot 3\sb3.exe" C:\SBPARTS\S_demo1.sbp,1,3

    I don't have a shopbot, so I'm running in the demo mode.

    The program does open, as does the file picking window, but it won't execute the program. It just sits there waiting for me to hit the Open button.

    What am I missing?

    And is there a newer manual?

    Is there an example of a VB program call to sb3.exe

    Thanks

  2. #2
    Join Date
    Jan 2004
    Location
    Fort Worth TX
    Posts
    445

    Default

    John,

    I think you have gotten to the point where the file asks for "parameters". After these are specified or bypassed, the machine is then started.

    I wouldn't want a machine to start on it's own. I'm not sure an insurance company would cover a machine capable of doing some major damage starting on its' own.

    Ron

  3. #3
    Join Date
    Oct 2000
    Location
    Willis Wharf, VA
    Posts
    1,769

    Default

    Hey John,

    I've never tried using the RUN command but use the SHELL command all the time to start the ShopBot software from outside programs and pass it the needed parameters .

    We don't have an updated programming manual for the Windows software yet, but if you'll send me your email address I'll be glad to send you info on using the SHELL command and a VB code sample.

    Bill

  4. #4
    Big John (Unregistered Guest) Guest

    Default

    Ron,

    I specified those parameteres in the run box (see above). SB.EXE even filled in the file name for me at the file picker.

    BTW: The machine won't be running with out a human. It's just that this application of a CNC is pretty obtuse, and a custom UI is really what will work best for my needs.

    John

  5. #5
    Join Date
    Jan 2004
    Location
    Fort Worth TX
    Posts
    445

    Default

    John,

    Parameters in SB3 number 10 on my program:

    X.sbp, 1,1,1,1,0,-0.000,0,0,1,1

    For part file "X" run one time from 0,0,0 origin 1 time No offset, no plunge, no scaling, no tabbing (not in order of parameters).

    HTH,
    Ron

Similar Threads

  1. Were to start
    By jerrys in forum Archives2008
    Replies: 3
    Last Post: 05-26-2008, 08:38 AM
  2. ????Where to start??
    By soldier9 in forum Archives2008
    Replies: 16
    Last Post: 04-02-2008, 10:36 PM
  3. Program fails to start...
    By harryball in forum Archives2006
    Replies: 5
    Last Post: 12-11-2006, 07:34 AM
  4. Where should I start?
    By dubliner in forum Archives2006
    Replies: 2
    Last Post: 04-16-2006, 07:01 PM
  5. Where to start
    By fatkid in forum Archives2005
    Replies: 4
    Last Post: 02-08-2005, 06:33 PM

Posting Permissions

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