Skip to content

Error reading some values (and repeated, periodic warnings) #9

@brunoseivam

Description

@brunoseivam

While trying to run this IOC outside of the iseg, I encountered a bunch of error messages. Some PVs update fine:

epics> dbgf ISEG:5230102:BitRate
DBR_LONG:           1000000   0xf4240

But not others, as seen in the log below. Maybe I am doing something wrong?

Also, the message "QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread" keeps getting printed periodically. I wonder if this is a problem with libisegHAL.

$ LD_LIBRARY_PATH=/home/martins/workspace/diag-iseg/iseg-bin ./st.cmd 
#!../../bin/linux-x86_64/isegIoc
< envPaths
epicsEnvSet("IOC","ioc-iseg")
epicsEnvSet("TOP","/home/martins/workspace/devIsegHal")
epicsEnvSet("EPICS_BASE","/usr/lib/epics")
epicsEnvSet("ISEGHAL","/home/martins/workspace/diag-iseg/iseg-bin")
dbLoadDatabase("/home/martins/workspace/devIsegHal/dbd/isegIoc.dbd",0,0)
isegIoc_registerRecordDeviceDriver(pdbbase)
isegHalConnect "can0" "hal://192.168.1.101:1454/can0,user,pass"
using HAL version [1.1.2.8]
dbLoadRecords("/home/martins/workspace/devIsegHal/db/iseg_epics.db", "CONTROLLER_SN=5230102,port=can0,CAN_LINE=0,DEVICE_ID=1000,MODULE_ID=0,CHANNEL_ID=0")
iocInit()
Starting iocInit
############################################################################
## EPICS R3.15.7-3+0~20191126215846.15+debian10~1.gbp050662
## EPICS Base built Nov 26 2019
############################################################################
ISEG:5230102:ModuleNumber: Error while reading value 'ModuleNumber' from interface 'can0': '0' (Q: )
ISEG:5230102:ModuleNumber: Error parsing timestamp for 'ModuleNumber': 
ISEG:5230102:CycleCounter: Error while reading value 'CycleCounter' from interface 'can0': '0' (Q: )
ISEG:5230102:CycleCounter: Error parsing timestamp for 'CycleCounter': 
ISEG:5230102:0:0:SerialNumber: Error while reading item property '0.0.SerialNumber' (Q: )
ISEG:5230102:0:0:ChannelNumber: Error while reading item property '0.0.ChannelNumber' (Q: )
ISEG:5230102:0:0:SampleRate: Error while reading item property '0.0.SampleRate' (Q: )
ISEG:5230102:0:0:DigitalFilter: Error while reading item property '0.0.DigitalFilter' (Q: )
ISEG:5230102:0:0:EventMask: Error while reading item property '0.0.EventMask' (Q: )
ISEG:5230102:0:0:0:EventMask: Error while reading item property '0.0.0.EventMask' (Q: )
ISEG:5230102:0:0:0:DelayedTripAction: Error while reading item property '0.0.0.DelayedTripAction' (Q: )
ISEG:5230102:0:0:0:ExternalInhibitAction: Error while reading item property '0.0.0.ExternalInhibitAction' (Q: )
ISEG:5230102:0:0:VoltageRampSpeed: Error while reading item property '0.0.VoltageRampSpeed' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:VoltageRampSpeed ao: init_record

ISEG:5230102:0:0:CurrentRampSpeed: Error while reading item property '0.0.CurrentRampSpeed' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:CurrentRampSpeed ao: init_record

ISEG:5230102:0:0:0:VoltageSet: Error while reading item property '0.0.0.VoltageSet' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:0:VoltageSet ao: init_record

ISEG:5230102:0:0:0:CurrentSet: Error while reading item property '0.0.0.CurrentSet' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:0:CurrentSet ao: init_record

ISEG:5230102:0:0:0:VoltageBounds: Error while reading item property '0.0.0.VoltageBounds' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:0:VoltageBounds ao: init_record

ISEG:5230102:0:0:0:CurrentBounds: Error while reading item property '0.0.0.CurrentBounds' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:0:CurrentBounds ao: init_record

ISEG:5230102:0:0:0:VctCoefficient: Error while reading item property '0.0.0.VctCoefficient' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:0:VctCoefficient ao: init_record

ISEG:5230102:0:0:0:DelayedTripTime: Error while reading item property '0.0.0.DelayedTripTime' (Q: )
Bad init_rec return value  PV: ISEG:5230102:0:0:0:DelayedTripTime ao: init_record

ISEG:5230102:0:0:VoltageLimit: Error while reading item property '0.0.VoltageLimit' (Q: )
ISEG:5230102:0:0:CurrentLimit: Error while reading item property '0.0.CurrentLimit' (Q: )
ISEG:5230102:0:0:Temperature: Error while reading item property '0.0.Temperature' (Q: )
ISEG:5230102:0:0:0:VoltageMeasure: Error while reading item property '0.0.0.VoltageMeasure' (Q: )
ISEG:5230102:0:0:0:CurrentMeasure: Error while reading item property '0.0.0.CurrentMeasure' (Q: )
ISEG:5230102:0:0:0:VoltageNominal: Error while reading item property '0.0.0.VoltageNominal' (Q: )
ISEG:5230102:0:0:0:CurrentNominal: Error while reading item property '0.0.0.CurrentNominal' (Q: )
ISEG:5230102:0:0:0:TemperatureExternal: Error while reading item property '0.0.0.TemperatureExternal' (Q: )
ISEG:5230102:0:0:Status: Error while reading item property '0.0.Status' (Q: )
ISEG:5230102:0:0:StatusLow: Error while reading item property '0.0.Status' (Q: )
ISEG:5230102:0:0:StatusHigh: Error while reading item property '0.0.Status' (Q: )
ISEG:5230102:0:0:EventStatus: Error while reading item property '0.0.EventStatus' (Q: )
ISEG:5230102:0:0:0:Status: Error while reading item property '0.0.0.Status' (Q: )
ISEG:5230102:0:0:0:EventStatus: Error while reading item property '0.0.0.EventStatus' (Q: )
ISEG:5230102:0:0:Control:doClear: Error while reading item property '0.0.Control:6' (Q: )
ISEG:5230102:0:0:Control:setFineAdjustment: Error while reading item property '0.0.Control:12' (Q: )
ISEG:5230102:0:0:Control:setKillEnable: Error while reading item property '0.0.Control:14' (Q: )
ISEG:5230102:0:0:Control:disableVoltageRampSpeedLimit: Error while reading item property '0.0.Control:16' (Q: )
ISEG:5230102:0:0:0:Control:setOn: Error while reading item property '0.0.0.Control:3' (Q: )
ISEG:5230102:0:0:0:Control:setEmergency: Error while reading item property '0.0.0.Control:5' (Q: )
ISEG:5230102:0:0:FirmwareRelease: Error while reading item property '0.0.FirmwareRelease' (Q: )
ISEG:5230102:0:0:FirmwareName: Error while reading item property '0.0.FirmwareName' (Q: )
ISEG:5230102:0:0:Article: Error while reading item property '0.0.Article' (Q: )
iocRun: All initialization complete
epics> QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions