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

Home » Public Forums » archive » IDLRT error - attempt to call undefined procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLRT error - attempt to call undefined procedure [message #92303] Fri, 13 November 2015 10:47 Go to previous message
Jonas Ardo is currently offline  Jonas Ardo
Messages: 12
Registered: April 2014
Junior Member
Hi

I have a *.PRO (LOGGERNET2WEB.PRO) producing a set of plots and it works OK when I run it manually.
I like to call it from a *.bat file to be automatically executed without starting IDL (i.e. using IDLRT).

Using:
IDL>.COMPILE LOGGERNET2WEB
IDL>RESOLVE_ALL
IDL>save, /routines, filename = 'LOGGERNET2WEB.sav'
IDL>restore, 'LOGGERNET2WEB.sav'
IDL>LOGGERNET2WEB

works fine.


But when using IDLRT (after closing IDL):
"C:\Program Files\Exelis\IDL85\bin\bin.x86\idlrt.exe" loggernet2web.sav

I get errors such as
"CGWINDOW--> Attempt to call undefined procedure: 'CGMDWINDOW_DEFINE'"
"CGWINDOW does not exists ...."
etc

IDLRT works fine with minor code such as plot etc (not using cg* commands)

I am using IDL8.5 on Windows 8.
Any suggestions?

--
Jonas Ardö
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: multiple barplots on histogram
Next Topic: MPFIT .TIED

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

Current Time: Wed Oct 08 11:59:27 PDT 2025

Total time taken to generate the page: 0.00193 seconds