05-06-2009 02:43 PM
Hello everyone,
I know that this has been asked before, but I search and search and still don´t know what I´m doing wrong. I have continously adquired data that I want to place in a xy graph... so I need a buffer. The example XY chart buffer vi is perfect, but my vi just graphs the points that I have designated in the history length control and then keeps running without graphing anything else (as you can see in the attached image). The example called Variable-time chart xy it´s exactly what I want, but the data in that vi it´s a cluster of 2 elements...I don´t know how to convert my data for the buffer vi can work properly. Any help will be very appreciated...
Thank you... have a nice day!! =D...
05-06-2009 05:15 PM
In the code snippet you showed you're always clearing the buffer (you have a True constant wired to the VI). In the examples you can see that the clearing is only done on the first iteration.
The example called Variable-time chart xy it´s exactly what I want, but the data in that vi it´s a cluster of 2 elements...I don´t know how to convert my data for the buffer vi can work properly. Any help will be very appreciated...
I don't understand this question. Is your data different than what you've shown in your small screenshot?
05-06-2009 07:41 PM
Hi, thanks for answering..
What I meant in that question is that I can't manage or convert my data so I can use the xy chart buffer VI like in the variable-time chart VI (new point input: cluster of 2 elements). I just thought that maybe it would be an alternative, as the other one didn't work (new points input: array of cluster of 2 elements)...
But you're right, in the examples only the first iteration is true... so I'll try that tomorrow....(I have all the VIs at other place... =S).
I'm sorry for this questions lol.. I'm new in LabVIEW, but it's no excuse: next time I'll try EVERYTHING before posting (I would have deleted this thread the second after I posted it but there's no going back, huh?) =S
Thanks for everything... =D... Have a nice day....!!
05-06-2009 10:21 PM