Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
krohneew  
#1 Posted : Sunday, January 24, 2016 4:20:24 PM(UTC)
krohneew

Rank: Member

Groups: BetaUser, Registered
Joined: 12/6/2015(UTC)
Posts: 10

If there are no nodes in the project, or I imagine specifically no inputs or outputs, Embrio uploads a connection program and then fails to connect. This seems to be because there are no nodes reporting in. Obviously projects with no nodes are of limited usefulness, but this came up while debugging a different problem: "Custom Arduino Nodes", the ones that recently had a "minimize" option added to hide their code, seem to have no effect within node groups. I was attempting to create a reusable node for my PCF8574 chips, and I intended to do this by including the custom node in a node group. I created a node that worked just fine (see previous bug report), however when included in a node group, the custom code I had written to interface with the hardware was not even visible in the ArduinoCompile arduino project that Embrio uses to upload code. It was as if the node group was completely empty.

Steps to reproduce:
  1. Create a custom arduino node
  2. Do something visible from outside of the arduino: write to the I2C bus, use SoftwareSerial, etc.
  3. Build a node group consisting of just the custom arduino node
  4. Have there be one agent in the project, which contains only one node, the node group you just created
  5. Connect


Embrio should eventually say "no connection" near the connect icons. If there is some technical reason that custom arduino nodes cannot be included in node groups, please explain this in the documentation. Otherwise, I request that you ensure that custom arduino nodes can be included in node groups. Also, I request that if a project has no nodes at all (or perhaps simply "empty" node groups), that Embrio inform the user of the fact without even attempting to compile.

I'm using Embrio 1.3.5.0, Arduino IDE 1.6.6, and I'm running on an arduino R3. I'm using Windows 7 64 bit.

Edited by user Sunday, January 24, 2016 4:24:01 PM(UTC)  | Reason: Not specified

EmbrioAdmin  
#2 Posted : Sunday, January 24, 2016 5:18:46 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Thanks for the details, I'm able to reproduce it. I'll have it fixed soon, in the mean time just make a copy of the custom node.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error