02-27-2022 05:18 PM - edited 02-27-2022 05:19 PM
Hi everyone,
I'm currently a grad student new to LabVIEW and I've been tasked to control a four axis system connected to a 8SMC5-USB motion controller. I have been able to write a simple code that can call each independent motor by changing the index number on the "Get Device Name" VI, and I can move the stages a specific amount of steps by changing the Delta position numeric wired to the "Command Movr" VI.
I want to control the movement speed of each stepper motor, however I'm having difficulty. I have attached two codes, the first being the code that runs for any given axis depending on the index (Test_01). I also have attached the code that I attempted to change the movement speeds (Test_02). Both codes are very similar, the only difference is the addition of the "Get Move Settings" and "Set Move Settings" VI's.
Also I attached a screenshot below. The program runs without any errors and the "Set Move Settings" VI seems to be receiving the numerical outputs, but the motor does nothing when I hit "Run". As I mentioned, I'm new to LabVIEW so this could be a simple mistake, but I would appreciate any feedback and help if possible.
Here is a helpful resource that explains the device and how it works with LabVIEW: