Results 1 to 2 of 2

Thread: ListSetup problem..

  1. #1
    Registered
    Join Date
    Nov 2004
    Location
    USA
    Posts
    446
    Downloads
    0
    Uploads
    0

    ListSetup problem..

    I need a little help with this..

    I am using the following code but can not get my label3 to update with the value entered from the list box. The way it is below will update the box only if I click the list selection a second time. The first time I click on one of the choices, \20 gets updated correctly but my label3 does not..

    !LISTSETUP 3000;5000;4500;2100
    !LISTADD CANCEL
    !LISTADD EJECT STATION
    !LISTADD LOAD STATION
    !LISTADD STAGE 1
    !LISTADD STAGE 2
    !LISTADD STAGE 3
    !LISTADD STAGE 4
    !LISTADD STAGE 5
    !LISTADD STAGE 6
    !LISTADD STAGE 7
    !LISTADD STAGE 8
    !LISTADD ECOAT 1
    !LISTADD POST RINSE 1
    !LISTADD POST RINSE 2
    !LISTADD UNLOAD
    !LISTPICK \20
    !LABEL3 \20
    -----M1

    How do I get Label3 to update with the value of \20 ?? I understand I could put it in the timer.fil but am wondering if there is another way ???

    Thanks,
    Murphy


  2. #2
    Registered
    Join Date
    Nov 2004
    Location
    USA
    Posts
    446
    Downloads
    0
    Uploads
    0



    I got it...

    The beginning of a masterpiece..

    !\20=0 'the key to my problem was setting it to something I could check.
    !LISTSETUP 3000;5000;4500;2100
    !LISTADD EXIT MENU
    !LISTADD GET A RACK
    !LISTADD PUT A RACK
    !LISTADD SET TIMER
    !LISTADD CANCEL TIMER
    !LISTPICK \20
    !:LOOP1
    !IF \20=0 THEN GOTO :LOOP1 'and then checking it
    !IF \20=EXIT MENU THEN EXIT
    !IF \20=GET A RACK THEN LISTCLEAR
    !LISTSETUP 3000;5000;4500;2100
    !LISTADD LOAD STATION
    !LISTADD STAGE 1
    !LISTADD STAGE 2
    !LISTADD STAGE 3
    !LISTADD STAGE 4
    !LISTADD STAGE 5
    !LISTPICK \21

    The camsoft interface isnt so bad after all...

    I feel like I'm training a dog...

    Murphy


Similar Threads

  1. Okuma LC-20 Threading problem
    By Gunner in forum Machine Problems, Solutions , Wireless DNC, serial port
    Replies: 13
    Last Post: 12-13-2011, 11:11 PM
  2. CNC gantry Machine shows problem
    By Alex S.A in forum Machine Problems, Solutions , Wireless DNC, serial port
    Replies: 15
    Last Post: 04-25-2005, 04:02 PM
  3. Cowling Problem
    By infinti_bc in forum Rhino 3D
    Replies: 8
    Last Post: 01-29-2005, 03:25 AM
  4. How To; troubleshoot an Axis problem on Bridgeport BOSS
    By inthedark in forum Bridgeport and Hardinge Mills
    Replies: 0
    Last Post: 03-25-2004, 08:35 AM
  5. Fadal VMC4020A axis problem
    By cwww in forum Machine Problems, Solutions , Wireless DNC, serial port
    Replies: 16
    Last Post: 12-02-2003, 12:07 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.