...
The source code of this program is located in physRunHandgripMax.m file. In this function we are aiming to get three separate measurement of hand grip force and compute the average.The algorithm of implementation consists of initialization, acquisition and computation phases.
Initialization
In this phase function physRunHandgripMax receives the protocol setting and analog/digital channel settings, creates analog channel object handle to read the amount of hand gripe force.