10-14-2016 03:47 AM
also how should i apply this for while loop
10-14-2016 03:50 AM
Hi minakshi,
which while loop are you talking about?
You wanted to display a progress bar. You got examples using a FOR loop as it is most easy when you know the maximum number of iterations to loop will run.
With a WHILE loop the number of iterations is unknown and you need to find your own criteria for calculating the progress bar value!
10-14-2016 04:25 AM
10-14-2016 06:16 AM
VenuGopal@57 : thank you so much ...!! i got it
10-14-2016 07:29 AM - edited 10-14-2016 07:30 AM
minakshi wrote: can u plz explain that mathamatical calulations in that loop
I find it easier to just not have the calculations. Just set the maximum value of the scale of the progress bar to the number of iterations you need minus one. You then just have to wire up the i terminal directly to the indicator.

10-14-2016 07:53 AM
10-17-2016 04:26 AM
hey.. thanks for ur perfect solutions..!
now i want to cantenate string to a perticular numberonly iff that perticular number occure.. im attaching my vi here
i tried using case structure but i dont get the output..what i was expecting.. also i want to count, how many string i get at red string box.
can u help me regarding this
10-17-2016 04:36 AM
Hi minakshi,
i want to cantenate string to a perticular numberonly iff that perticular number occure
This seems to be quite simple:
IF "particular number" THEN concatenate strings
ELSE
use not-concatenated string ENDIF
i dont get the output..what i was expecting
What are you expecting?
i want to count, how many string i get at red string box.
"Red" box? Or "read string" indicator?
Why do you want to count? Your FOR loop iterates 100 times so you get 100 strings! (An empty string is a string too…)
10-17-2016 05:04 AM
10-17-2016 07:00 AM
thanks a lot for responding.
i have to move a handle in semicircular motion like 30, 80, 110, -30,-80,-110. and im designing UI for that handle motion. that handle has some firmware and it will communicate with labview serially. means though USB port. i have to send command to firmware in the form of string data. thats why im sending string to firmware. and in UI i dont want to type whole commond string. UI should accept 30 and in back end it should fetch complete string related to that move by 30 degree command. im tring to explain as i can.. hope u understand my words.