LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

KDC101 controllers stopping rest of code during movement

Solved!
Go to solution

Hi all,

 

So I'm setting up a scanning probe, requiring scanning while the KDC101 motors are in movement. My problem is that during MoveRelative or MoveAbsolute the .NET functions seem to supersede everything else in the labview code. An example I made is placing a parallel loop reading out its iteration numbers, while the motors were in movement, the counter stopped and only started back up when the movement was complete. I will attach an image of this below:

 

Capture.JPG

Is there a good work around or error I'm making, other then two separate PCs, as this does work.

 

 

Thanks in advance,

Charlie

0 Kudos
Message 1 of 2
(1,910 Views)
Solution
Accepted by topic author Chaza

Hi Chaza,

 

when that driver really stops your current VI execution you might seperate the motor driver into a separate executable.

 

Have your main exe communicate with that separate one using UDP or TCP connection.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(1,889 Views)