I have been reading about the Tricorder on Memory Alpha:
A tricorder was a multifunction hand-held device useful for data sensing, analysis, and recording, with many specialized abilities which made it an asset to crews aboard starships and space stations as well as on away missions. [...]
Tricorders were often useful for recording entries in personal or official logs.
In the final draft script of TOS: "Miri", a tricorder was used by Spock to ascertain that McCoy wasn't dead.
I remember seeing it being used to treat an injury (it was used to heal a fracture temporarily, but I could be mistaken); though it has been a long time since I have watched Star Trek. It was definitely from Star Trek - The Next Generation.
Could I have been mistaken? Maybe it was in another sci-fi movie, like After Earth, perhaps?