If, in order to decide a case, the judge considers it opportune to visit some place or to inspect some thing, the judge, after having heard the parties, is to order it by a decree describing in summary fashion those things which must be exhibited during the visit or inspection.
Source: Code of Canon Law (Vatican.va)