LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a Gantt type chart...is it possible?

I was wondering if it would be possible to create a Gantt chart using labview where i can graph multiple events with a horizontal bars along a y axis and then let the bars length represent the time that event took, with more then time instance per event.  This would be a great tool for debugging and being able to see what events are happening at what times.  If anyone has any leads that would be fantastic.
You're a Scholar and a Gentleman,
Triff
0 Kudos
Message 1 of 7
(4,544 Views)

There's not much demand for a Gantt chart in LabVIEW, as you can see from this idea: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Gantt-chart-in-labview-or-Java-container/idi-p/1663168

 

I'd suggest pursuing the ActiveX route if you're on Windows. Or perhaps a .NET control.

0 Kudos
Message 2 of 7
(4,535 Views)

Alternatively, you could make one yourself. This example shows creating a weekly schedule, but the same concept can be used to create a more detailed display. You can also use the picture control if you want something more powerful, but it would probably require too much work. You could also use an XY graph (all you would need to do is make the plots thick and draw them correctly), but I don't think that would give you what you want:

 

Gantt_Chart.png


___________________
Try to take over the world!
0 Kudos
Message 3 of 7
(4,514 Views)

This looks like a good option tst i will try to manipulate it with my data to suit my purposes.  I will let you know how it works. 

0 Kudos
Message 4 of 7
(4,501 Views)

@TriffWhiff2 wrote:
I was wondering if it would be possible to create a Gantt chart using labview where i can graph multiple events with a horizontal bars along a y axis and then let the bars length represent the time that event took, with more then time instance per event.  This would be a great tool for debugging and being able to see what events are happening at what times.  If anyone has any leads that would be fantastic.
You're a Scholar and a Gentleman,
Triff

Check out the "Trace Execution Toolkit". It's built-in.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(4,493 Views)

Tst,

How do you suggest me handling large ammounts of events per one line i can graph them all but it comes out as one line i would need to parse it out if it was shorter but i need something that will automatically fit the size i have some lines that will have thousands of events and i need to be able to distinguish between where one ends and another begins.

0 Kudos
Message 6 of 7
(4,479 Views)
You could try plotting additional points between events with an X value of NaN. This causes the point not to be drawn, so that you get two separate lines.

___________________
Try to take over the world!
0 Kudos
Message 7 of 7
(4,467 Views)