Thanks Chris, I put in the comma and it worked...Just like the manual said! Also thanks for the M0. I was going to put in a dwell but the M0 is much more appropriate. I probably wouldn't need the reminder at all except that I seem to be getting a little stupid in my old age.
>>Does AXIS or any of the other displays support messages from .ngc or allow variable inputs. >>I would like to place something like (MSG "Be sure you have touched off before continuing this program") >>in my code. It would go along with a dwell to allow you to abort the program if you had forgotten to touch off. >Close. The format is (MSG, This will irritate you the third time but ...) >The comma is important. One out of two ain't bad. I have a couple of .ngc files that I have made generic by using variables that I can change by editing just a couple of lines in the script but I would like to make them a little more elegant by doing the same thing by answering a prompt. I am going to pursue doing something at the command line outside EMC2 that will edit my .ngc script before I run it in EMC2. I used to write shell scripts that could edit documents and change lines based on variables input at a prompt. Unfortunately that was 20 years ago and we had a system administrator who could always be counted on to help me out when I got bogged down. Now I still have a bookshelf full of Unix texts but both the books and I are twenty years out of date. >>I would also like to be able to prompt for data input (as in "Please enter desired diameter:") but I haven't found anything >>that appears to support that in NGC. Could I do the data input prompt by calling a shell script that would prompt for the >>data and replace the variables in the .NGC script? >Not currently. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
