取消
显示结果 
搜索替代 
您的意思是: 

while loop not stopping motor

已解决!
转到解答

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 项奖励
1 条消息(共 2 条)
2,464 次查看
解答
接受人 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 项奖励
2 条消息(共 2 条)
2,452 次查看