04-21-2014 11:08 AM
I have a VI that is working for a 2D array from an Excel sheet. I am now trying to read from a 3D array to create two plots at the same time. Has anyone created a symular type of VI. My current VI is wrong. The two Excel files are two files I am using. They are 2d arrays but I do not know how to create a 3d array reader.
The first colun would be time.
The second would be the pressure.
The third woud be current.
I have a race condition. I can only import one Excell sheet at a time.
Thanks
Philip
04-21-2014 01:36 PM
Use the Read From Spreadsheet VI. Data appears on the 'All rows' output will be formatted as an array where you can index individual columns. Make sure you use a comma as the delimeter if you are using csv files.
04-21-2014 01:55 PM
I seperated the two VIS. Is there a wat to start both at the same time. The program works now if I click on the run for both VIS.
Philip
04-21-2014 03:18 PM
I tried to split the VI in two seperate VIS. That did not work. The start time I was unable to synch the start time. So I am back to the one VI. I am reading Excel files. I tried to create a 3d column Excel file then readit. I do not understand your response exactly. Can you kind of walk me through it.
Thanks
Philip
04-21-2014 08:13 PM
04-22-2014 07:55 AM
The block diagram is on one sheet only. " I was trying something" Sorry for the confusion.
Regards,
Philip
04-22-2014 08:13 AM
04-22-2014 08:17 AM
I am trying to read two different Excell sheets. Each sheet has two columns. The first column is time. The second is a pressure. The second Ecell sheet has time for the first column. The next column is current.
Philip
04-22-2014 08:41 AM
04-22-2014 08:49 AM
I was reading the same file at the same time. I also had a time delay of 1 second. This cause a delay in reading the file. I am reading two files then the problem was resolved. I became stumped last noght. After a good night sleep I was able to resolve the problem. Many Many thanks for your support.
Regards Philip