anchor.diff:        n_t_global = n_t_global + 1
               
         ErrStat_c = ErrStat
  -      ErrMsg_c  = TRANSFER( TRIM(ErrMsg)//C_NULL_CHAR, ErrMsg_c )
  +      ErrMsg = TRIM(ErrMsg)//C_NULL_CHAR
  +      ErrMsg_c  = TRANSFER( ErrMsg//C_NULL_CHAR, ErrMsg_c )
      END IF
      
         
  
positive.code:    NumOuts_c     = min(MAXOUTPUTS, 1 + SUM( Turbine%y_FAST%numOuts )) ! includes time
     dt_c          = Turbine%p_FAST%dt      
        
     ErrStat_c = ErrStat
     ErrMsg_c  = TRANSFER( TRIM(ErrMsg)//C_NULL_CHAR, ErrMsg_c )
  
  #ifdef CONSOLE_FILE   
     if (ErrStat /= ErrID_None) call wrscr1(trim(ErrMsg))
  
negative.code:       ! set the outputs for external code here...
        ! return y_FAST%ChannelNames
        
        ErrStat_c     = ErrStat
        ErrMsg        = TRIM(ErrMsg)//C_NULL_CHAR
        ErrMsg_c      = TRANSFER( ErrMsg//C_NULL_CHAR, ErrMsg_c )
     END IF
     
     CALL FillOutputAry_T(Turbine, Outputs)   
  