AnsweredAssumed Answered

vrf writing data to file

Question asked by rsb on Sep 2, 2005
Latest reply on Sep 2, 2005 by rsb
"Blimbaum, Jerry AA R22 <jerry.blimbaum@navy.mil> wrote:
> I have a 2D array data that I want to write to file. In my VEE program,
> when I put the cursor on the data line it reads as follows:

> <Real Array Size:[32,2]   and if I print it out in VEE using
> Alphanumeric I see 2 columns of data. 


> But  I want to write this data to a txt file as 2 columns of data.
> When I look at it with Notepad it shows all the data together as one
> column of data.
> The first data point is from the first Array, the second data point is
> from the second Array and the rest of the data continues in this way.
> Within the To File object I have

> WRITE TEXT a REAL 64 STD EOL

> What am I doing wrong or what do I have to do to fix this?

The default array separator in your ToFile object is a

(carriage return/line feed). Change this to a space and you'll get
what you want.



Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes