Go to Post Maybe FRC WILL casue world peace, who knows, eh ? - Tottanka [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #5   Spotlight this post!  
Unread 23-05-2011, 03:05
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Non-volatile memory?

Quote:
Originally Posted by mdrouillard View Post
As I am not too familiar with Java but am trying to do file io to the crio's non-volatile memory using C++. In the 2011 wplib I simply do not see an equivalent class as fileconnector, as suggested by Ron in the Java suggestion. Therefore does anyone have sample code that could write something to the crio in c++ . Perhaps I simply need to include stdio.h or a basic library, but then I must as the question of whether writing to the filesystem is allowed or if there are certain FRC restrictions on methods regarding this.

Thanks to, and thoughts from everyone are welcomed.

Michael
In C++ you can use the typical file i/o library functions to access the disk. There are no limitations related to FRC. It is a flash disk, though, so very high numbers of writes will damage the flash.

-Joe
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 12:19.

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