Return error codes from read trigger samples