Difference between revisions of "GET PROC DATA"

From Macros Wiki
Jump to: navigation, search
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=GET_PROC_DATA <[[process number]]>, <[[process parameter]]>, <[[number variable]]>
+
[[Procs:Process_Data|{{Up}}]]
|description=get some tool data, see [[GibbsCAM.GibbsPlugin.Init_Plugin]].
 
  
UNFINISHED
+
{{Command|syntax=GET_PROC_DATA <process number>, <parameter>, <value>
 +
|description=:Get process data.
  
|param1=tool number|param1_desc= Number of the tool
+
|param1=<process number>|param1_desc={{process number}}
|param2=tool parameter|param2_desc= tool parameter from a list
+
|param2=<parameter>|param2_desc={{process_parameter}}
 +
|param3=<value>|param3_desc={{get data var}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:- GET_TOOL_DATA 3, MTOOL_LENGTH, MyToolLength
+
:GET_PROC_DATA 3, MTHREAD_DIA, d1
 
+
<br>
:- GET_TOOL_DATA 4, COMMENT, MyToolComment$
+
:For an example macro see [[Use_Saved_Process]]
 
 
 
 
  
 
[[Category:Procs]]
 
[[Category:Procs]]

Latest revision as of 18:38, 14 January 2011

Up

Command

GET_PROC_DATA <process number>, <parameter>, <value>


Get process data.

Parameters

<process number>
Process number.
<parameter>
Process_parameter
<value>
A number or string variable.
The type of variable must match the data type of the parameter.
If the data you are getting is a text string, then you must specify a string variable. Otherwise use a number variable.

Example

GET_PROC_DATA 3, MTHREAD_DIA, d1


For an example macro see Use_Saved_Process