Go to Post This thread is a reminder to myself that I have 29 more days to sleep. :) - Seth Mallory [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-12-2010, 02:12
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
cRIO data logging

Preamble:
I always have trouble with file I/O. I'm not sure why. It should be easy, right? Bear with me if I'm overlooking things right in front of me (if, for example, I should be using datalogs instead of a tab-delimited text document)

Problem:
I want to log data to a file. There will be new data regularly; the point of the log is to record a history of the data. This means I want to read it as an array when I FTP the file over to my computer. It may be thousands of entries long. I don't want the data to become corrupt if I quit the program improperly (the robot is shut down, for example, or my project explorer looses comms during a temporary deployment).
I'd prefer human-readable, but I'll let that go if it's not practical.
I'd also like it to have a fairly low overhead, so the logging does not slow down the data collection. I could be logging anything from 6 bytes every 20ms to 8 bytes every 1ms.

What is a good way to continuously log data?
__________________
-- Marshal Horn
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging console data to text file on crio Kingofl337 Programming 3 09-04-2009 18:57
recieve data from cRIO byteit101 Programming 9 07-03-2009 16:37
Data delay between Crio and DS Tom Line NI LabVIEW 9 17-02-2009 08:40
Data logging to internal memory JBotAlan C/C++ 13 13-02-2009 00:04
pic: Team Data Logging Device falconmaster Extra Discussion 8 13-03-2007 10:01


All times are GMT -5. The time now is 10:18.

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