12-17-2013 02:07 PM
Have your menu do an index array on the array that you have now rather than doing what you are currently doing.
12-17-2013 02:17 PM
12-17-2013 02:56 PM
what do you mean by the array that i have now?
12-17-2013 02:58 PM
12-18-2013 09:05 AM
Im going to change things up a little bit, so could use a little more help. Instead of having a menu, i want to just create 2 more rows on the excel file. What I want to happen is that when you run the gui, labview picks the first row from the excel file, reads in the valve # and intensity for the standard, and same for the odor. What else would I need to do to make this happen?
12-18-2013 10:47 AM
First of all, your VI does NOT read an excel file in any shape or form, it simply reads a comma delimited text file. Don't confuse the two. (Of course excel can also read .csv files, but that does not make it an excel file).
@HePlayGame wrote:
What I want to happen is that when you run the gui, labview picks the first row from the excel file, reads in the valve # and intensity for the standard, and same for the odor.
Well, you should simply take away of lot of the existing code, since this is a simpler task. Where did you encounter problems?
This still does not sound like a complete specification. What should happen after it reads the first line? (program exit? wait for input? Go to the next line in a button press? etc.)
12-18-2013 12:56 PM
My problem is that only the last line of the csv file is being read and implemented. I want labview to read the first line, which contains A valve number for the standard, an intensity for the standard, and a valve number for the adjustable odor. These numbers are then used in labview to select the appropriate valve using the Daq, turn it on for the standard, and allow me to adjust the adjustable. When I press the next button, I want the second line to be read, and so on.
12-18-2013 01:20 PM
Why don't you also show us a typical input file?
12-18-2013 02:11 PM
Here is an example of a typical entry file