03-30-2005 10:53 AM
03-30-2005 11:27 AM
03-30-2005 02:03 PM
03-30-2005 02:10 PM
03-30-2005 04:06 PM
@Dennis Knutson wrote:
I ran your VI and the output of the Scan From String is your default value when the input string is empty. What do you see when you probe the output? If you get an erro, what is the error number?
03-30-2005 04:08 PM
@chilly charly wrote:
As shown by your vi, you effectivelly get the default value. However, an error is generated at the same times so you can decide about what to de next. You could wire an error indicator to the error output of the Scan from String terminal.
CC
03-30-2005 04:42 PM
03-30-2005 04:45 PM
@Dennis Knutson wrote:
It's a legitimate error because the scan did fail. The fact that you have a default value doesn't change that. The reason you get the error message is because you have the automatic error dialog turned on. If you were to rewrite your program to connect error in/error out connections, then the proper way to handle the error would be to set a trap for that specific error code and reset the error if found. To turn off the automatic error dialogs, Go to Tools>Options>Block Diagram and uncheck Enable automatic error handling dialogs.