comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to create IDL batch job in window?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: how to create IDL batch job in window? [message #42457] Thu, 10 February 2005 00:32 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Hadfield writes:

> You should also review the following thread
>
> http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_frm/thread/3664daea68830b0d/553c5fc9235761d7?q=windows+b atch+group:comp.lang.idl-pvwave&_done=%2Fgroups%3Fq%3Dwi ndows+batch+group:comp.lang.idl-pvwave%26start%3D10%26num%3D 10%26hl%3Den%26ie%3DUTF-8%26lr%3D%26as_drrb%3Dq%26as_qdr%3D% 26as_mind%3D1%26as_minm%3D1%26as_miny%3D1981%26as_maxd%3D9%2 6as_maxm%3D2%26as_maxy%3D2005%26safe%3Doff%26&_doneTitle =Back+to+Search&&d#553c5fc9235761d7

Uh, one word: TinyURL:

http://tinyurl.com/

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: how to create IDL batch job in window? [message #42461 is a reply to message #42457] Wed, 09 February 2005 20:49 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Mark Hadfield wrote:
> Enter the commands you want to execute into a script file and specify
> that as your start-up file via File/Preferences/Startup.

Actually, you don't need to do that. You can specify the script on the
command line. Eg, I create a file called test.pro in C:\temp and insert
the IDL command print, "hello". Then I can execute it from a command
prompt as follows:

C:\>type C:\temp\test.pro
print, "hello"

C:\>"C:\Program Files\RSI\IDL61\bin\bin.x86\idlde.exe" @C:\temp\test

IDLDE starts up and prints hello on its console screen.

You should also review the following thread

http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_frm/thread/3664daea68830b0d/553c5fc9235761d7?q=windows+b atch+group:comp.lang.idl-pvwave&_done=%2Fgroups%3Fq%3Dwi ndows+batch+group:comp.lang.idl-pvwave%26start%3D10%26num%3D 10%26hl%3Den%26ie%3DUTF-8%26lr%3D%26as_drrb%3Dq%26as_qdr%3D% 26as_mind%3D1%26as_minm%3D1%26as_miny%3D1981%26as_maxd%3D9%2 6as_maxm%3D2%26as_maxy%3D2005%26safe%3Doff%26&_doneTitle =Back+to+Search&&d#553c5fc9235761d7

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: how to create IDL batch job in window? [message #42463 is a reply to message #42461] Wed, 09 February 2005 20:16 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
swoo@stcnet.com wrote:
> Does anyone know how to create a batch job to run IDL in window
> system?
> Say I have a program that takes different inputs,
> pro addmap_to_hdfeos, flname, clr_table=clrtab.....
>
> I would like to create a batch job that will start IDL and run the
> program several times with different inputs. I know that you can start
> IDL from a DOS window by typing idlde, but what would be the command
> for the next step to fill in IDL command line and run the program.

Enter the commands you want to execute into a script file and specify
that as your start-up file via File/Preferences/Startup.

With a little more effort, you can avoid opening the IDLDE window by
using the IDL run-time, see

http://www.dfanning.com/tips/idl_icon.html


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: how to create IDL batch job in window? [message #42464 is a reply to message #42463] Wed, 09 February 2005 19:58 Go to previous messageGo to next message
KM is currently offline  KM
Messages: 29
Registered: October 2004
Junior Member
On Wed, 9 Feb 2005, Rick Towler wrote:
>> Does anyone know how to create a batch job to run IDL in window
>> system? Say I have a program that takes different inputs,
>> pro addmap_to_hdfeos, flname, clr_table=clrtab.....
>>
>> I would like to create a batch job that will start IDL and run
>> the program several times with different inputs. I know that you
>> can start IDL from a DOS window by typing idlde, but what would
>> be the command for the next step to fill in IDL command line and
>> run the program.

What exactly do you mean by batch? Since you are on windows, you
don't really have the concept of logging in from remote or doing
things while you are logged out, do you? Not sure about this...

Do you need to start IDL via the batch program, or could you start
IDL manually and then run the batch at that point? Can't you just
create a wrapper program that calls yours several different times
and then run the wrapper program?

The wrapper program could be a procedure, or just some command-line
style IDL that you call via the @operator.

More info would help.

-k.
Re: how to create IDL batch job in window? [message #42465 is a reply to message #42464] Wed, 09 February 2005 19:48 Go to previous messageGo to next message
netnews.comcast.net is currently offline  netnews.comcast.net
Messages: 10
Registered: October 2004
Junior Member
> Does anyone know how to create a batch job to run IDL in window
> system?
> Say I have a program that takes different inputs,
> pro addmap_to_hdfeos, flname, clr_table=clrtab.....
>
> I would like to create a batch job that will start IDL and run the
> program several times with different inputs. I know that you can start
> IDL from a DOS window by typing idlde, but what would be the command
> for the next step to fill in IDL command line and run the program.

My guess is that you can't do this w/o something like winBatch or
keyText. winBatch is far more powerful but costly. KeyText is
basically a glorified keyboard/mouse macro recorder but it is free to
try and $25 to buy.

I haven't used ketText with IDL but I have used it with another
application where we needed to run hundreds to iterations changing
parameters only accessible via the gui. It worked great.

-Rick
Re: how to create IDL batch job in window? [message #42538 is a reply to message #42461] Fri, 11 February 2005 10:43 Go to previous message
swoo is currently offline  swoo
Messages: 2
Registered: February 2005
Junior Member
Thank you. The info you provide is what I am trying to do. :)
Uhm.... I never used the @operater before....

Shannon

Mark Hadfield wrote:
> Mark Hadfield wrote:
>> Enter the commands you want to execute into a script file and
specify
>> that as your start-up file via File/Preferences/Startup.
>
> Actually, you don't need to do that. You can specify the script on
the
> command line. Eg, I create a file called test.pro in C:\temp and
insert
> the IDL command print, "hello". Then I can execute it from a command
> prompt as follows:
>
> C:\>type C:\temp\test.pro
> print, "hello"
>
> C:\>"C:\Program Files\RSI\IDL61\bin\bin.x86\idlde.exe" @C:\temp\test
>
> IDLDE starts up and prints hello on its console screen.
>
> You should also review the following thread
>
>
http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_frm/thread/3664daea68830b0d/553c5fc9235761d7?q=windows+b atch+group:comp.lang.idl-pvwave&_done=%2Fgroups%3Fq%3Dwi ndows+batch+group:comp.lang.idl-pvwave%26start%3D10%26num%3D 10%26hl%3Den%26ie%3DUTF-8%26lr%3D%26as_drrb%3Dq%26as_qdr%3D% 26as_mind%3D1%26as_minm%3D1%26as_miny%3D1981%26as_maxd%3D9%2 6as_maxm%3D2%26as_maxy%3D2005%26safe%3Doff%26&_doneTitle =Back+to+Search&&d#553c5fc9235761d7
>
> --
> Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
> m.hadfield@niwa.co.nz
> National Institute for Water and Atmospheric Research (NIWA)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2d plane data projected to sphere?
Next Topic: Re: Rubberband box for object graphics

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 12:28:22 PDT 2025

Total time taken to generate the page: 0.16309 seconds