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

Two Netduinos connected to single PC via USB


  • Please log in to reply
3 replies to this topic

#1 monewwq1

monewwq1

    Advanced Member

  • Members
  • PipPipPip
  • 104 posts

Posted 16 August 2011 - 11:18 PM

I need to deploy some C# code onto two Netduinos but each Netduino requires different code. Is it possible to connect both Netduino's, at the same time, to a single laptop via two USB ports on the laptop? In C#, will the device name change from "NetduinoPlus_NetduinoPlus" to NetduinoPlus_NetduinoPlus_1" or something so that I can select which Netduino to target?

#2 monewwq1

monewwq1

    Advanced Member

  • Members
  • PipPipPip
  • 104 posts

Posted 17 August 2011 - 10:27 PM

I guess I'm going to be forced to try this on my own. I will let you know the outcome. :)

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 August 2011 - 11:43 PM

I need to deploy some C# code onto two Netduinos but each Netduino requires different code. Is it possible to connect both Netduino's, at the same time, to a single laptop via two USB ports on the laptop? In C#, will the device name change from "NetduinoPlus_NetduinoPlus" to NetduinoPlus_NetduinoPlus_1" or something so that I can select which Netduino to target?

Yes, exactly. You can also rename one of them to something more permanent by using the Target > Configuration > USB option in MFDeploy.

For instance, you could name one "NetduinoPlus_PeanutButter" and the other "NetduinoPlus_Jelly". [Bonus: if they ever become sentient, they'll already be friends...]

Naming them is probably the best option...because them it won't matter which order they're plugged in...Visual Studio will always recognize them by their custom names.

Chris

#4 monewwq1

monewwq1

    Advanced Member

  • Members
  • PipPipPip
  • 104 posts

Posted 18 August 2011 - 12:14 AM

Yes, exactly. You can also rename one of them to something more permanent by using the Target > Configuration > USB option in MFDeploy.

For instance, you could name one "NetduinoPlus_PeanutButter" and the other "NetduinoPlus_Jelly". [Bonus: if they ever become sentient, they'll already be friends...]

Naming them is probably the best option...because them it won't matter which order they're plugged in...Visual Studio will always recognize them by their custom names.

Chris


Excellent. Thanks again, Chris.




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.