Re: running my procedure in VM [message #56134] |
Mon, 08 October 2007 02:57 |
Tal
Messages: 26 Registered: August 2007
|
Junior Member |
|
|
Adding to David's notes,
bear in mind that in order to be on the safe side, the IDL version you
use should better be the same as the costumer will use. in addition,
you should make sure that all procedures will be pre-compiled and
defined when you save them.
if things do not work right on the costumers machine, check the error
message carefully. it will possible define the procedures or functions
which are unrecognized and which you have to add to your save
command. see also IDL help on SAVE.
Tal
|
|
|
Re: running my procedure in VM [message #56159 is a reply to message #56134] |
Fri, 05 October 2007 08:57  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
rpertaub@gmail.com writes:
> I have written a program (much with your help!) and it is a .pro file.
> It consists of several .pro functions which I have saved in the IDL
> library so that they are compiled when I open IDL and can just run my
> procedure with no problem. I now need to share this program with a
> customer, who does not have IDL. I figured he can download Virtual
> machine for free and thus run my procedure. However, I am not sure how
> to convert the .pro (with all its necessary functions to work) to a
> virtual machine type.
> Note: I do not have a nice GUI yet, just a few arguments needed which
> I type in as well as file paths.
Your Virtual Machine user is not going to be able
to type or pass information, since there are no
provisions for doing this, except what you provide
(e.g., text widgets, file dialogs, etc.). There
is no IDL command line in the Virtual Machine (VM).
I'd say you have more work to do before you
give this to anyone. (I'm not even sure the VM
is useful without a GUI, but perhaps someone is
using it like that.)
Once you get the input and output figured out, you
can create your application and ready it for the VM
by following these instructions for creating a stand-alone
application:
http://www.dfanning.com/tips/idl_icon.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|