Experimental Physics and
| |||||||||||||||||
|
Hi everybody,
I have a strange problem with EPICS and CSS boy when I want to use an unsigned 32 bits mask. I have the following PV: record(longout, "$(user):FDLMaskSet") { field(DTYP ,"asynInt32") field(OUT ,"@asyn($(PORT),$(ADDR),$(TIMEOUT))FDL_mask") field(VAL ,0xFFFFFFFF) info(autosaveFields, "VAL") } and then in CSS/BOY I am using a "Text Input" with Hex32 format. This solutions works well with 0xFFFFFF but when I want to add 1bit by writing 0x1FFFFFF I obtain 0x2000000 (Same thing happens for all the values above 0xFFFFFF). Then, If I use directly in the epics consoles with dpbf FDLMaskSet 0x1FFFFFF it works well. I did try with bo, ao and also using the RVAL long value instead, but I get the same problem. Actually I am using 32 boolean buttons with different bit value, but It would be much simpler to change it using hexadecimal value. -- Benoit RAT LAMY
| ||||||||||||||||
ANJ, 16 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |