12-09-2008 02:37 PM
Yeah...but how do i compare the text file vs. the test sequence.
if text = string of test sequence 1, or 2, or 3 or 4, then use test sequence...
ultimately at the end..
test sequence is the same as my old code..as a control so that its an input to another subvi..
12-09-2008 02:39 PM
Instead of using the TestStationID bit on the bottom just use one of these
i already used that in my code before..its not a good idea because if i have new test system..i will have to edit my subvi and i have to go through validation again..its too much work...
12-09-2008 02:41 PM
OK, so now there is a csv file you want to use. As I said in my previous repsonse, use the Read Characters from fiel (not read from Spreadhseet file) to read your TestStationID.txt file. you will get a string output which is the ID. Then search you csv column 0 for the matching ID. The index is the row number to use to get all the other info from the CSV file.
yup, i understand the concept and everything. thats how i think of it. but i cant put it into code..
12-09-2008 02:43 PM
Use the row number from your CSV file, or add a column to your CSV which has the sequence you want to use. As I said in an earlier repsonse, you can update your ring text values, but everywhere the ring is will need to be updated, and it still doesn't address that if you add system 5 that should be configured differently, then you'll need to edit code.
12-09-2008 02:49 PM - edited 12-09-2008 02:50 PM
this issue does address the issue of adding the 5th system..
all i have to do is to have TESTSTATIONID.TXT in all sytem..each with unique name..
and in the SetupSystem.CSV, I just add 1 more into the file..
in this case. i am chaning the files, and not the code of labview..
with the way i used to do things. i would have to edit the code..
can you show me in diagram how would i implent the concept...
i cant seems to get the comparison right...
QA guy is coming back in 30 mins to make sure i make this changes...hahhaa..
12-09-2008 02:50 PM
12-09-2008 02:52 PM
12-09-2008 03:13 PM
t06afre the code looks great...
but if i want to add the 5th system. i will have to go into the case and add them..
thats modifying the labview code...
i think the excel file and text file is easier when it comes to validation...
we can state in the documents that we can do this if we have new system.
12-09-2008 03:14 PM - edited 12-09-2008 03:21 PM
12-09-2008 03:18 PM