[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] LINKCK & DYNAMICDATA problem



Hi Elisabeth,

The last argument in the call to DynamicData is an alternative return: it is a reference to a label in the sourcecode. The following lines are an example from Type67 of how to use DynamicData:

         CALL DYNAMICDATA(LUTMP,2,NX,1,X,Y,INFO,*45)
         CALL LINKCK('TYPE67','DATA',1,99)
         RETURN 1
45        CONTINUE

If DynamicData returns successfully, it goes to label 45. Otherwise it calls LINKCK and returns.
Best regards,

Diego

Elisabeth Aslanian wrote:
Hello everybody

i am doing a data reader so i use the trnsys funcitions dynamicdata and LINKCK in type i wrote and called type907
my syntax is so :
CALL DYNAMICDATA(LU,NX,NVAL,NY,X,Y,INFO)
CALL LINKCK('TYPE907','DYNAMICDATA',1,907)
i dont understand why when i rum trnsys i get the following error:
trnsys message 104: the trnsys processor has reported that a subroutine was called that has not been found in the available TRNSYS libraries

reported infromation : reported by LINKCK


thank you for your help,

Elisabeth

_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC ! http://www.windowslive.fr/liveonecare/default.asp

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users


--
Diego A. Arias
TRNSYS Coordinator
Solar Energy Laboratory
University of Wisconsin - Madison
1500 Engineering Drive
Madison, WI 53706