How to save an iTools procedure? [message #59481] |
Mon, 31 March 2008 01:57  |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
Dear all,
I want to save an iTools procedure which consist of data and figures
to the file, in order to edit the detail of figures next time.
But an ISV file is just a save file that contains a portion of the
iTools data/vis hierarchy.
When I open ISV file, many properties of figures is missing.
If I use SAVE and RESTORE, only the variable is resotred and the
figure of iTools cannot be saved.
Is there some method which can save all the iTools data?
Best regards,
Du
|
|
|
|
|
Re: How to save an iTools procedure? [message #59547 is a reply to message #59481] |
Tue, 01 April 2008 06:48   |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Apr 1, 2:49 am, jdu <jdu.u...@gmail.com> wrote:
> By the way, my purpose is to save the current state of the iTool in a
> single file.
> With this file, I can return to the current state of the data later
> and continute my work.
>
> Du
>
> On Apr 1, 1:29 pm, jdu <jdu.u...@gmail.com> wrote:> I have read the webpage you give me and the Tech Tip on the Research
>> Systems web page.
>> But the example cannot be repeated in my computer.
>> I build a procedure iplotfindgen100.pro that contains one line of
>> code:
>
>> PRO iplotfindgen100
>> iplot, findgen(100)
>> END
>
>> Then build the Binary At The IDL Command Line
>> IDL> .FULL_RESET_SESSION
>> IDL> .COMPILE iplotfindgen100
>> IDL> RESOLVE_ALL
>> IDL> ITRESOLVE
>> IDL> SAVE, /ROUTINES, FILENAME='iplotfingen100.sav'
>> Because the version of my IDL is 6.5, I use ITRESOLVE to replace the
>> procedure IDLITRESOLVEITOOLS.
>> However the .sav file still cannot be opened in the IDL Virtual
>> Machine.
>> A warning is given.
>> "The following error was encountered: Attempt to call undefined
>> procedure/function: 'IPOLTFINDGEN100'.
>> Please consult the supplier of the application."
>
>> Could you give me a good .sav file of the example for an iTools
>> procedure?
>
>> Best regards,
>> Du
>
>> On Apr 1, 5:50 am, Vince Hradil <hrad...@yahoo.com> wrote:
>
>>> On Mar 31, 3:57 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
>
>>>> Dear all,
>
>>>> I want to save an iTools procedure which consist of data and figures
>>>> to the file, in order to edit the detail of figures next time.
>>>> But an ISV file is just a save file that contains a portion of the
>>>> iTools data/vis hierarchy.
>>>> When I open ISV file, many properties of figures is missing.
>>>> If I use SAVE and RESTORE, only the variable is resotred and the
>>>> figure of iTools cannot be saved.
>>>> Is there some method which can save all the iTools data?
>
>>>> Best regards,
>>>> Du
>
>>> http://www.dfanning.com/itool_tips/runtime.html
It works fine on my machine - btw, I think David's page is not quite
right, I too had to use itresolve.pro.
Have you checked all your spellings? Your error stated
'IPOLTFINDGEN100' could not be found... shouldn't the filename be
'IPLOTFINDGEN100.PRO'?
|
|
|
Re: How to save an iTools procedure? [message #59551 is a reply to message #59481] |
Tue, 01 April 2008 00:49   |
jdu
Messages: 7 Registered: February 2008
|
Junior Member |
|
|
By the way, my purpose is to save the current state of the iTool in a
single file.
With this file, I can return to the current state of the data later
and continute my work.
Du
On Apr 1, 1:29 pm, jdu <jdu.u...@gmail.com> wrote:
> I have read the webpage you give me and the Tech Tip on the Research
> Systems web page.
> But the example cannot be repeated in my computer.
> I build a procedure iplotfindgen100.pro that contains one line of
> code:
>
> PRO iplotfindgen100
> iplot, findgen(100)
> END
>
> Then build the Binary At The IDL Command Line
> IDL> .FULL_RESET_SESSION
> IDL> .COMPILE iplotfindgen100
> IDL> RESOLVE_ALL
> IDL> ITRESOLVE
> IDL> SAVE, /ROUTINES, FILENAME='iplotfingen100.sav'
> Because the version of my IDL is 6.5, I use ITRESOLVE to replace the
> procedure IDLITRESOLVEITOOLS.
> However the .sav file still cannot be opened in the IDL Virtual
> Machine.
> A warning is given.
> "The following error was encountered: Attempt to call undefined
> procedure/function: 'IPOLTFINDGEN100'.
> Please consult the supplier of the application."
>
> Could you give me a good .sav file of the example for an iTools
> procedure?
>
> Best regards,
> Du
>
> On Apr 1, 5:50 am, Vince Hradil <hrad...@yahoo.com> wrote:
>
>> On Mar 31, 3:57 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
>
>>> Dear all,
>
>>> I want to save an iTools procedure which consist of data and figures
>>> to the file, in order to edit the detail of figures next time.
>>> But an ISV file is just a save file that contains a portion of the
>>> iTools data/vis hierarchy.
>>> When I open ISV file, many properties of figures is missing.
>>> If I use SAVE and RESTORE, only the variable is resotred and the
>>> figure of iTools cannot be saved.
>>> Is there some method which can save all the iTools data?
>
>>> Best regards,
>>> Du
>
>> http://www.dfanning.com/itool_tips/runtime.html
|
|
|
Re: How to save an iTools procedure? [message #59552 is a reply to message #59481] |
Mon, 31 March 2008 22:29   |
jdu
Messages: 7 Registered: February 2008
|
Junior Member |
|
|
I have read the webpage you give me and the Tech Tip on the Research
Systems web page.
But the example cannot be repeated in my computer.
I build a procedure iplotfindgen100.pro that contains one line of
code:
PRO iplotfindgen100
iplot, findgen(100)
END
Then build the Binary At The IDL Command Line
IDL> .FULL_RESET_SESSION
IDL> .COMPILE iplotfindgen100
IDL> RESOLVE_ALL
IDL> ITRESOLVE
IDL> SAVE, /ROUTINES, FILENAME='iplotfingen100.sav'
Because the version of my IDL is 6.5, I use ITRESOLVE to replace the
procedure IDLITRESOLVEITOOLS.
However the .sav file still cannot be opened in the IDL Virtual
Machine.
A warning is given.
"The following error was encountered: Attempt to call undefined
procedure/function: 'IPOLTFINDGEN100'.
Please consult the supplier of the application."
Could you give me a good .sav file of the example for an iTools
procedure?
Best regards,
Du
On Apr 1, 5:50 am, Vince Hradil <hrad...@yahoo.com> wrote:
> On Mar 31, 3:57 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
>
>> Dear all,
>
>> I want to save an iTools procedure which consist of data and figures
>> to the file, in order to edit the detail of figures next time.
>> But an ISV file is just a save file that contains a portion of the
>> iTools data/vis hierarchy.
>> When I open ISV file, many properties of figures is missing.
>> If I use SAVE and RESTORE, only the variable is resotred and the
>> figure of iTools cannot be saved.
>> Is there some method which can save all the iTools data?
>
>> Best regards,
>> Du
>
> http://www.dfanning.com/itool_tips/runtime.html
|
|
|
|
Re: How to save an iTools procedure? [message #59613 is a reply to message #59481] |
Tue, 01 April 2008 19:59   |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
Moreover, sometime a isv file cannot be opend by double-click.
However, if you start a iTool at first, click file->open and select
that isv file, it can be opened.
I do not know why it happens.
Du
On Apr 2, 10:54 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
> Yes.
> All I want is to save the data and visualizations into a file.
> I have read the iTool user guide.
> It seems that the .isv file can meet my requirement.
>
> But there are always some errors about the .isv file.
> For example:
> u=fltarr(50,50)
> a=randomn(seed,50)
> for i=0,49 do u[i,i]=a[i]
>
> v=fltarr(50,50)
> b=randomn(seed,50)
> for i=0,49 do v[i,i]=b[i]
>
> x=findgen(50)*2*!pi/50.
> y=sin(x)
>
> ivector,u,v,x,y
>
> Then insert a plot visualization using x and y in the iTool window.
> At last save the isv file for this iTool.
> But this isv file cannot be opend by IDL, some errors occor when I
> double-click it.
> When I only use the iplot, there is no problem.
> As soon as the iVector visualization is used, such-and-such errors of
> isv file occor.
>
> Du
>
> On Apr 1, 11:11 pm, Chris Torrence <gorth...@gmail.com> wrote:
>
>> Hi Du,
>
>> It sounds like you want to save the actual state of your iTool,
>> including the data and visualizations. If you use David & Vince's
>> methods, you are actually saving the IDL code that creates the iTool,
>> but not the actual iTool state. I don't think that's what you want.
>
>> You *should* be able to simply save into a .isv file, and that should
>> save all of the data and visualizations needed for that particular
>> iTool.
>
>> Can you give an example of either data or properties that are not
>> getting saved? If so, that would be a bug, and we could fix it.
>
>> -Chris
>> ITTVIS
|
|
|
Re: How to save an iTools procedure? [message #59614 is a reply to message #59542] |
Tue, 01 April 2008 19:54   |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
Yes.
All I want is to save the data and visualizations into a file.
I have read the iTool user guide.
It seems that the .isv file can meet my requirement.
But there are always some errors about the .isv file.
For example:
u=fltarr(50,50)
a=randomn(seed,50)
for i=0,49 do u[i,i]=a[i]
v=fltarr(50,50)
b=randomn(seed,50)
for i=0,49 do v[i,i]=b[i]
x=findgen(50)*2*!pi/50.
y=sin(x)
ivector,u,v,x,y
Then insert a plot visualization using x and y in the iTool window.
At last save the isv file for this iTool.
But this isv file cannot be opend by IDL, some errors occor when I
double-click it.
When I only use the iplot, there is no problem.
As soon as the iVector visualization is used, such-and-such errors of
isv file occor.
Du
On Apr 1, 11:11 pm, Chris Torrence <gorth...@gmail.com> wrote:
> Hi Du,
>
> It sounds like you want to save the actual state of your iTool,
> including the data and visualizations. If you use David & Vince's
> methods, you are actually saving the IDL code that creates the iTool,
> but not the actual iTool state. I don't think that's what you want.
>
> You *should* be able to simply save into a .isv file, and that should
> save all of the data and visualizations needed for that particular
> iTool.
>
> Can you give an example of either data or properties that are not
> getting saved? If so, that would be a bug, and we could fix it.
>
> -Chris
> ITTVIS
|
|
|
|
Re: How to save an iTools procedure? [message #59662 is a reply to message #59481] |
Thu, 03 April 2008 19:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
duxiyu@gmail.com writes:
> Is there someon who can help me?
Ken Bowman is the only one on this newsgroup who I
know uses iTools. Sending a note with a $50 bill attached
to him might help. Otherwise, I'd be looking to file
a bug report with ITTVIS.
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.")
|
|
|
Re: How to save an iTools procedure? [message #59663 is a reply to message #59613] |
Thu, 03 April 2008 19:01  |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
Dear all,
Is there someon who can help me?
Du
On Apr 2, 10:59 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
> Moreover, sometime a isv file cannot be opend by double-click.
> However, if you start a iTool at first, click file->open and select
> that isv file, it can be opened.
> I do not know why it happens.
>
> Du
>
> On Apr 2, 10:54 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
>
>> Yes.
>> All I want is to save the data and visualizations into a file.
>> I have read the iTool user guide.
>> It seems that the .isv file can meet my requirement.
>
>> But there are always some errors about the .isv file.
>> For example:
>> u=fltarr(50,50)
>> a=randomn(seed,50)
>> for i=0,49 do u[i,i]=a[i]
>
>> v=fltarr(50,50)
>> b=randomn(seed,50)
>> for i=0,49 do v[i,i]=b[i]
>
>> x=findgen(50)*2*!pi/50.
>> y=sin(x)
>
>> ivector,u,v,x,y
>
>> Then insert a plot visualization using x and y in the iTool window.
>> At last save the isv file for this iTool.
>> But this isv file cannot be opend by IDL, some errors occor when I
>> double-click it.
>> When I only use the iplot, there is no problem.
>> As soon as the iVector visualization is used, such-and-such errors of
>> isv file occor.
>
>> Du
>
>> On Apr 1, 11:11 pm, Chris Torrence <gorth...@gmail.com> wrote:
>
>>> Hi Du,
>
>>> It sounds like you want to save the actual state of your iTool,
>>> including the data and visualizations. If you use David & Vince's
>>> methods, you are actually saving the IDL code that creates the iTool,
>>> but not the actual iTool state. I don't think that's what you want.
>
>>> You *should* be able to simply save into a .isv file, and that should
>>> save all of the data and visualizations needed for that particular
>>> iTool.
>
>>> Can you give an example of either data or properties that are not
>>> getting saved? If so, that would be a bug, and we could fix it.
>
>>> -Chris
>>> ITTVIS
|
|
|