LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use the first character in a string to select a case

I would like to use the first character of an ascii data line to determine what case the line enters. The possibilities are either a "#" or a "$". The lines look like  "#001123,061023,45.6,...,...,...," and "$HOL32,061023,134500,45.8, 345,...,...,...," Thanks in advance for any help given.

ssmith@bnl.gov
0 Kudos
Message 1 of 2
(5,437 Views)
As far as I understood, you need to select a case depending on the first charater of the string.
 
Try doing something as shown in the example.
 
Regards
CLAD
Using Labview 5.1,6.1,7.1.8.0
0 Kudos
Message 2 of 2
(5,434 Views)