From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-30-2008 07:35 AM
05-30-2008 07:53 AM
05-30-2008 01:29 PM
06-02-2008 12:22 AM
06-02-2008 09:13 AM
06-03-2008 12:58 AM
06-03-2008 01:56 AM
The function is operating correctly.
For one thing it does output the default value, but since you don't have a wire coming out of it, you can't see that.
For another, it does throw the same error in both cases (I see this in 8.5.1).
You're almost definitely not seeing this error because you have automatic error handling turned off in the second case, either in the Options dialog or for the VI itself. If you add an error indicator, you should see it.
In any case, you should note that it does not say that the function will not throw an error if it cannot find the string, just that the output will have the default value (because it has to have some value).
06-03-2008 02:18 AM
06-03-2008 02:28 AM
06-03-2008 08:54 AM