02-23-2020 01:48 AM
I'm building a gait evaluation program, and got stuck on this. I have a XY graph of usb6008, and need to find the area of the plotted curve. I searched the forums, but found no way of doing this. Any ideas?
02-23-2020 12:36 PM - edited 02-23-2020 01:06 PM
Your VI is broken (no daqmx installed here) and we don't have your instrument or data.
Can you run your VI until the xy graph contains typical data, right-click it...data operation...make current values default, place it into a new VI, save and attach that here.
Integration of an xy graph is trivial if the x-values are spaced equally, only slightly more difficult if they are arbitrarily spaced but non-descending, and more difficult if they go all over the place (e.g. if the graph forms a Lissajous figure because you need to define "inside" and "outside").
02-24-2020 07:15 AM
I do the project in Non-intrusive load monitoring.V-I trajectory need to show area of XY graph.
The XY graph charge by different item.
I hope can find out the area of XY graph to find out connect which item
02-24-2020 11:12 AM
We cannot operate on pictures. Did you understand my earlier request for data?
Also, can you point out the area you want to measure (area under the curve? area enclosed by the curve?) top or bottom graph?
02-25-2020 06:44 AM
the data is not stable. I want to measure area enclosed by the curve. Both graph I want to measure area. The X graph is the data of current. The Y graph is the data of voltage. A real time supervisory control graphics system based on USB6008.
02-25-2020 09:55 AM - edited 02-25-2020 10:02 AM
Your graphs still don't have any default data. A free label is not suitable for data.
I said:
"Can you run your VI until the xy graph contains typical data, right-click it...data operation...make current values default, place it into a new VI, save and attach that here."
Looking at the data in the free label, it contains many, many cycles and it is not clear at all what you would consider "area".
Do you want N areas, one for each cycle?