04-20-2014 12:00 PM
Thank you for your response. I don't get the option of default saving. I do it as save as and then i uploaded it. Here with I send a snap shot on how it should be on input control and how it should be on ouput.
With regards
04-20-2014 12:11 PM
If you want people to help you troubleshoot, then you need to provide them a VI they can troubleshoot.
That means putting data into the controls, making that data the DEFAULT DATA (Edit menu, Make current values default), then saving the vi. That way when we open the VI from the forums, there is data in the controls we can work with. If you just save your VI without putting data in the controls and making it the default, the VI opens up with empty controls. Then we don't have any of your data we can work with.
04-20-2014 12:14 PM - edited 04-20-2014 12:24 PM
You have a race condition in your VI because you are using a local variable of "if the same string". The local variable probably gets read before you write data to it.
Use a wire.
Why are you comparing the result of the regular expression to the output from the Match Pattern? They will never match because you had to add the backslash escape character to the regex in order to get the data you were looking for.
This VI works just fine for me when I fix all the problems.
04-20-2014 12:27 PM
Thank you. I tried with wiring too, it does not work. As I wrote already it works without the left bracket. It does not work only with the bracket. Here with I upload with default values.
With regards
04-20-2014 12:39 PM
Thank you. Got the point.
With regards
04-20-2014 03:08 PM
John4u a écrit :
Thank you. I tried with wiring too, it does not work. As I wrote already it works without the left bracket. It does not work only with the bracket. Here with I upload with default values.
With regards
It doesn't work because you're comparing the matched pattern with the regular expression. "\[Step" will match "[Step" so it will never be equal to "[Step".
Ben64
04-20-2014 03:10 PM
04-21-2014 07:54 AM - edited 04-21-2014 07:56 AM
Hai, I would like to make an increment within the case structure which is within a for loop. I wan to make the incrementation of the step as [step000], [step001],[step002] and so on.
In this vi I am giving an input array where ever "0" appears in the input array I take it as True. If non zero then it is False.
The problem is that how to increment consistenlty in labview within a case structure where one does not have a iteration "i" option. Here are my VI's. It would be nice if any one could give a solution. I had tried tow ways.
With regards
04-21-2014 07:58 AM
04-21-2014 08:01 AM
Hello Thank you for your response. I am not able to opent it as I am using a lower version. Can you save it lower version. I am using LabVIEW 2012.
Thank you.
With regards