PD_PARAM_INQ function
-->(PD_PARAM_INQ)----|parameter name|--->
PD_PARAM_INQ writes information about the parameter into the system inquiry array. It can then be retrieved with INQ (see INQ).
PD_PARAM_INQ set the following values:
+----------------------------------------------------------------------+
| function/command | <inq_index> | result |
+------------------+-------------+-------------------------------------+
| PD_PARAM_INQ | 1 | 130 (inq code) |
| | 2 | 0 : Named parameter does not exist |
| | | 1 : Named parameter does exist |
| | 5 | Conversion factor from parameter |
| | | units to system units |
| | 6 | 0 : Length parameter |
| | | 1 : Angle parameter |
| | | 2 : User parameter |
| | | 3 : Point parameter |
|......................................................................|
| if parameter type is not PD_POINT |
|......................................................................|
| | 3 | Current parameter value. |
|......................................................................|
| if parameter type is PD_POINT |
|......................................................................|
| | 3 | X coordinate of point parameter. |
| | 4 | Y coordinate of point parameter. |
+----------------------------------------------------------------------+
Est-ce que cela a été utile ?