>> 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. >
weeeell.. you could hijack the M66 I recently implemented. (although the analog parts are only in TRUNK / recent CVS, so it's only gonna be included in 2.3.x) You could have a pyvcp window with a data entry, and connect that to motion.analog-input-xx (xx is from 00 to 03 by default, but can be extended). Then your code can do M66 E<nr> (nr coresponds to the input), and after that the value of motion.analog-input-xx will be in #5399. Not the cleanest way, but it's a possibility. Regards, Alex ------------------------------------------------------------------------- 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
