Delta Tau PMAC User Manual Page 18

  • Download
  • Add to my manuals
  • Print
  • Page
    / 22
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 17
Delta Tau Power PMAC EPICS Device Support Manual
8 February 2013
18
Function
drvAsynPowerPMACPortConfigure
Parameters
portName - Name of the asyn port assigned to this driver.
hostName - Name (or IP) of the device to connect to.
userName - Username to use when establishing an SSH connection.
password - Password to use when establishing an SSH connection.
priority - The priority of the driver. 0 indicates
epicsThreadPriorityMedium.
noAutoConnect - 0 indicates asyn automatically connects the port.
noProcessEos - 0.
Return
int
Description
This function is (indirectly) called from the EPICS IOC startup
script entry, and allocates the SSH controller structure. It then
populates the structure with the necessary information and registers
the relevant functions with the asyn interface layers. Functions are
registered with the common interface and the octet interface.
7.3 Power PMAC Controller Class
Filenames
powerPmacController.h
powerPmacController.cpp
Location
${TOP}/powerPMACApp/src
Functions
powerPmacController
~powerPmacController
writeInt32
writeFloat64
report
getAxis
poll
pmacSetAxisScale
pmacSetOpenLoopEncoderAxis
lowLevelWriteRead
lowLevelPortConnect
debugFlow
getGlobalStatus
This class extends the asynMotorController class, providing device support for the
motor record. It is connected to the lower lever SSH port driver by specifying the
relevant port name when created from the startup script. This class connects to the
driver using the asyn OctetSyncIO interface, thus ensuring the port is locked while the
write/read is taking place.
Method
powerPmacController
Parameters
portName - String name of this port, used by the motor record or
other records to connect to this device.
lowLevelPortName - String name of the low level asyn driver port to
connect to.
Page view 17
1 2 ... 13 14 15 16 17 18 19 20 21 22

Comments to this Manuals

No comments