What's wrong with using the fc function? The alternative is to read each file into LabVIEW and do an Equal comparison.
Doing it in LabVIEW is fraught with all sorts of issues that the fc command has probably already addressed. But if you want to do it, I would recommend the following: