Aaron:
 
As you would have found out as soon as you tried to use this function, it throws an error if the number of columns in the input channel is different from the declared size of the VA object into which you are trying to read the data.
 
For this reason, you should determine the number of columns ahead of time using GetChanArySize_DB(), as well as the data type using GetChanType_DB(), then create the VA using CreateExt_VA(). Remember to destroy the object before re-using inside a loop.
 
Stephen Cheesman

_______________
Geosoft Inc.
Stephen Cheesman
[EMAIL PROTECTED]
(905) 315-8207

Software and services for effective earth science decision-making.
Free Oasis montaj interface now available at http://www.geosoft.com
 

-----Original Message-----
From: Aaron Balasch [mailto:[EMAIL PROTECTED]]
Sent: September 25, 2001 2:31 PM
To: [EMAIL PROTECTED]
Subject: [gxnet]: GetChanVA_DB

Hi everyone,
 
I stumbled upon something that confused me. Maybe I'm missing something but it doesn't seem to make sense to me.
 
I looked up the syntax for GetChanVA_DB, to place the contents of a channel in a VA. The syntax is given as DB Object, Line Handle, Channel Symbol, and VA in which to place the data. Since a VA is a 2 or more-D array, shouldn't it have an argument to tell it in which column of the VA to put the data?
 
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]

Reply via email to