typedef struct MPICaptureStatus { MPICaptureState state; double latch[MPICaptureLatchCountMAX];; } MPICaptureStatus;