Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
N354CORE.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Acquisition Isg | ||||||
Description:
| ||||||
Documentation:
| ||||||
Macros:
Usage: n354 [hostname[:port]] Console implementation to communicate to APD TRITON n354_prog Usage: n354_prog hostname[:port] [file] Program a the APD module with the specified binary file | ||||||
Internal Macros: | ||||||
Usage: n354__tocase (string, case) Convert to lower (case==1) or to upper (case==0) case the string passed n354__tolower Usage: n354__tolower (string) Return the lower string of the string passed n354__toupper Usage: n354__toupper (string) Return the upper string of the string passed n354_chkerr Usage: n354_chkerr (ans) Check if the answer given contains an ERROR and if yes request the error message _n354_getdev Usage: _n354_getdev (string, n) Parse the string to get the APD device to talk to. Try to get as nth argument (starting from 1) in the string, if not prompt the user. _n354_getfname Usage: _n354_getfname (string, n) Parse the string to get the APD tocho file. Try to get as nth argument (starting from 1) in the string, if not prompt the user. _n354_getaddr Usage: _n354_getaddr (string, n) Parse the string to get the addr for programming. Try to get as nth argument (starting from 1) in the string, if not prompt the user. _n354_getopts Usage: _n354_getopts (string, n) Parse the string to get the options for programming. Try to get as nth argument (starting from 1) in the string, if not prompt the user. Any remaining argument is also return as option. _n354_getracks Usage: _n354_getracks (string, n) Parse the string to get the rack addresses for programming. Try to get as nth argument (starting from 1) in the string, if not prompt the user. Any remaining argument is also return as option. _n354_wrbin Usage: _n354_wrbin (dev,fname) Send the contain of the file to the APD using the ISG binary transfert protocole. _n354_check Usage: _n354_check (hostname:port) Do not touch, needed by the "raleur" _n354_close Usage: _n354_close (hostname:port) _n354_wr Usage: _n354_wr (dev,addr,cmd) _n354_wrrd Usage: _n354_wrrd (dev,addr,cmd) _n354_query Usage: _n354_query (dev,addr,cmd) | ||||||
|