Constraint: User

Command ElementModifies a Constraint_UserConstr element.

Format

< Constraint_UserConstr
    id                    =  "integer"
    usrsub_dll_name       =  "valid_path_name"
    usrsub_param_string   =  "USER([[par_1 [, ...][,par_n]] )"
    usrsub_fnc_name       =  "string"
</Constraint_UserConstr>

Attributes

id
Element identification number, (integer>0). This number is unique among all Constraint_UserConstr elements.
usrsub_dll_name
Specifies the path and name of the DLL or shared library containing a user subroutine. MotionSolve uses this information to load the user subroutine in the DLL at run time.
usrsub_param_string
The list of parameters that are passed from the data file to the user defined subroutine, UCOSUB. This attribute is common to all types of user subroutines and scripts.
usrsub_fnc_name
Specifies an alternative name for the user subroutine UCOSUB.

Example

<Constraint_UserConstr
     id                  = "1"
     usrsub_param_string = "USER(1,30101010,30101,1,30101010,30102)"
     usrsub_dll_name     = " UCOSUB">
</Constraint_UserConstr>