# Messaging

Model ElementThe Messaging element allows you to control how MotionSolve generates messages.

## Format

<Messaging>
log_option            = { "Overwrite" | "ScreenOnly" | "Append" }
usrsub_param_string   = "USER([[par_1[,...][,par_n]])"
usrsub_dll_name       = valid_path_name
usrsub_fnc_name       = "MESSAGE_SUB"
</MESSAGING>

## Attributes

log_option
Select from Overwrite, ScreenOnly, and Append.
Overwrite
Specifies whether the LOG file should be overwritten.
ScreenOnly
the messages should be sent only to the computer screen.
Append
Whether the log file should be appended to.
usrsub_param_string
The list of parameters that are passed from the data file to the user written subroutine, MESSAGE_SUB.
usrsub_dll_name
Specifies the path and name of the DLL or shared library containing user subroutine. MotionSolve uses this information to load the user subroutine in the DLL at run time.
usrsub_fnc_name
Specifies the path and name of the DLL or shared library containing user subroutine. MotionSolve uses this information to load the user subroutine in the DLL at run time.