Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all articles
Browse latest Browse all 1315

Unexpected behavior of PFI ports on USB-6343

$
0
0

I am trying to control three stepper motors to step through a 3d space

 

Goal: Iterate through a series of steps. At each step move only ONE of the three motors. I use a case structure to determine which physical channels to pass to the daq segment of the code.

In other words.

Unexpected behavior...

(Turn on daq board)

1) Run 3d_step.vi - No motors move (they do make some noise indicating that they are powered)

2) Run motor_frame.vi - The motor tied to that port moves as expected

3) Run 3d_step.vi - The motors moved using motor_frame.vi now move using the same code as step 1. However, these motors move at every step instead of only when expected.

***Coming from a coding background this seems like a problem with initializing the channels used with the daq board but i'm not sure how this translates to LabView.

 

I am new to LabView so any advice would be greatly appreciated. Hopefully the above explanation and code below is understandable enough.


Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>