Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Bob Cravens

Member Since 16 Aug 2010
Offline Last Active Oct 23 2010 12:26 AM
-----

Posts I've Made

In Topic: Port Arduino GPS Data Logger to Netduino

06 September 2010 - 07:55 PM

I was able to port this arduino project to the netduino using the 4.1.1 alpha 1 firmware. Here is a link to the details. http://blog.bobcrave...heNetduino.aspx Bob

In Topic: Netduino Firmware v4.1.1 ALPHA 1

06 September 2010 - 12:09 AM

Yeah, I tried flushing the FileStream alone. That did not work either. It only really flushed when I flushed the StreamWriter followed by flushing the FileStream. It was like I was flushing the data through the levels: StreamWriter to FileStream and then FileStream to the disk. Bob

In Topic: Netduino Firmware v4.1.1 ALPHA 1

05 September 2010 - 11:37 PM

Is this normal behavior?

Somewhere, I open up a FileStream and a StreamWriter
_fileStream = new FileStream(_path, FileMode.CreateNew, FileAccess.Write, FileShare.None, 512);
_writer = new StreamWriter(_fileStream);

I periodically write to the the _stream object. I found that if I just call flush on the StreamWriter nothing gets written to the file. I need to do the following:

_writer.WriteLine(rawLine);
_writer.Flush();
_fileStream.Flush();

Its like the flush does not cascade to the underlying stream. I am not certain if that is the desired behavior. It was not what I was expecting.

Bob

In Topic: Netduino Firmware v4.1.1 ALPHA 1

05 September 2010 - 09:20 PM

I have a a 15'' MBP with 8GB RAM 2.66GHz Intel Core i7 8GB 1066MHz DDR3 SDRAM - 2x4GB 500GB Serial ATA Drive @ 7200 rpm SuperDrive 8x (DVD±R DL/DVD±RW/CD-RW) MacBook Pro 15-inch Hi-Res Glossy Widescreen Display Backlit Keyboard (English) & User's Guide I am running Parallels 5.0.9370 with Windows 7 64 bit. Bob

In Topic: Netduino Firmware v4.1.1 ALPHA 1

05 September 2010 - 09:02 PM

I tried this alpha release on my Win7 (32 bit) netbook and everything I have tried works. The code is deployed, the debugger attaches, break points work, the .flush does work, and files are being generated. It appears that my main setup Win7 (64 bit) running in Parallels on a Mac is causing the above issues. Looks like you guys have a good reason to buy a MBP ;-) Bob

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.