Page 1 of 1

Make pins not connected warning optional

Posted: Fri Aug 23, 2013 9:39 am
by kersing
While debugging a component the pins do always not have to be connected which results in a message when trying to simulate. While the warning is very useful when creating a flow chart for deployment on a controller, it is annoying during the component debugging phase.

Please make this warning configurable for each flowchart.

Re: Make pins not connected warning optional

Posted: Fri Aug 23, 2013 2:18 pm
by Benj
Hi Jac,

What about a button which is something along the lines of "don't warn me again this session".

Re: Make pins not connected warning optional

Posted: Fri Aug 23, 2013 3:16 pm
by kersing
Hi Ben,

I prefer it to be a setting for a flowchart. When working on a component and code using the component you want the warning while working on the later. Based on that you want to re-enable the warning when loading another flowchart, not when restarting FC. However, when switching between flowcharts often (which I currently do) it doesn't help a lot when it gets reset every reload. So a session based setting would help me shoot in my own foot or not be very effective.

Jac

Re: Make pins not connected warning optional

Posted: Fri Aug 23, 2013 4:38 pm
by JonnyW
Hi. If you are developing your own component for this try:

http://www.matrixmultimedia.com/wiki/in ... nconnected

Note the property name is empty at the moment - I haven't got that sorted yet. If you do:
.Return = 1

It should skip any warnings.

Jonny

Re: Make pins not connected warning optional

Posted: Fri Aug 23, 2013 4:57 pm
by kersing
Hi Jonny,

Disable works fine. Combined with Component::GetInstance the perfect solution. Thanks!
unconnected.jpg
unconnected.jpg (27.1 KiB) Viewed 4070 times
Jac