LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Could somebody review my Time Validation SubVI?

I've created a SubVI that validates user inputs for Duration (hh:mm:ss). Right now, this SubVI can detects whether user had input more that 60 for Minutes or Seconds or input less then expected number of characters (hh:mm:ss). My main concern is, i would want to enhance this SubVI by validating whether user has input alphabets or mix and match of both. For instance, 12:a3:36 or ab:cd:ef

Would any enthusiast revise my SubVI?
Thanks ...... 🙂
0 Kudos
Message 1 of 2
(2,549 Views)
An easy and efficient way is to use the Scan from string function.
It will detect all kind of errors.
0 Kudos
Message 2 of 2
(2,549 Views)