MBraun PSD-50M
Interface:
config file
HW_PSD-50M = device_name
edconf:
DEVICES screen
MCA-like DEVICE ADDR <>MODE <>TYPE
0 YES /dev/ttyS0 <> 9600 MBraun PSD-50M
Description:
 |
Description for all Multichannel Data Acquisition devices.
spec offers basic support for the MBraun PSD-50M position senstive
detector system. Remote control is over an RS-232C serial interface.
Although commands can be sent to the device, the only output the
device can send are the data channel contents. No status or parameter
information can be read from the device over the serial line.
The data transfer can be done either three or four bytes at a time.
The reason to use three bytes at a time is to speed up the transfer if
the data channel contents contain less than 24 significant bits.
Function Reference:
mca_get(arr)-
Gets data from the currently selected
MCA-type device, and transfers it to
the data array
arr .
The native data type is
ulong .
mca_get(g, e)-
Gets data from the currently selected
MCA-type device, and transfers it to
element
e
of data group g .
Use of arrays rather than data groups is recommended.
The mca_par() function controls the board's behavior
as follows:
mca_par("clear")-
clears the current data.
mca_par("run")-
starts acquisition.
mca_par("halt")-
stops acquisition.
mca_par("send", cmd_string)-
sends the command
cmd_string to the MCA.
mca_par("byte3")-
reads the data three bytes at a time. This mode is
a bit faster than four-byte mode, but should only be
used if all the data values are less than 24-bits (16,777,216).
mca_par("byte4")-
reads the data four bytes at a time. This mode reads
the complete 32-bit value for each data point.
mca_par("chanN")-
reads the single channel specified by the
number
N .
----
mca_sel("?")-
Lists the configured MCA devices and indicates which
device is currently selected for the
mca_get() ,
mca_put() and mca_par() functions with an
asterisk. Also displays the MCA
device number for use with the mca_sget() ,
mca_sput() and mca_spar() functions and displays
whether the presence test found the unit unresponsive or if the
user has disabled the unit. Returns the total number of
MCA devices recognized in the config file.
|