Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

DelocalizeExpression Method

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info

Syntax

Engine.DelocalizeExpression ( localizedExpressionString, decimalPointOption)

Return Value

String

A string containing the delocalized expression.

Purpose

Converts a localized expression string to a standard form suitable for evaluation.

Remarks

TestStand requires expressions it evaluates through the expression function Evaluate or the PropertyObject.EvaluateEx method to be in a standard, non-localized form so the result of the evaluation does not depend on the localization settings of the computer.

Call this method to delocalize expressions you obtain from user input. The method replaces the localized decimal point characters that represent decimal points in the expression with the period character. If the localized decimal point character is the comma character, the method also replaces semicolons that represent argument separators or expression separators with commas. The method does not change characters inside string constants.

Parameters

localizedExpressionString As String

[In] Specifies the localized expression string to convert.

decimalPointOption As DecimalPointLocalizationOptions

[In] Specifies a constant that specifies how the method determines which character the localized expression uses for the localized decimal point.


See Also

GetLocalizedDecimalPoint

LocalizeExpression

PropertyObject.EvaluateEx

StationOptions.UseLocalizedDecimalPoint


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit