LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deal with .xls files.

My LabVIEW vision is V7.1 ,in my case I have two files:
The first one such as:
 
SN:a
 
WL    PDL 
1590     0.32
1600     0.45
 
 
The second one such as:
 
SN:a
 
WL  PDL
1590    0.03
1600    0.04
 
 
 
I want to get a result the first file minus the second file such as:
 
SN:a
 
WL  PDL
1590  0.29                                             (0.32-0.03)This I don't need
1600  0.41                                             (0.45-0.04)
 
 
How can I get it? Any suggestion?
_________________________


EZCONN TEST ENGINEER
-- --

V
0 Kudos
Message 1 of 6
(3,401 Views)
You can open both files, index the array for the column that you want to subract, and then use the subract vi from the numeric pallete.  It will automatically subract the first element of array one from the first element of array 2, etc.

See the attached picture.

Kenny
Kenny

0 Kudos
Message 2 of 6
(3,385 Views)
I have tried in the way you suggestion.
But the result I get in the file only has  the first row and the value is 0.
I don't know whether there is something wrong.
 
_________________________


EZCONN TEST ENGINEER
-- --

V
0 Kudos
Message 3 of 6
(3,361 Views)
I attached the vi with soime comments.  Let me know if you have any more questions.
 
Kenny
Kenny

0 Kudos
Message 4 of 6
(3,307 Views)
index the array then substract the counterpart you needed
0 Kudos
Message 5 of 6
(3,280 Views)

Many thanks!

 

_________________________


EZCONN TEST ENGINEER
-- --

V
0 Kudos
Message 6 of 6
(3,273 Views)