Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Galil controler Model DMC1500

Hi New at this and trying to figure out an issue. My company has Labview 8.6 and it would be nice to have a newer version but they don't have the budget for it.I also hope I post this in the right post. I enclosed a JPG of the Labview program. I have everything working on it except when I use an internal while loop. When I press the Move X it works fine but when I press move y the controller will not respond. if I remove the while loop the Y axis will move. I plan to do a multi function inside the while loop. Any suggestion of what I am doing wrong would be appreciated. This is a test program to ressolved any issue.

Thanks

JJM

0 Kudos
Message 1 of 6
(3,184 Views)

I'm not sure why the loop would have any affect on how this code would run. However it doesn't seem to be doing anything so why have it at all?

 

You could try using highlight execution to see what's happening with that.

 

More generally though, an event structure might be a more appropriate tool for what you are trying to accomplish.

 

Hope this is helpful!

Message 2 of 6
(3,155 Views)

Thanks for the reply; what I am trying to do is I place the board in the machine.  And inside the machine I have a camera mounted inside where the X axis and Y axis moves the camera where the software tells it to go. I then have the camera go to the bottom left corner and take a reading of the position of both servos and store those values. Then the machine is moved to the upper right hand corner and stores the data. Now with a little math the machine knows the size of the board inside it. The reason I need the while loop is that the machine needs to go back to the bottom left corner and sends a command to LabView which then looks at the sections for any missing parts then moves to the next sections until it scans the whole board. I am new to this and I am open for any other suggestions. Basically I am turning an old sprayer machine into an AOI station.

0 Kudos
Message 3 of 6
(3,153 Views)

Did highlight execution reveal any interesting/unexpected behavior?

0 Kudos
Message 4 of 6
(3,143 Views)

Do to my work load I am hoping to try it later this week. You also given me some other ideas to try. That is what is nice about this site talking to others on here and getting suggestions.

0 Kudos
Message 5 of 6
(3,130 Views)

Yeah, the forums are a pretty great place to get suggestions!

 

Post back if your testing next week reveals anything interesting!

0 Kudos
Message 6 of 6
(3,116 Views)