To extend Robert Ellis's original problem about displaying channels, I have
several databases and I would like to apply the same process to each
database. I have written a gx to do this in batch mode. The gx loads the
first database, applies the process, saves the database through a
Commit_DB() method, unload the database, loads the second database, applies
the process, etc. My problem is that even though I display the channels
through a LoadChan() ommand in between the stage where I apply the process
and the Commit_DB(), the next time I open the database, the channels that I
want displayed are not displayed. They are in the database but they aren't
displayed. So far, the only solution I've found to this problem is to use an
UnLoadVerify() command with a prompt to save and answering yes to the
prompt, but this defeats the whole purpose of doing it in batch mode. Can
anyone help me?
Aaron Balasch
Sky Hunter Technologies Inc.
Suite 101, 1725 10th Avenue S.W.
Calgary, Alberta T3C 0K1
Phone: (403)228-2175
Fax: (403)244-7955
email: [EMAIL PROTECTED]
----- Original Message -----
From: Gerry Connard <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 11:58 AM
Subject: Re: [gxnet]: Making a Channel visible
> Bob,
>
> If your code is in a GX, you can use the call
>
> LoadChan_EDB( EDB_Object, Channel_name );
>
> to display a channel. Remember that you need to unlock the database first
with
> a call to
>
> UnLock_EDB ( EDB_Object );
>
> Good luck,
>
> Gerry Connard
>
> "Ellis, Robert RG" wrote:
>
> > Hi,
> >
> > I've written some simple code to read a database, processes some lines,
and
> > write the results back to the database in a new channel. My problem is
that
> > when I open the modified database in Montaj, the new channels are
> > "invisible" and must be displayed manually with a right mouse
click->List
> > etc. Is there a way to make the channels "visible" when they are
created?
> >
>
> --
> *************************************************************************
> Northwest Geophysical Associates, Inc. http://www.nga.com
> Box 1063
> Corvallis, Oregon 97339
> voice: 541-757-7231 / fax 541-757-7331
>
>
> _______________________________________________________
> More mailing list info http://www.geosoft.com/support/listserv/index.html
> List Archive http://www.mail-archive.com/[email protected]
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html
List Archive http://www.mail-archive.com/[email protected]