Function mapMonitoringParameterValuesStatusMessageToParameterValues

  • Creates an operator that extracts only the raw parameter values from monitoring status messages. If monitoring parameter values are present in the incoming message, each value is converted into its resolved primitive representation (e.g., number, boolean, string) via getParameterValue.

    When a message contains no monitoring payload or parameter value list, an empty array is emitted.

    Returns

    An operator that maps an Observable<IMotionMasterMessage> to an array of resolved parameter values.

    Example

    source$.pipe(
    mapMonitoringParameterValuesStatusMessageToParameterValues()
    ).subscribe(values => {
    console.log('Raw parameter values:', values);
    });

    Remarks

    • Does not perform device-level lookup or metadata resolution.
    • Produces values in the same order as provided by the device.

    Returns UnaryFunction<Observable<IMotionMasterMessage>, Observable<ParameterValueType[]>>

Generated using TypeDoc