An expert appointed by a trial court to assist it in the adjudication of a case in which his special skill and knowledge may aid the court is an officer of the court from the time of his qualification until the rendition of final judgment in the case.