LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with cases by string

Hi all. I have problem selecting one of the cases by string.
It is acting funny. Pls confirm if it is really a bug or I missed something out.
This attached is used for converting  the datetime in string to timestamp based on the WinOS format.
If unknown format is not found, by default it would be an error. So if 2nd case is used, it will combine the format string.
But it does not work correctly.
Here is attached

Pls advise.
Labview 7.1is used.
Clement
0 Kudos
Message 1 of 3
(2,409 Views)
Hi Clement.  I swapped the two string inputs and it seems to work as expected.

str_timeformat actually holds a date format, and str_dateformat, a time.

Matt

edit for speling mistak.


Message Edited by Matthew Williams on 02-12-2008 09:53 PM
0 Kudos
Message 2 of 3
(2,403 Views)
Oh Matthew Thanks!
I never thought of the inputs!
Many thanks again.
0 Kudos
Message 3 of 3
(2,398 Views)