11-24-2020 07:00 AM
11-24-2020 07:41 AM - edited 11-24-2020 07:45 AM
The values are already plotted in the XY graph, just not the data you believe. Use a probe on the two orange wires and you will see.
The solution is probably this:
Next time, please attach your VI.
I highly reccoment that you try to attach the probe to the data wires and observe the output. You are using a table to store the data in string format, with dots and commas interpreted as floating point numbers. This is dangerous. It is better (and more efficient) to use the numeric data directly.
11-24-2020 07:56 AM
oh sorry, here is my VI ...not your solution works
11-24-2020 07:21 PM - edited 11-24-2020 07:22 PM
I'm sorry, my, LabVIEW version (16) is too old to open that VI. I have replicated the data extraction part and the table and the VI worked as expected. A table is a two-dimensional array and you are indexing out the rows, but the data you want to display is in columns. When the indexes are switched to the other terminal, as I put in the image above, the result is a XY graph where the index in the first column is charted against the data in the last column. You can also just insert a transpose 2d array to the same effect.
11-25-2020 05:39 AM
I when I try the table outside of this VI it works without problems but when I try to imply it in this VI it doesn't work for me ... I've already tried it transpose 2d array but it doesn't work for me ... I'm attaching a VI saved in version 16 you can please look at that? Well thank you.
11-25-2020 08:20 AM
Change this
to this
or this
The difference is in the selection of the dimension. In the table, the first dimension gives the line, the second dimension gives the column. It works the same way as almost any spreadsheet program. When you use the "Index array" function and connect only one number, then you will get a 1d-array as output. If you connect the "line" index, the array will be that line. If you connect the "column" index, the array will be that column. Switching rows and columns is the same as transposing the array.
Also, this needs to be connected.
11-26-2020 11:33 AM
thank you, it works but now i have a problem how to display the PLOT name when i need to export the graph to word. I use the Word Insert Graph VI component but I write in it that when I have an xy graph the column and row name must be empty, I tried to append the name there but it didn't work
11-26-2020 06:13 PM
11-27-2020 03:52 AM - edited 11-27-2020 03:53 AM
@feastef11 wrote:
thank you, it works but now i have a problem how to display the PLOT name when i need to export the graph to word. I use the Word Insert Graph VI component but I write in it that when I have an xy graph the column and row name must be empty, I tried to append the name there but it didn't work
This is a different question. If you managed to solve the original problem, please state so by marking the message containing the solution.
I do not have access to a Report Generation Toolkit, so I cannot help You with that. I did a quick look through the forum and it turns out that this question has been asked and answered before: rgt excel graph label