[TRNSYS-users] LINKCK & DYNAMICDATA problem
David Bradley
bradley at tess-inc.com
Thu Jun 7 07:58:37 PDT 2007
Elisabeth,
Try modifying your call to look like the following:
CALL DYNAMICDATA(LU,NX,NVAL,NY,X,Y,INFO,*110)
CALL LINKCK('TYPE907','DATA ',1,99)
RETURN 1
110 CONTINUE
there is one more argument at the end of the
above call to DynamicData (*110) which causes the
program to jump to line 110 when it returns
successfully from the DynamicData subroutine. If
it returns unsuccessfully, then it proceeds on to
the next line (the call to LINKCK). LINKCK is a
subroutine that writes an error when there is an
unsuccessful call to a subroutine. What happens
in your case is that whether DynamicData is
called correctly or incorrectly, you are then
calling LINKCK, which is reporting an error. You
need to skip that call when DynamicData was successful.
Cheers,
David
At 15:14 6/6/2007, 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 at engr.wisc.edu
>https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 2916 Marketplace Drive - Suite 104
Partner Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley at tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
"Providing software solutions for today's energy engineering projects"
****************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20070607/e72807eb/attachment-0005.htm>
More information about the TRNSYS-users
mailing list