LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

while loop not stopping motor

Solved!
Go to solution

Hello,

 

  I'm LabVIEW along with NI motion controller software and PCI-7332/UMI 7774 hardware controlling a stepper motor. 

 

My issue is:

 

When enc rollover = 5 while loop stops

but with remainder of value from 20 to 500.

Why is remainder not zero.

 

 

When test setup indicator is true

the while loop does not stop.

 

Please view the attached code.

 

Thanks

0 Kudos
Message 1 of 2
(2,028 Views)
Solution
Accepted by topic author dg_lbe

The remainder would have to do with what is happening inside the subVI that wasn't included. The output value from it is not stopping at an exact multiple of 4095. The question is why that is so.

 

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 2 of 2
(2,016 Views)