LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying XY Graph data on a Table

I have data that I am graphing point by point on an XY Graph (Phase
Angle vs. Frequency) as each point is acquired. I have the graph down
packed, but I also want the actual XY data to display on a chart, or
something I can scroll through. In other words, I want to be able to
look at a data point on the graph and find the X and Y point on the
Table. I have a cluster of data going into a XY Graph through a Chart
Buffer. When I try to route that data to a table as well, I get a
broken wire. I have tried unbundling the cluster and building it into
an array and sending that into the table, but I still get a broken
wire. All I want to do is display the data numerically beside the
graph. I don't even need the table to display point
for point. I
just need it to display all the data when its finished collecting it.
0 Kudos
Message 1 of 6
(3,516 Views)
the xy graph is an x array bundle with a y array. Both arrays are numeric. A table is a 2D array of strings. That's why you have a broken wire - data types do not match. Use one of the conversion functions on the string palette to convert the numeric arrays to string arrays and then the build array to create a 2D array that can be wired to the table.
Message 2 of 6
(3,516 Views)
ss42203@appstate.edu (Archais) wrote in message news:<19b86d61.0407061130.6228ce27@posting.google.com>...
> I have data that I am graphing point by point on an XY Graph (Phase
> Angle vs. Frequency) as each point is acquired. I have the graph down
> packed, but I also want the actual XY data to display on a chart, or
> something I can scroll through. In other words, I want to be able to
> look at a data point on the graph and find the X and Y point on the
> Table. I have a cluster of data going into a XY Graph through a Chart
> Buffer. When I try to route that data to a table as well, I get a
> broken wire. I have tried unbundling the cluster and building it into
> an array and sending that into the table, but I still get a broken
> wire. All I want to do is d
isplay the data numerically beside the
> graph. I don't even need the table to display point for point. I
> just need it to display all the data when its finished collecting it.

Thanks ... This works when the Table is outside the For Loop for Data
collection, but come to find out, I need the Table within the loop so
that it Updates each time I get a point. I tried running the Array to
the Table, but I get a Dimension Conflict error saying I have two
arrays wired together, but the dimensions are not the same.
0 Kudos
Message 3 of 6
(3,516 Views)
See the answer here.
0 Kudos
Message 4 of 6
(3,516 Views)
Dennis Knutson wrote in message news:<50650000000500000066A10100-1079395200000@exchange.ni.com>...
> See the answer
> href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000...
.

I tried opening your example, but I get an Load error code 8: Could
Not Load VI Source. I am using LabVIEW version 5.1 if that is any
help.
0 Kudos
Message 5 of 6
(3,516 Views)
Here is a picture of the diagram since I don't have a convenient way of saving to such an old version of LabVIEW.
0 Kudos
Message 6 of 6
(3,516 Views)