01-19-2013 11:30 AM
Hi
I'M trying to program Newport smc100 controller and motor to move in 'x' mm step size for 'y' number of steps.
Basically I have 2 motors and I want them to move pixel by pixel on a component.
It looked to my that the easiest way is to take to example vi that I got with the drivers and modify it.
My problem is that in the loop I need to remove the "home" vi and if i do that i get error massage, with the "home" vi in the loop everything is working fine.
01-21-2013 02:38 PM
Hi altman,
This driver is not supported by National Instruments, since it is developed by Newport, however, I found this documentation about it:
http://assets.newport.com/webDocuments-EN/images/14445.pdf
I hope you find it helpful.
Best,
Carmen C.
01-21-2013 05:06 PM
General LabVIEW style tip: Avoid sequence structures. Use the error wires to dictate execution order.
You need to take almost everything out of the For loop. You want to initialize the port only once and close it only once. Don't reset the axis on each loop iteration (actually, you probably don't need the reset VI at all). The only VIs you need in the for loop are the relative move and the tell current position, and maybe SimpleControlExample VI - I don't have it on my system so I don't know what that does.
01-26-2013 03:13 PM
thank you! I'll try it