05-15-2019 05:44 AM
When I sent a command writing in a string at one time, a picomotor actuator was worked. But when I wrote all commands in in one string, the actuator didn't work. The problem is about sending multiple command and controlling multiple picomotor actuator Simultaneously, how do I modify my LabView code that can send multiple commands to control one or more actuator?
P.S
1.Commands are in manual(Page 67)
2.Serial setting: Baud rate=19200, data bits=8, parity=none, stop bits=1 ,and flow control=none.
Solved! Go to Solution.
05-15-2019 01:07 PM
The easiest way might be to build arrays of commands you want to send and send them 1 by 1. Here's an example..
Or you build up one long string with the right termination character separating each command. If they are commands you don't expect a response to, then one string is usually fine. If there's a response then you probably want a short delay followed by a read of that response before proceeding to the next command.
05-16-2019 04:20 AM
Thanks~ I can send multiple commands to control my one actuator at one time now. Is there any way that I can control multiple actuators one time? For example, there are three actuators connected to 8753,then how can I do to send commands and control three actuators simultaneously?
05-16-2019 09:46 AM
You will need to read the documentation on how to address each controller, and then each motor. Shouldn't be hard!
You will also want to read and look at the examples already posted here that pertain to similar New Focus motion controllers - https://forums.ni.com/t5/Motion-Control-and-Motor-Drives/using-model-8752-to-move-one-axis-picomotor...
Good luck.