07-24-2005 10:59 AM
Hi CC,
you wrote
"And I would really appreciate some input/comments from other enthusiasts as well,"
07-24-2005 01:38 PM
Ben
Thanks! Im also a member of the PA trolley musuem. Ever been there?
07-25-2005 09:59 AM
Yes,
Its about 15 minutes from where I work in McMurray PA.
It has been along time. You had a "steet car named Desire" there if I rember correctly.
Please see Beer monitor2.VI in the llb I posted.
Sotrry,
Ben
07-25-2005 11:46 AM
@Ben wrote:
...Since you asked, here are my thoughts.
1) "What the he#$ it works!" So the rest of my comments can be ignored.
2) When I am just adding new readings to a set of prior readings, I will use a chart instead of a graph. The Chart is a lot smarter and efficient than a graph. Yes you loose the cursor option but that is not used in this example. I replaced your graphs with charts and tossed most of the shift registers.
3) Local variables are faster than property node >>> value so I switched over to locals.
4) Structure. I would have turned things inside out. Instead of using a user event that is triggered by the DAQ to update the display, I would have put that logic in the DAQ loop. Then I would have used a queue to pass a "reset" from the user loop to the DAQ loop. Flip a coin!
5) See point #1 above.
07-25-2005 11:58 AM
07-25-2005 12:26 PM
1/I'm planning to develop this a bit further (personnal and professionnal interest : I teach fermentation technology to a gang of students that would better learn beer fermentation than baker's yeast production) so the point #1 can be ignored: even if it works, it has to evolve...
Ah hah! I was guessing you were a PHD in in Chemical Eng, or Material Science, or Physics. Now I strongly suspect Chem E!
2/ I choose the graph because I want to be able to overlay reference fermentation curves over the running fermentation data. This will allows the detection of a problem at a glance. Otherwise you are perfectly right : with timed acquisitions a chart is enough...
If you have a multiplot chart using WDT's, the time stamps do not have to match up between the traces. You could plot 24 hours of expected data when the procces starts and on follow-up updates of the chart, make shre the "prediction" plot is all NaN (or was it an empty array?).
3/ I hesitated, since I had the idea of combining most of the parameter management into a single sub-vi, passing the control refs to the sub. Of course globals could be fine also... Actually, the development version uses type-2 globals that have replaced all the shift registers.
By moving the updates out of the user interface, you should be able to spawn off multiple fermenters as duplicates. Just let the UI start/stop/clear.
4/ Have to think about... Do you think I could manage cleanly the overlayed curves ?
See my previous. WDT and charts have the following restrictions;
1) If the oldest data point in a new data sets is older the the newest value already pltted FOR THAT PLOT the chart gets reset.
2) Changing the number of plots will reset the chart.
Have fun,
Ben
07-25-2005 12:39 PM
Ben wrote:...Ah hah! I was guessing you were a PHD in in Chemical Eng, or Material Science, or Physics. Now I strongly suspect Chem E!
07-25-2005 05:38 PM
I'm not far behind. CC.
Ben
07-27-2005 08:14 PM
Chilly,
Let me know what you need and its yours.
BTW, Any way to do a burps per minute? Its just easier to look at this to get a idea of how slow its getting. The graph is great that you made and I want to keep it, but it has so much data that its hard to tell what the rate is.
Thanks
09-04-2005 10:36 AM
Hey Chilly
Do you still want to continue with this? If so let me know. This might be featured in a brewing Magazine. So Id would like to get your info.
Thanks