FlowStone 3.0.2 Released
Posted: Fri Feb 22, 2013 5:29 pm
We've just released FlowStone 3.0.2 Firefly!
There was a little bug in the automatic update checking so even if you have this switched on you won't have had a notification on launching FlowStone. This has been fixed in 3.0.2 so it should work for subsequent releases.
The headline feature of Firefly is Follow Wireless. This allows you to trace wireless links in your schematic. Full details are in the updated user guide but if you want to jump straight in, simply select a wireless component and press the TAB key to jump to the first wireless component that connects to it. Keep tabbing and you'll cycle through all the components that connect before being returned back to the source.
We have another new feature in this release called Focus Mode. This allows you to hide the FlowStone editing interface and either preview or work with an application you've created. Click the Focus Mode button on the action panel of a module to see this in action. Again, more details are available in the user guide.
Another enhancement we've made is to the way in which you reference connectors in the Ruby component. As well as referring to them by index you can now also refer to them by name (so long as you have given them a label). This makes your code more readable and also prevents bugs caused when you change the order of connectors. So you can now write code like this:
The i input is an instance of a new class we've created called RubyEditConnector. The class has overrides for all the standard comparison and mathematical operations so you can use it as a string or an integer as you please. Assuming i is an instance of the RubyEditConnector class then all of the following syntax is valid:
You can also use connector labels when sending data:
You can get the name or index explicitly using the name and index methods:
There are a number of other improvements and fixes. For example, we've added some extra input parameters to the curve drawing and adding functions that allow you to do things like this (courtesy of MyCo):
Hope you enjoy the changes!
There was a little bug in the automatic update checking so even if you have this switched on you won't have had a notification on launching FlowStone. This has been fixed in 3.0.2 so it should work for subsequent releases.
The headline feature of Firefly is Follow Wireless. This allows you to trace wireless links in your schematic. Full details are in the updated user guide but if you want to jump straight in, simply select a wireless component and press the TAB key to jump to the first wireless component that connects to it. Keep tabbing and you'll cycle through all the components that connect before being returned back to the source.
We have another new feature in this release called Focus Mode. This allows you to hide the FlowStone editing interface and either preview or work with an application you've created. Click the Focus Mode button on the action panel of a module to see this in action. Again, more details are available in the user guide.
Another enhancement we've made is to the way in which you reference connectors in the Ruby component. As well as referring to them by index you can now also refer to them by name (so long as you have given them a label). This makes your code more readable and also prevents bugs caused when you change the order of connectors. So you can now write code like this:
Code: Select all
def event i,v
if i=="name" ...
elsif i=="age" ...
end
end
The i input is an instance of a new class we've created called RubyEditConnector. The class has overrides for all the standard comparison and mathematical operations so you can use it as a string or an integer as you please. Assuming i is an instance of the RubyEditConnector class then all of the following syntax is valid:
Code: Select all
case i
when "name" ...
when 3 ....
end
if i>2 ....
x = i+2
You can also use connector labels when sending data:
Code: Select all
output "result", theResult
input "feedback", 0.5
# But integer indexes will still work too
output 0, theResult
You can get the name or index explicitly using the name and index methods:
Code: Select all
idx = i.index
theLabel = i.name
There are a number of other improvements and fixes. For example, we've added some extra input parameters to the curve drawing and adding functions that allow you to do things like this (courtesy of MyCo):
Hope you enjoy the changes!