It is a key to redevelop ADAMS of writing User-Written Subroutine in C Programming Language.In this paper,a User-Written Subroutine is specified to satisfy user's particular needs by writing C subroutine referring to the template offered by ADAMS;compiling the C subroutine to create object in Visual C+ + 6.0;and linking the object to ADAMS/View using DLL(dynamic link libraries).Finally,the process above is demonstrated with an example of writing a User-Written Subroutine for creating a series of pseudo-random values which accords with the normal distribution.