6 #include <longoutRecord.h>    14 #include <epicsExport.h>    22 init_bo_trigSrc(boRecord* pbo) {
    25     if(pbo->out.type != VME_IO) {
    26         errlogPrintf(
"ERROR: Hardware link not VME_IO : %s\n", pbo->name);
    27         return(S_db_badField);
    31         std::string parm(pbo->out.value.vmeio.parm);
    34     } 
catch(std::runtime_error& e) {
    35         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
    37     } 
catch(std::exception& e) {
    38         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
    47 write_bo_trigSrc_mxc(boRecord* pbo) {
    53             throw std::runtime_error(
"Device pvt field not initialized");
    55         mxc->
setTrigEvtMap(pbo->out.value.vmeio.signal, pbo->val != 0);
    56     } 
catch(std::runtime_error& e) {
    57         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
    59     } 
catch(std::exception& e) {
    60         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
    69 write_bo_trigSrc_ac(boRecord* pbo) {
    75             throw std::runtime_error(
"Device pvt field not initialized");
    77         acTrig->
setTrigEvtMap(pbo->out.value.vmeio.signal, pbo->val != 0);
    78     } 
catch(std::runtime_error& e) {
    79         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
    81     } 
catch(std::exception& e) {
    82         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
    91 write_bo_trigSrc_inp(boRecord* pbo) {
    97             throw std::runtime_error(
"Device pvt field not initialized");
    99         inp->
setTrigEvtMap(pbo->out.value.vmeio.signal, pbo->val != 0);
   100     } 
catch(std::runtime_error& e) {
   101         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
   102         ret = S_dev_noDevice;
   103     } 
catch(std::exception& e) {
   104         errlogPrintf(
"ERROR: %s : %s\n", e.what(), pbo->name);
   118     (DEVSUPFUN)init_bo_trigSrc,
   120     (DEVSUPFUN)write_bo_trigSrc_mxc,
   129     (DEVSUPFUN)init_bo_trigSrc,
   131     (DEVSUPFUN)write_bo_trigSrc_ac,
   140     (DEVSUPFUN)init_bo_trigSrc,
   142     (DEVSUPFUN)write_bo_trigSrc_inp,
 common_dset devBoEvgTrigEvtAc
 
common_dset devBoEvgTrigEvtMxc
 
void setTrigEvtMap(epicsUInt16, bool)
 
static Object * getObject(const std::string &name)
 
common_dset devBoEvgTrigEvtInp
 
epicsExportAddress(dset, devBoEvgTrigEvtMxc)
 
void setTrigEvtMap(epicsUInt16, bool)