I have check with local variables works if I set manually the type of data. The think is that I would like to set a PV that I have defined in a DB.
The type of data that I have is
Access: read, write
Native data type: DBF_DOUBLE
Request type: DBR_DOUBLE
If I used caput for setting the PV there is no problem. But it is impossible to set this variable through a script. I get following exception:
Traceback (most recent call last):
File "<script>", line 7, in <module>
at org.csstudio.vtype.pv.jca.JCA_PV.performWrite(JCA_PV.java:547)
at org.csstudio.vtype.pv.jca.JCA_PV.write(JCA_PV.java:412)
at org.csstudio.simplepv.vtypepv.VTypePV.setValue(VTypePV.java:256)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.Exception: java.lang.Exception: Cannot handle type java.math.BigInteger
Is there another possibility for doing that in CSS?
Thank you Kay!
Pilar