Privacy and Security Notice

How to Tell if an IOC has CAMAC Hardware


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Tell if an IOC has CAMAC Hardware



Yesterday in the POD meeting we discussed the issue of being able to
tell if an ioc had CAMAC hardware hooked to it. The question came up
because, for some failure modes, the error returned is No CAMAC hardware
present (or something like that). This is what camac_io_report returns
in the case that there really is no CAMAC hardware on the ioc and also
in the case that there is a catastrophic failure of the serial highway.
We encounter this confusion because we need to load the CAMAC driver on
all iocs whether they use CAMAC or not to keep the system database
happy.

Anyway, we already have a flag on the ioc which tells us if the CAMAC
device support has been loaded. If the device support has been loaded,
then there will be CAMAC hardware on that ioc. We don't load the device
support on iocs that don't really have CAMAC hardware. So, log onto the
ioc in question and type camacDevSup_loaded. If this returns a value of
1, then there really is CAMAC hardware on that ioc. If this returns an
undefined for this variable, then there is no CAMAC hardware on that
ioc.

-- 
==============================================================================
Sally Schaffner, Computer Scientist, TJNAF
e-mail: sally@jlab.org
==============================================================================