Experimental Physics and
| |||||||||||||
|
Dear All, i am using Asyn driver and mbboDirect record type for my application record (mbboDirect,"SET-MBBO") { field(DESC, "New Variable") field(DTYP, "asynUInt32Digital") field(OUT, "@asynMask(ni6528_0, 3,7) writembbo") } Where i have used "writembbo" as reason for device support driver. i am not setting any other fields I am not even setting B0 to B15 as want the user can set any
value dynamically means user can set any bit 1 or 0 for any bit.
So first time after IOC restart..... the first value
writes 0 (zero) irrespective of the value I am setting then after it is normal.
So why it is only first time then after it is working
fine.... whatever value I set it write that value only.
then it works fine at first time after IOC restart. So in record process routine static long process(mbboDirectRecord *prec)
in record support module prec->sevr becomes INVALID_ALARM and val field will fill with B0...B15 and first time value become zero as i am not setting any value for B0..B15 Due to this record support module write zero in driver and i am not able to set first time user define value at runtime. How i can come out of
this with regards
| ||||||||||||
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |