- Netduino Forums
- → Ellen's Content
Ellen's Content
There have been 65 items by Ellen (Search limited from 06-June 23)
#40511 General rules for CLR / firmware compatibility?
Posted by Ellen on 30 November 2012 - 02:41 PM in Netduino Plus 2 (and Netduino Plus 1)
#39461 Introducing Netduino Plus -- Notes
Posted by Ellen on 16 November 2012 - 03:19 PM in Netduino Plus 2 (and Netduino Plus 1)
#38543 Netduino Plus 1 Firmware v4.2.0 (update 1)
Posted by Ellen on 05 November 2012 - 08:55 AM in Netduino Plus 2 (and Netduino Plus 1)
Thank you Chris, we are waiting for the 4.3 beta this month. We hope the internet glitch is than solved.Hi Ellen,
The best option is to use the new NETMF 4.3 release. You can use the beta SDK--but it won't change the firmware on your board. The first NETMF 4.3 beta firmware should be available this month.
Chris
@Travor, you did not install (correct) the Netduino driver, please read all the steps to install at the begin.
#38488 Netduino Plus 1 Firmware v4.2.0 (update 1)
Posted by Ellen on 04 November 2012 - 10:48 AM in Netduino Plus 2 (and Netduino Plus 1)
#38434 P1 & S0 Port monitoring with Netduino Plus
Posted by Ellen on 03 November 2012 - 04:06 PM in Netduino Plus 2 (and Netduino Plus 1)
#38424 Insights into DHCP issues
Posted by Ellen on 03 November 2012 - 12:22 PM in Netduino Plus 2 (and Netduino Plus 1)
The Netduino will hang when you have a internet connection but after a while the IP provider stops the connection for a reason.
Do While True Try Debug.Print("begin " & DateTime.Now.ToString) OnboardLed.Write(True) Dim IPEndPoint As New IPEndPoint(Dns.GetHostEntry("api.pachube.com").AddressList(0), 80) Using Host As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) Host.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.NoDelay, True) Host.SendTimeout = 3000 Host.ReceiveTimeout = 1000 'WITH internet connection it wil run perfect, but now without internet (after you had a connection)' ' and still on the local network then..........' Debug.Print("WHEN INTERNET connection fails after a time, than the NETDUINO HANG!!!!") Host.Connect(IPEndPoint) 'It will hang here.!' Debug.Print("Oké, stil connection") End Using Catch ex As Exception Debug.Print("error " & ex.Message) 'no error will show here' End Try OnboardLed.Write(False) Debug.Print("sleep") Thread.Sleep(10000) Loop
#37962 Netduino + hangs while calling time using NTP service
Posted by Ellen on 25 October 2012 - 10:52 AM in Netduino Plus 2 (and Netduino Plus 1)
and Girls.Got it to work
I simply connected the ND to my router directly and whallahh.
Thanks a lot guys.
Skarphedinn.
#37960 Netduino + hangs while calling time using NTP service
Posted by Ellen on 25 October 2012 - 08:21 AM in Netduino Plus 2 (and Netduino Plus 1)
#37959 Adafruit LCD MCP23017 IC
Posted by Ellen on 25 October 2012 - 07:39 AM in Netduino Plus 2 (and Netduino Plus 1)
Yep, that's why I prefer to drive such LCDs over SPI with a 74HC595, like explained at http://geekswithblog...id_crystal.aspx
But now we have a memory problem. With all our code and the toolbox hardware.dll it will not fit in the Netduino+. Is it possible to modify Toolbox Hardware dll so that only the display code is in the dll.? Else ... no display
thank you Ellen.
#37467 Socket Problem Again?
Posted by Ellen on 20 October 2012 - 11:45 AM in Netduino Plus 2 (and Netduino Plus 1)
huummm. It sounds like a wrong config.Am Still Gettings Exceptions i think it is related to internal problem call, i tried polling read and write and still gives me exception any solutions to the problem?
What is the reason for port 90. tried another port with forwarding?
Deploy a static IP to your netduino and quote ' Interface.EnableStaticIP
Look at your router, ? port forwarding, mac address, DHCP (maybe DHCP reservation on the mac address)?
#37425 Converting Single to String with 2 decimals
Posted by Ellen on 19 October 2012 - 01:06 PM in Visual Basic Support
Yes Dr. Jaymzas, as a student (in hobby VB) I have search on the Internet, but nothing. Is it not strange, Microsoft wants so badly to promote the Micro environment but document it badly. (in my opinion)Yay.... I am so used to using String.Format that I really miss it, but obviously handling strings on a puny system like this is always going to be slow or memory intensive. I'm glad that F2 works for you and I don't know why I can't find it documented anywhere.
#37346 Converting Single to String with 2 decimals
Posted by Ellen on 17 October 2012 - 09:09 PM in Visual Basic Support
Yes Thats the solution, thank you Dr Jaymz.ToString("F2")
??
#37344 Converting Single to String with 2 decimals
Posted by Ellen on 17 October 2012 - 09:07 PM in Visual Basic Support
No, I have tried:Try ToString("#.##")
#### Exception System.ArgumentException - 0x00000000 (1) ####
#### Message:
#### System.Number::ValidateFormat [IP: 003f] ####
#### System.Number::Format [IP: 0008] ####
#### System.Single::ToString [IP: 000d] ####
#### NetduinoPlusApplication1.Module1::Main [IP: 001c] ####
A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll
#37339 Converting Single to String with 2 decimals
Posted by Ellen on 17 October 2012 - 07:56 PM in Visual Basic Support
I have a litte problem and I have a workaround, but I am wondering howto solve this with Globalisation? I suppose?
Sub Main() Dim sngExampleA As Single = 1234.5678 Dim sngExampleB As Single = 1234.5678 Debug.Print(sngExampleA.ToString) 'result 1234.56775 ' Debug.Print(sngExampleB.ToString("N2")) 'result 1,234.57 ' End Sub
I want the 2 decimals but I do not want the comma in the result so 1234.57
But how program this in VB?
Thank you Ellen
#37220 Application freezing on Socket creation
Posted by Ellen on 15 October 2012 - 02:02 PM in Netduino Plus 2 (and Netduino Plus 1)
Chris,Good to hear, Chris. Until then, if anyone experiences this problem while deploying applications you can unplug the Ethernet cable and deploy your application.
serious, try the next:
- deploy your N+ with a static IP address
- Go to your router, forward your port with a new port like 54321 (example)
- in your code, in stead of port 80, the new port.
bye-bye trouble......
snippet example....
const iPORT as integer = 54321 (example) Dim hostEntry As IPHostEntry = Dns.GetHostEntry(host) Dim hostAddress As IPAddress = hostEntry.AddressList(0) Dim remoteEndPoint As New IPEndPoint(hostAddress, iPORT) Dim connection = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) connection.Connect(remoteEndPoint)
#37217 .NET MF 4.3 beta
Posted by Ellen on 15 October 2012 - 01:42 PM in General Discussion
Hi Chris, Indeed, that is the solution. Deploying works now much better than before. (after many tests).Hi Ellen,
Does this work properly if you switch to the legacy MFUSB drivers?
http://forums.netdui...-mfusb-drivers/
Chris
Thank you.
#36591 Data Logging with the Netduino Plus
Posted by Ellen on 05 October 2012 - 06:48 PM in Netduino Plus 2 (and Netduino Plus 1)
#36583 .NET MF 4.3 beta
Posted by Ellen on 05 October 2012 - 03:40 PM in General Discussion
#36527 Socket exception
Posted by Ellen on 04 October 2012 - 03:27 PM in Netduino Plus 2 (and Netduino Plus 1)
Hello Supra, thank you for the link. I had already read the MSDN description of Poll. But can you answer my question why Poll(-1 methode do not work and generates an error when the N+ has a external request? Is it maybe a anomalistic behavior?here is link:
Mylink
Ellen
#36514 Introducing Netduino Plus -- Notes
Posted by Ellen on 04 October 2012 - 09:59 AM in Netduino Plus 2 (and Netduino Plus 1)
#36513 Socket exception
Posted by Ellen on 04 October 2012 - 09:50 AM in Netduino Plus 2 (and Netduino Plus 1)
I have copy and paste a code snippet example of a N+ server and change it a bit for own use.
We use portForwarding in the router.
When I execute this code and use the browser with a intern address 192.168.1.55:66777/ledon then the code works perfect.
But when I execute the code and use the browser with my extern ip address [IPADDRESS]:66777/ledon then I must 2 times enter the browser, the code will then execute but after I get a error exception in the code: Using socketConnection As Socket = socketServer.Accept()
When I change .Poll(-1, ... In .Poll(50000,... then it works perfect.
Now my question:
I do not know why I get an error and what's the difference between, Is there any difference in handling local and external calls?
Thank You Ellen.
Using socketServer = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) socketServer.Bind(New IPEndPoint(IPAddress.Any, intPort)) socketServer.Listen(1) While True Try Using socketConnection As Socket = socketServer.Accept() If socketConnection.Poll(-1, SelectMode.SelectRead) Then
#36442 memory Var with global scope
Posted by Ellen on 03 October 2012 - 07:36 AM in Visual Basic Support
Imports Microsoft.SPOT Imports Microsoft.SPOT.Hardware Imports SecretLabs.NETMF.Hardware Imports SecretLabs.NETMF.Hardware.NetduinoPlus Module Module1 Public Public_String_Module1 As String Sub Main() Public_String_Module1 = "Solved" NameSpace_A.Class_A.Class_A_var_A = "This works" NameSpace_B.Class_B.Class_B_var_A = "This also" End Sub End Module Namespace NameSpace_A Class Class_A Public Shared Class_A_var_A As String Shared Sub Sub_Class_A_one() Module1.Public_String_Module1 = "This works also" NameSpace_B.Class_B.Class_B_var_A = Class_A.Class_A_var_A End Sub End Class End Namespace Namespace NameSpace_B Class Class_B Public Shared Class_B_var_A As String Shared Sub Sub_Class_B_one() Module1.Public_String_Module1 = "This works also" Class_B_var_A = NameSpace_A.Class_A.Class_A_var_A End Sub End Class End Namespace
The magic word was "SHARED"
And the word "static" did not work, but why, i do not know.
Ellen
#36421 memory Var with global scope
Posted by Ellen on 02 October 2012 - 07:09 PM in Visual Basic Support
#36402 memory Var with global scope
Posted by Ellen on 02 October 2012 - 07:16 AM in Visual Basic Support
#36061 New issue apparently found with 4.2.0
Posted by Ellen on 27 September 2012 - 02:08 PM in Netduino Plus 2 (and Netduino Plus 1)
- Netduino Forums
- → Ellen's Content
- Privacy Policy