Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

I am having a problem with the valuemotion 5.01 sub V

I Wait for Move hanging in my program. It hangs when my "save" routine is loaded into memory (file open, close, write, etc.). Executing in "step by step" mode the program will work, but the program hangs in real time at the Wait for Move sub VI. Any ideas?
0 Kudos
Message 1 of 2
(4,372 Views)
I Wait for Move hanging in my program. It hangs when my "save" routine is loaded into memory (file open, close, write, etc.). Executing in "step by step" mode the program will work, but the program hangs in real time at the Wait for Move sub VI. Any ideas?If my memory serves me correctly there is a tight while loop in this vi. It is probably consuming all the CPU time and therefore "hanging". Try putting a wait for next ms in the while loop, you can do 1 or even 0 ms and this will cause the CPU to allow other processes to run.
0 Kudos
Message 2 of 2
(4,372 Views)