05-10-2006 06:46 AM
05-10-2006 07:03 AM - edited 05-10-2006 07:03 AM
How about searching numbers in the right format using Match Pattern like this.

You didn't say what LV version you are using
David
Message Edited by David Crawford on 05-10-2006 01:03 PM
05-12-2006 04:03 AM
Thanks David, I did the variant of your recommendation, but using the "scan from string" function after stripped off the Data tittle. However, if the input string is not exactly what the format string look for (ex: %8.3f..), the error "LABVIEW: An input parameter is invalid" will occur. How do I get around this error? For example if my input string is empty or junk (uncontrolled output from other vi), I want to set data 1-11 to a default value.
thanks,
Anh
05-12-2006 04:27 AM - edited 05-12-2006 04:27 AM

Message Edited by David Crawford on 05-12-2006 10:28 AM
05-12-2006 04:30 AM
05-12-2006 04:48 AM
David,
my kudos to you! This is exactly what I'm looking for (got your reply after I sent my last question). I totally forgot that error out has to be handled to avoid program interruption![]()
thanks for your help and your promptly response,
Anh