Make pins not connected warning optional

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Post Reply
kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Make pins not connected warning optional

Post 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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Make pins not connected warning optional

Post by Benj »

Hi Jac,

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

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Make pins not connected warning optional

Post 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
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Make pins not connected warning optional

Post 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

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Make pins not connected warning optional

Post by kersing »

Hi Jonny,

Disable works fine. Combined with Component::GetInstance the perfect solution. Thanks!
unconnected.jpg
unconnected.jpg (27.1 KiB) Viewed 3945 times
Jac
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply