Can anyone provide an example of how to setup and use an Animatics
SmartMotor?
From what I could figure out looking at the code, I expect it is
something along these lines:
# For a connection via a Moxa Ethernet-to-serial adapter:
drvAsynIPPortConfigure("TapeStation", "192.168.137.99:4001")
# SmartMotorSetup(maxCtlrCount, pollRate)
SmartMotorSetup(1, 5)
# SmartMotorConfig(cardNum, "asynPortName")
SmartMotorConfig(0, "TapeStation")
And then the motor record would look something like this:
record(motor, "MyMotor")
{
field(DTYP, "SmartMotor")
field(OUT, "@0 TapeStation ????")
...
}
Is that even close? The one I am most unsure of is what to use
for the OUT value in the motor record.
Mark Davis
NSCL/FRIB