Delta Tau PMAC User Manual Page 17

  • Download
  • Add to my manuals
  • Print
  • Page
    / 22
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 16
Delta Tau Power PMAC EPICS Device Support Manual
8 February 2013
17
successful then it starts the Power PMAC gpascii communications
application ready for execution of motor commands.
Function
asynCommonConnect
Parameters
drvPvt - Void pointer to the SSH controller structure.
pasynUser - Pointer to asyn user structure.
Return
asynStatus
Description
Calls connectIt.
Function
asynCommonDisconnect
Parameters
drvPvt - Void pointer to the SSH controller structure.
pasynUser - Pointer to asyn user structure.
Return
asynStatus
Description
Calls closeConnection.
Function
writeIt
Parameters
drvPvt - Void pointer to the SSH controller structure.
pasynUser - Pointer to asyn user structure.
data - ASCII string to write.
numchars - Number of characters to write.
nbytesTransferred - Number of characters (bytes) that have actually
been written.
Return
asynStatus
Description
First checks if a connection exists. If not it calls connectIt. Then a
call to the SSH driver write method is made.
Function
readIt
Parameters
drvPvt - Void pointer to the SSH controller structure.
pasynUser - Pointer to asyn user structure.
data - Buffer ready to accept the response string.
maxchars - The maximum size of data (buffer size) that can be
received.
nbytesTransfered - Number of bytes that have actually been read.
gotEom - Was an end of message character returned?
Return
asynStatus
Description
First checks if a connection exists. If not it calls connectIt. Then a
call to the SSH driver read method is made and the returned bytes
placed into the data buffer.
Function
flushIt
Parameters
drvPvt - Void pointer to the SSH controller structure.
pasynUser - Pointer to asyn user structure.
Return
asynStatus
Description
Calls the flush method on the SSH driver.
Function
sshCleanup
Parameters
ssh - Pointer to the SSH controller structure.
Return
void
Description
Frees all memory allocated to the SSH controller structure.
Page view 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22

Comments to this Manuals

No comments