NAME

pstep - gathers real time data from PMAC

SYNOPSIS

pstep ether= [motor=] watch= .. [span=] [period=] [command=] [post=] [delay=] [debug] [quiet]

DESCRIPTION

pstep - generates real time data sampling from the PMAC. The node and port of the PMAC must be specified on the command line with the ether= option. It will then sample the variables specified after the watch option(s). The watch options are:
pstep ether=esr904,4000 motor=2 watch=command watch=actual watch=dac command='#2J^2000' > step.log 
The 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.

M VARIABLES

pstep needs to have the following M variables defined for each motor.

Mx61 -

OPTIONS

command= sets the command to execute after data sampling is started.

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.


Program index