03-21-2012 04:21 AM
Hello. Im working on a project wich involves wind turbines. To represent the operational status of the wind turbines for a 72-hour window, i need some kind of operational bar or something like that. The purpose of the bar is to display when (on the timeline) the wind turbine will be available to the operator, and when it not will (due to mainenance etc). The bar should be able to use different colors (red and green for instance). The picture below shows and example of what I am thinking.
03-22-2012 04:01 AM
No one having a clue?
03-22-2012 04:35 AM
Hi,
You picture is very small so I can't see every detail, but there are many ways you can do this. What is your resolution of the bars? 1 Hour? Also, what kind of LabVIEW experience do you have? This project could end up quite complex if you also need to add/remove windmills etc. Your program would have to be modular (Cluster + Array).
If you haven't started yet, you can get some tips from the forum, and if you already got some code we can also help you improve it if needed.
03-22-2012 07:22 AM
Hi
I have started with some simple coding, but haven't come very far by now. I think that an 1 hour resolution will be just fine for the bars. I know that the picture is of quite bad resolution, but it was only meant for showing what i'm looking for.
I have some LabView experience from school work, projects etc, but I would not say that I am very good at it. And yes, I guess i will have to add some more windmills at a later point in the project. I also need to figure out some more coding, so i guess that the whole code might be a bit complicated as time goes by.
Greetings
Kristoffer
03-22-2012 07:49 AM
Try to figure out the borders of this project so you don't end up adding a lot of code in the future, which could be difficult to implement. Try to find out which functions the user of your program wants and how he/she wants it to look like (user interface).
A good thing to do is to create a flow-diagram and maybe som Pseudo code. When you think you got the most of these details you can start coding Remember that good preparations will decrese the code development time.
For startes you should also figure out which type of structure you want to create your program on. I'd look into producer/consumer or the statemachine structures.