TRIAL:ACTUAL_END_FIELD

The last frame number in the C3D file is stored in the same way as two unsigned 16-bit integer values to form a 32-bit value.  The first unsigned 16-bit integer is the least significant word and the second unsigned 16-bit integer is the most significant word therefore the last frame number is calculated as:

Last frame number = ACTUAL_END_FIELD[1] + ACTUAL_END_FIELD[2]*65535