02-27-2006 02:42 PM
02-27-2006 04:43 PM
02-27-2006 07:23 PM
02-28-2006 08:03 AM
There should not be any string parsing, This is how to set it up if you know what the part # is already and what the specs should be.
1. Create the file as you have already done.
2. Create some type of interface for the part #. (I would suggest and enum or test ring as this will give you a number for the representation of the part).
3. On the BD read the entire file in (file should not be that large)
4. use the interface created in #2 to select which row (using index array) This will get you on the correct row for the part you want to test.
5. use the other array functions to get you to the specific limits for each test then compare.
If you need further assistance please post an example of your file and I will try to help you.
02-28-2006 06:16 PM
02-28-2006 06:34 PM
03-01-2006 05:31 PM - edited 03-01-2006 05:31 PM
Paul,
Since your VI was missing a subVI and since it included a lot of code unrelated to your question, I went ahead and rewrote it to show you how I would approach the concept you were asking about (note that I deleted all extraneous front panel elements and code). In order to read your tab-delimited spreadsheet file (which includes strings), I had to modify the Read From Spreadsheet File.vi from the palettes to return strings instead of numbers, which I did by changing just a few small elements. I have attached this modified subVI as well. I didn't have time to comment the code, but I would consider it to be fairly "elegant." Please let me know if you have any questions!
Kind Regards,
Message Edited by AESulzer on 03-01-2006 05:32 PM
03-01-2006 05:44 PM
03-02-2006 08:47 AM
03-02-2006 01:49 PM