LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update device movement when running

Solved!
Go to solution

Hi guys,

 

I have the block diagram showed in the file attached, basically what I want to do is to show the device movement as it is running. When I display this with a constant, the number is changing when running, but when I want to show it graphically with an indicator this just show the final and starting point, it does not update when running. What can I do?

 

Other problem is that the number 60 inisde the while loop is the return position command I used outside the while loop. How can I put  the same control but without wiring from the control outside the while loop and without creating another control?

 

Thank you very much

 

0 Kudos
Message 1 of 4
(2,800 Views)

Hi rodriferfe,

 

In regards with your first query have you tried changing the timing whitin your while loop?

 

In regards with your second query are you referring to the "return position" control and are you trying to put the same control again on the block diagram without creating another one?

 

0 Kudos
Message 2 of 4
(2,718 Views)
Solution
Accepted by topic author rodriferfe

Hi Gajan,

 

Thanks for your answer, it wasn't a problem of timing. When I placed 2 indicators, one numerical and one graphical I realised that the problem was just a simple scale problem. The thing is that the stage can move just 25 mm and this was the scale I wanted to use but the number return by the device is the microsteps, 500,000 is equivalent to 25 mm so by dividing the data into 20,000 I've got what I wanted.

 

About the other problem wiring from the initial control works and by the moment is not big deal as is just one more wire.

 

Thanks

0 Kudos
Message 3 of 4
(2,684 Views)

Hi rodriferfe,

 

I'm glad you managed to solve the issue.

 

0 Kudos
Message 4 of 4
(2,680 Views)