Go to Post Do what you want. Deal with the results. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2009, 16:18
aoconnor aoconnor is offline
Registered User
FRC #1779
 
Join Date: Jan 2009
Location: Boston
Posts: 3
aoconnor is an unknown quantity at this point
cRIO output files

Hello,
I was wondering if anyone had tried writing to a file on the cRIO using c++ code.
I have FTPed to the cRIO and am looking for my output file, but I don't know where in the filesystem to look.

In my main robot code I have something like...

%%%%%%%%%%%%%%%%

fstream _m_file;
_m_file.open("test.txt", ios:ut );
_m_file << "1 2 3 4" << endl;
_m_file.close();

%%%%%%%%%%%%%%%%%

Any guesses about where "test.txt" would be put?

Thanks in advance,
Alan
GFORCE, Team #1779
  #2   Spotlight this post!  
Unread 09-02-2009, 16:28
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Re: cRIO output files

I would assume it would put it in the root of the cRIO's memory. I'm working on a piece of code that takes and saves pictures to the cRIO's memory and from what I've read and have been told it will save it to the root unless otherwise specified.
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #3   Spotlight this post!  
Unread 09-02-2009, 17:59
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: cRIO output files

yeah just ftp to the robot. The root is the working directory so wherever you tell it to save it you will find it there.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Closed Thread


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
Problem receiving console output from cRIO Arborama Programming 7 15-02-2009 03:30
cRIO/Driver Station output to laptop smcmahon FRC Control System 3 14-12-2008 13:51
Converting step files to inventor files GMAdan Inventor 4 01-01-2007 20:09
CAD Help needed. Mech Desktop 6 files backwards to AutoCAD 14? (2d files) Elgin Clock Inventor 0 30-08-2004 23:06
Compressor output archiver 2001 1 24-06-2002 00:04


All times are GMT -5. The time now is 05:34.

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