05-29-2020 11:50 AM
I'm trying to plot a 2D array being read from a csv file using the read spreadsheet vi. So far I've tried everything in other posts that I've found and nothing shows up on the graph.
I'm currently trying to get it to work on an XY graph.
I'll attach the csv file I'm trying to use its just two columns of data. It will always be two columns but unlimited on rows as data accumulates over time.
It's extracted from a log and I'm trying to give a visual representation of the filtered data to the user. My other choice is using matplotlib with python but I'd like to keep it in LabVIEW as it is more aesthetically pleasing and easier to view the data.
Solved! Go to Solution.
05-29-2020 12:03 PM
@russ_comer wrote:
I'm trying to plot a 2D array being read from a csv file using the read spreadsheet vi. So far I've tried everything in other posts that I've found and nothing shows up on the graph.
We cannot tell you what you are doing wrong, unless you attach your VI.
05-29-2020 12:04 PM - edited 05-29-2020 12:05 PM
05-29-2020 12:08 PM
05-29-2020 12:14 PM
Whatever you have after the index array must be what I'm missing, I don't really have anything in the case of the failed attempt because it's just the xy graph and the read spreadsheet function.
I've deleted and tried everything that I've found and the function that you both used after the index array is the first time I've seen that.
Attached is a screenshot of one of the many things I've tried.
05-29-2020 12:44 PM - edited 05-29-2020 12:57 PM
You did not define the delimiter as comma.
Your transpose is in the wrong place.
Why don't you place an array indicator after the read function to see what you actually get?
05-29-2020 12:59 PM