Re: Problem with Vcolorbar under IDL 8.0 ? [message #75315] |
Fri, 25 February 2011 10:38  |
George Millward
Messages: 29 Registered: February 2000
|
Junior Member |
|
|
On Feb 25, 9:36 am, David Fanning <n...@idlcoyote.com> wrote:
> George Millward writes:
>> IDL> print, obj_valid(obj)
>> 0
>> IDL> print, !version
>> { x86 Win32 Windows Microsoft Windows 8.0 Jun 17 2010 32 64}
>
> I guess the first thing I would try is get the IDL 8.0.1
> update. That should be free. Lot's of problems with IDL 8.0.
> This could well be one of them.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thanks David,
Yes, I'll do that and report back. I'm getting my machine rebuilt
next week with Windows 7 - so that should
be a good opportunity to get 8.0.1
Cheers
George.
|
|
|
|
Re: Problem with Vcolorbar under IDL 8.0 ? [message #75320 is a reply to message #75319] |
Fri, 25 February 2011 08:33   |
George Millward
Messages: 29 Registered: February 2000
|
Junior Member |
|
|
On Feb 25, 9:08 am, David Fanning <n...@idlcoyote.com> wrote:
> George Millward writes:
>> downloaded the latest - no improvement...
>
> Well, it is a mystery. Here is a session in IDL 8.0.1
> on my Windows 7, 64-bit machine:
>
> IDL> .reset
>
> IDL> obj = obj_new('vcolorbar')
> % Compiled module: VCOLORBAR__DEFINE.
> % Compiled module: FSC_NORMALIZE.
> IDL> help, /source
> Compiled Procedures:
> $MAIN$
> VCOLORBAR::CLAMP C:\IDL\coyote\vcolorbar__define.pro
> VCOLORBAR::CLEANUP C:\IDL\coyote\vcolorbar__define.pro
> VCOLORBAR::GETPROPERTY C:\IDL\coyote\vcolorbar__define.pro
> VCOLORBAR::SETPROPERTY C:\IDL\coyote\vcolorbar__define.pro
> VCOLORBAR__DEFINE C:\IDL\coyote\vcolorbar__define.pro
>
> Compiled Functions:
> FSC_NORMALIZE C:\IDL\coyote\fsc_normalize.pro
> VCOLORBAR::INIT C:\IDL\coyote\vcolorbar__define.pro
> IDL> print, obj_valid(obj)
> 1
> IDL> print, !version
> { x86_64 Win32 Windows Microsoft Windows 8.0.1 Oct 5 2010 64 64}
>
> What do these commands look like for you?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
IDL> print, obj_valid(obj)
0
IDL> print, !version
{ x86 Win32 Windows Microsoft Windows 8.0 Jun 17 2010 32 64}
32 bit / 64 bit ??
|
|
|
|
Re: Problem with Vcolorbar under IDL 8.0 ? [message #75328 is a reply to message #75325] |
Fri, 25 February 2011 07:36   |
George Millward
Messages: 29 Registered: February 2000
|
Junior Member |
|
|
On Feb 24, 9:21 pm, David Fanning <n...@idlcoyote.com> wrote:
> David Fanning writes:
>> Try that and we will see where we are. IDL 8 caused
>> a lot of problem with names and many libraries had
>> to adapt, so...
>
> Also, what kind of machine are you running this on?
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
David,
downloaded the latest - no improvement...
IDL> select_objects
% Compiled module: SELECT_OBJECTS.
% Compiled module: FSC_NORMALIZE.
% Compiled module: VCOLORBAR__DEFINE.
% VCOLORBAR::INIT: Attempt to call undefined method:
'VCOLORBAR::POSITION'.
% IDLGRMODEL::ADD: Invalid object reference: <NullObject>.
% Execution halted at: SELECT_OBJECTS 287 C:\Documents and Settings
\george\IDLWorkspace80\coyote_new\select_objects.pro
% $MAIN$
IDL> Print, File_Which('select_objects.pro')
% Compiled module: FILE_WHICH.
C:\Documents and Settings\george\IDLWorkspace80\coyote_new
\select_objects.pro
IDL> Print, File_Which('vcolorbar__define.pro')
C:\Documents and Settings\george\IDLWorkspace80\coyote_new
\vcolorbar__define.pro
IDL> Print, File_Which('fsc_normalize.pro')
C:\Documents and Settings\george\IDLWorkspace80\coyote_new
\fsc_normalize.pro
I'm running IDL8.0.0 on Windows XP - not sure if that's an issue ?
Cheers
George.
|
|
|
|
|
Re: Problem with Vcolorbar under IDL 8.0 ? [message #75341 is a reply to message #75340] |
Thu, 24 February 2011 19:54   |
George Millward
Messages: 29 Registered: February 2000
|
Junior Member |
|
|
On Feb 24, 3:18 pm, David Fanning <n...@idlcoyote.com> wrote:
> George Millward writes:
>> I'm using David Fanning's VColorbar__define.pro under IDL 8.0
>> and it ain't working....
>> It works fine under 7.1 ..........I'm wondering if there is a problem
>> or if the problem is me ;o)
>
>> thisColorBar = Obj_New('VColorBar')
>> thisModel->Add,thisColorBar
>
>> gives me:
>
>> 'Attempt to call undefined method Vcolorbar::position'
>
>> I do have a large viewport defined.... but no idea whether this would
>> cause a problem.....
>
>> thisView = OBJ_NEW('IDLgrView', Color=[80,80,80],
>> Viewplane_Rect=[0.,0.,1440.,900.],zclip=[20.,-10.])
>
>> ...and like I say, works fine with 7.1
>
> I guess I need more information. I just ran the Coyote
> Library routine Select_Objects, which uses a VColorbar
> object, in IDL 8 on my Windows machine and it ran fine.
>
> Are you sure you are finding the right program?
>
> IDL> Print, File_Which('vcolorbar__define.pro')
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
David,
Thanks for your help.... Yeh, 'finding the right program' is
definitely an issue - and file_which is very useful.
...but no progress.
I have the same problem occurring with select_objects.pro... and
everything seems to be referenced ok.
Are there any other programs to consider than the below ?
Cheers
George.
IDL> select_objects
% Compiled module: SELECT_OBJECTS.
% Compiled module: FSC_NORMALIZE.
% Compiled module: VCOLORBAR__DEFINE.
% VCOLORBAR::INIT: Attempt to call undefined method:
'VCOLORBAR::POSITION'.
% IDLGRMODEL::ADD: Invalid object reference: <NullObject>.
% Execution halted at: SELECT_OBJECTS 287 C:\Documents and Settings
\george\IDLWorkspace80\coyote\select_objects.pro
% $MAIN$
IDL> Print, File_Which('select_objects.pro')
% Compiled module: FILE_WHICH.
C:\Documents and Settings\george\IDLWorkspace80\coyote
\select_objects.pro
IDL> Print, File_Which('vcolorbar__define.pro')
C:\Documents and Settings\george\IDLWorkspace80\coyote
\vcolorbar__define.pro
IDL> Print, File_Which('fsc_normalize.pro')
C:\Documents and Settings\george\IDLWorkspace80\coyote
\fsc_normalize.pro
|
|
|
Re: Problem with Vcolorbar under IDL 8.0 ? [message #75345 is a reply to message #75341] |
Thu, 24 February 2011 14:18   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
George Millward writes:
> I'm using David Fanning's VColorbar__define.pro under IDL 8.0
> and it ain't working....
> It works fine under 7.1 ..........I'm wondering if there is a problem
> or if the problem is me ;o)
>
> thisColorBar = Obj_New('VColorBar')
> thisModel->Add,thisColorBar
>
> gives me:
>
> 'Attempt to call undefined method Vcolorbar::position'
>
> I do have a large viewport defined.... but no idea whether this would
> cause a problem.....
>
> thisView = OBJ_NEW('IDLgrView', Color=[80,80,80],
> Viewplane_Rect=[0.,0.,1440.,900.],zclip=[20.,-10.])
>
> ...and like I say, works fine with 7.1
I guess I need more information. I just ran the Coyote
Library routine Select_Objects, which uses a VColorbar
object, in IDL 8 on my Windows machine and it ran fine.
Are you sure you are finding the right program?
IDL> Print, File_Which('vcolorbar__define.pro')
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Problem with Vcolorbar under IDL 8.0 ? [message #75628 is a reply to message #75315] |
Tue, 15 March 2011 14:18  |
George Millward
Messages: 29 Registered: February 2000
|
Junior Member |
|
|
On Feb 25, 12:38 pm, George Millward <george.millw...@noaa.gov> wrote:
> On Feb 25, 9:36 am, David Fanning <n...@idlcoyote.com> wrote:
>
>
>
>> George Millward writes:
>>> IDL> print, obj_valid(obj)
>>> 0
>>> IDL> print, !version
>>> { x86 Win32 Windows Microsoft Windows 8.0 Jun 17 2010 32 64}
>
>> I guess the first thing I would try is get the IDL 8.0.1
>> update. That should be free. Lot's of problems with IDL 8.0.
>> This could well be one of them.
>
>> Cheers,
>
>> David
>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Thanks David,
>
> Yes, I'll do that and report back. I'm getting my machine rebuilt
> next week with Windows 7 - so that should
> be a good opportunity to get 8.0.1
>
> Cheers
>
> George.
David,
I now have 8.0.1 and can report there are no more problems with
vcolorbar.
Apologies for the false tech support request.
Cheers
George.
|
|
|