[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: Control Trnsys by command line
- Date: Wed, 16 Jun 2004 17:09:07 +0200
- From: "F.Pujiula" <f.pujiula@xxxxxxx>
- Subject: AW: Control Trnsys by command line
Dear Jochen,
There is a way indeed (at least using batch-files *.bat it works):
The option /N tells to TRNSYS to continue with the next simulation
without waiting on the OK click:
C:/trnsys15/trnsys fileXYZ.dck /N
Regards
Francisco
----------------------------------------------------------
Institut fur Solarenergieforschung GmbH Hameln/Emmerthal
Dipl.-Phys. Francisco Pujiula
Am Ohrberg 1
D-31860 Emmerthal
fon +49 (0)5151 / 999 - 524
fax +49 (0)5151 / 999 - 500
email f.pujiula@xxxxxxx
web www.isfh.de
----------------------------------------------------------
-----Ursprungliche Nachricht-----
Von: owner-trnsys@xxxxxxxxxxxxxxxxxxx
[mailto:owner-trnsys@xxxxxxxxxxxxxxxxxxx] Im Auftrag von Jochen Wriske
Gesendet: Mittwoch, 16. Juni 2004 16:09
An: trnsys@xxxxxxxxxxxxxxxxxxx
Betreff: Control Trnsys by command line
Dear TRNSYS users,
is there a way to avoid the display of the 'simulation completed' dialog
after trnsys has finished simulating? I would like to do multiple
simulations in a kind of batch mode in VB by executing somthing like
Shell ("C:/trnsys15/trnsys fileXYZ.dck").
This works fine, but I have to confirm the mentioned dialog before I'm
able
to work with the result files. That is quite tideous.
Of course there are some system near solutions like getting handle of
the
dialog window and emulating the OK click, but my hope is that there is a
switch somewhere in a configuration file that tells trnsys to finish
simulating silently. I could not find something usefull in the manual
concerning this problem, but maybe someone has a good idea?
Thanks and regards,
Jochen