|Download Help (Windows Only)|
Converts a text value into the numeric representation using an enumeration or range text type scaling.
|object name indicates the object (measurement or characteristic) for which the enumeration or range text scaling is performed.|
|ECU ref in is the task reference that links to the selected ECU. This reference is originally returned from MC ECU Open.vi or MC ECU Select.vi, and then wired through subsequent VIs.|
|object type is a U32 ring that indicates the type of the object named in object name. Valid values are:
|TextValue is the text value you want to convert. Use MC Get Property.vi (Scaling—Text Values) to request the available values.|
|Error in is a cluster which describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the error in cluster to error out.
|ECU ref out is the same as ECU ref in. Wire the task reference to subsequent VIs for this task.|
|value returns the numeric value to be transferred to the ECU in subsequent Write requests.|
|Error out describes error conditions. If the Error in cluster indicated an error, the Error out cluster contains the same information. Otherwise, Error out describes the error status of this VI.
MC Text To Double.vi performs the conversion from the text input value into a double value.
You can use this especially if the measurement or characteristic has an associated enumeration or range text type scaling before writing the double values to the ECU, using the regular Write VIs (MC DAQ Write.vi, MC Measurement Write.vi, MC Characteristic Write.vi).