09-19-2012 09:52 AM
Hi,
the output from a test is stored in a 2D array. It's actually the text dump from a hyperterminal session that is converted to a 2D array.
I've attached a vi with some sample data and the expected output from this data.
I just can't get it to work and I'm struggling to get to grips with what I need to do to make it work.
The actual raw data looks like this:
Checking flash chip.............................PASSED!
Checking processor status.......................PASSED!
- Software version: 0x0065
- Hardware version: 0x0104
Checking ID chip................................PASSED!
- meter ID: 0x3400001594AA2801
Checking the ADC and accelerometers.............PASSED!
- Self test result.............................0x003F
Checking real time clock........................PASSED!
Move magnet into place and press <SPACE>...
Checking reed switch............................PASSED!
Are all LCD segments and all LEDs off? (Y/N)....PASSED!
Are all three LEDs on? (Y/N)....................PASSED!
Are LCD segments showing? (Y/N).................PASSED!
Enter case number: 5002
For each unit tested I'm extracting the case number, meter ID, software version, hardware version and self test result.
But if a unit is tested a number of times, the same meter ID will be recorded but it's only the last instance of the test that I need
I need to remove the earlier instances of the data and the duplicates are not necessarily adjacent in the array.
LabVIEW 8.6
Solved! Go to Solution.
09-19-2012 10:08 AM
09-19-2012 10:22 AM
Perfect, Thanks GerdW.
Sebster.