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.

blubblub

Member Since 18 Dec 2010
Offline Last Active Jul 22 2011 06:19 PM
-----

Posts I've Made

In Topic: Is there a moisture sensor to put in the ground?

01 July 2011 - 04:03 AM

JonnyBoats, Thanks for the insight. So I guess reading the moisture content of something physical is slightly more of a challenge than originally thought. And that's because i can't find a sensor that will do that for me... But really isn't it the same idea as a pentiometer? One prong receiving electricity, another for it to exit, and one in the middle to read what's moving across the other two?

In Topic: Serial Interface with 5V?

24 January 2011 - 01:41 AM

Fabien, Thanks for the feedback.

In Topic: Xml Reader

24 December 2010 - 04:44 PM

Can anyone show a simple working example of the XmlReader reading an attribute from an element? Otherwise I’ll move on to using strings instead. I don’t mind that the features aren’t available. The struggle is the limited resources in finding out if they are. Does a guiding rule exist when working with Netduinos (or other Micro Controllers) that could help determine if specific Assemblies, namespaces, classes and functions will not functioning as expected? Coming from a Web Dev. background I’m finding that I’m wrestling with the limited features of the micro framework. I like the refined and fresh approach of tackling the issues but I feel like I’m finding dead ends at every turn. I’m sure it’s just the learning curve but any help is appreciated. That’s why I like the forums. So, if anyone could answer the two questions above, Thanks in advance!

In Topic: Xml Reader

24 December 2010 - 06:40 AM

Thanks for the good feedback. Though I still don't seem to be able to get this to work for me. With the code below I'm receiving this error when I hit the XmlReader. Any ideas?

The thread '<No Name>' (0x2) has exited with code 0 (0x0).
    #### Exception System.NotSupportedException - CLR_E_NOT_SUPPORTED (1) ####
    #### Message: 
    #### System.Xml.XmlReader::Create [IP: 00c7] ####
    #### System.Xml.XmlReader::Create [IP: 0005] ####
    #### NetduinoApplication1.StorageData::XmlFromStorage [IP: 0020] ####
    #### NetduinoApplication1.Program::Main [IP: 0009] ####
A first chance exception of type 'System.NotSupportedException' occurred in System.Xml.dll

            using (FileStream fs = new FileStream("\\SD\\test.xml", FileMode.Open, FileAccess.Read, FileShare.None, 512))
            {
                using (StreamReader sr = new StreamReader(fs))
                {

                    Stream s = sr.BaseStream;
                    XmlReader r = XmlReader.Create(s);

                    while (r.Read() && !r.EOF)
                    {

In Topic: Xml Reader

22 December 2010 - 02:16 PM

The system.xml class does not appear to have any options that can return attributes of an xml element. If no options exist, what's the alternative?

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.