Go to Post There is always a way, you just have to find it. - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-07-2013, 17:44
SEMroboticsLead's Avatar
SEMroboticsLead SEMroboticsLead is offline
Mechie
FRC #4641
Team Role: Leadership
 
Join Date: Jul 2013
Rookie Year: 2009
Location: Texas
Posts: 6
SEMroboticsLead is an unknown quantity at this point
Writing a 2D array to a .csv file inaccuracy

Hello, so i am writing a program to write a 2D array to a .csv file and i am getting this weird first row. The first number is not apart of the incoming data but rather a separate number added on later that represents the iteration when that data occured. The file looks like this:"
47.000000000000,[0, 0, 0]
0.000000,3.225078,4.225078,5.225078
1.000000,5.188849,6.188849,7.188849
2.000000,3.099205,4.099205,5.099205
3.000000,3.634052,4.634052,5.634052
4.000000,3.720020,4.720020,5.720020
5.000000,4.548906,5.548906,6.548906
.................................................. .
47.000000,4.816074,5.816074,6.816074
48.000000,4.336721,5.336721,6.336721
49.000000,2.745114,3.745114,4.745114"
That first line is not apart of the data set that goes into the indexing tunnel but it comes out this way. I would like to know two things; why does this happen and how do I remedy it? I know it is happening there because i probed the wire before and after the tunnel.
Any help would be greatly appreciated guys.
__________________
Chris Brown
Science and Engineering Magnet
at Yvonne A. Ewell Magnet Center
(Expected 2014 graduate)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi