command
- the value where the motor should beactual
- the real position of the motordac
- the dac output as a 16 bit signed numberpstep ether=esr904,4000 motor=2 watch=command watch=actual watch=dac command='#2J^2000' > step.logThe program writes a few comments to stderr, and the data to stdout. The first column is the time in milliseconds and the next are the watch points.
The motor viewed is selected from the motor= options and parsed as read.
pstep needs to have the following M variables defined for each motor.
Mx61 -
debug - prints a lot of junk
delay= millisecond delay after which command is sent
ether= finds the PMAC at ethernet node,port
specified in that order.
Most PMACs are at port 4000 or 4001. This overrides the PMAC environment variable (if set).
motor= changes the motor number (default: 1) NOTE: multiple motors are possible at the same time.
span= changes the observation time (default: 10 seconds) There is a bug so that more samples will actually be taken.
quiet - inhibits some informational printout to stderr.
period= changes the sampling interval. It is the number of interrupt cycles.(default:100).
post= sets the command to execute after data sampling is finished.
watch= selects which variables to collect. It can be repeated as many times as desired. See above for the allowed values.