LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lvcompare does not handle string case structure differences

I don't need a lecture about using a string to drive case structures (or maybe I do!) but I was surprised when diffing some code recently that this was not shown!  I now have all the compare modifiers turned off because I couldn't believe it was getting ignored:

 

 greenshot_2014-04-09_16-14-04.jpg

 

greenshot_2014-04-09_16-14-04.jpg

 

Win 7 SP1 (x64), LabVIEW 2012 (32 bit)

 

0 Kudos
Message 1 of 3
(2,345 Views)

I don't understand what you are trying to tell us here.  The pictures are reduced too much to be able to see.  (Please attach them as an attachment next time.)  I don't know what you are expecting to happen vs. what is actually happening.

 

Attaching the actual VI's and the steps to test what you are telling us would help.

0 Kudos
Message 2 of 3
(2,316 Views)

Please excuse, I was rushing to get out of here.  Hopefully this will be a bit more clear.  The new and old version's (left and right) have three cases.  The 2nd and 3rd case differ as "Target" has moved from being with "PMSBoard" to being with all the others in the new vi (left).  I am just surprised the diff did not call out this difference.

 

string_case_states_and_lvcompare.jpg

0 Kudos
Message 3 of 3
(2,280 Views)