LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slide problems

I have an LV in 6.0. It suppose to move the slide. When I run it in highlight mode, I can see the numbers moving. However the slide does not move. How to move the slide? The vi is attached.
0 Kudos
Message 1 of 3
(2,676 Views)
Your problem, among some other coding issues, is that the "slide" and "numeric" that are wired together, need to be inside the loop.  Since they're outside the loop, they are only read once before the loop begins executing.  Move them into the loop, and you'll get the desired result.  I would also recommend putting a "wait" or "wait until next ms multiple" in your loop to lower the cpu usage.
Message 2 of 3
(2,672 Views)

Also, it looks like you are intending this to operate as some sort of progress indicator. yes? If so yo probibly want to calculate the maximum value for the slide's sclae and use a property node to set appropriate min and max values.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,648 Views)