comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Writing an 8 Column array into a data file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Writing an 8 Column array into a data file [message #87560] Fri, 14 February 2014 20:14 Go to previous message
drewciampa is currently offline  drewciampa
Messages: 9
Registered: February 2014
Junior Member
I'm trying to write a large array into a data file.

The array is 8 columns with up to 6000 rows. I have tried to do this using printf mainly. Now below you will see a main problem with one of the columns, but overall the 8 columns keep stacking. I can't seem to get 8 individual columns with 6000 rows, each column having the correct set of data. Instead I get 8 columns where the data is being written horizontally instead of vertically.

An even bigger problem I am having is trying to printf an array of hexadecimal values into a data file. The values '2b40e2200ff00007' are only showing up as ' 2' in the data file. It seems that the printf function is only writing the first digit. I've been using the 'Z' format code just FYI.



PS. the 8 column array was constructed from 8 separate arrays each containing 6000 values.



Thanks in advance
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MPFIT2DFUN- use for a time series of images?
Next Topic: Adding Legends to Coyote Graphics Windows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:20:36 PDT 2025

Total time taken to generate the page: 0.00480 seconds