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.
Photo

Installing Toolsets

GPS

  • Please log in to reply
4 replies to this topic

#1 miltonkbenjamin

miltonkbenjamin

    Member

  • Members
  • PipPip
  • 22 posts

Posted 24 December 2013 - 01:23 AM

All,

 

After unpacking one tool box, i get in c:programfiles (x86)netfmToobox.com    :

 

/.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.1/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.1/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.2/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.2/Toolbox.NETMF.Hardware.NmeaGps.pdb

 

How would I import these tools into the Microsoft Visual C# toolbox menu?  What is the

difference between  le and  lb?  What does pe, pdbx and pdb mean?

 

Thanks,

 

Milt



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 24 December 2013 - 02:20 AM

Hi Milt,   If your application is using .NET Micro Framework 4.1 (and Netduino 4.1 firmware), add this file as a reference to your project:

./.NET Micro Framework Toolbox/Assemblies/v4.1/Toolbox.NETMF.Hardware.NmeaGps.dll

If your application is using .NET Micro Framework 4.2 (and Netduino 4.2 firmware), add this file as a reference to your project:

./.NET Micro Framework Toolbox/Assemblies/v4.2/Toolbox.NETMF.Hardware.NmeaGps.dll

The "le" and "be" folders contain microcontroller-specific binaries (for little-endian and big-endian micros, respectively). When you add the root DLL, Visual Studio knows where to look for the micro-specific binaries. Chris P.S. When you add the DLL as a reference, it will appear in Project References and you'll be able to use them from code. These aren't .NET GUI-style components, so they won't show up in the control toolbox. Chris

#3 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 24 December 2013 - 09:30 AM

Personally I don't add the precompiled DLLs if I have the source code available to me.  I prefer to add sources for classes I need to my projects.  That way you do not have to worry about the versions.  Also, it means in a memory constrained environment such as Netduino you are only using the memory you really need.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#4 miltonkbenjamin

miltonkbenjamin

    Member

  • Members
  • PipPip
  • 22 posts

Posted 24 December 2013 - 11:42 PM

Ok,

 

I got the NmeaGps  name space defined bu including:

 

using Toolbox.NETMF.Hardware;

 

Now "Tools" is not defined in

 

  "Debug.Print("http://www.bing.com/maps/?q=" + Tools.RawUrlEncode(Gps.Latitude.ToString() + " " + Gps.Longitude.ToString()));"

 

Where do I find "Tools" ?

 

Thanks

 

Milt  



#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 25 December 2013 - 04:46 AM

Hi Milt, Are there other applications (or samples) out there using the library you're consuming? If so, you can open them up and then right-click on the "Toolbox" keyword to figure out what namespace it's in, what it's defined, etc. Chris





Also tagged with one or more of these keywords: GPS

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.