It is not uncommon for “fake” VIagra to containe random/inconsistent dosage of Sildenafil, so a test that just detects the presence of Sildenafil wouldn’t mean much.
Is this machine primarily looking for the short-wave IR spectra of authentic Viagra’s trademark blue coating? Perhaps it is rare for fakes to exactly match both the visible and IR spectra of the blue film coating?